Changeset 1586 for trunk/src/objects
- Timestamp:
- Oct 23, 2009, 7:56:25 AM (15 years ago)
- Location:
- trunk/src/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/objects/RpObject.cc
r1581 r1586 318 318 319 319 void 320 Object::random() 321 { 322 // bland objects cannot make random values 323 return; 324 } 325 326 Rp_Chain * 327 Object::diff(const Object &o) 328 { 329 return NULL; 330 } 331 332 void 320 333 Object::__init() 321 334 { -
trunk/src/objects/RpObject.h
r1581 r1586 63 63 64 64 // get/set void* property 65 const void *property 66 void property 65 const void *property(const char *key) const; 66 void property(const char *key, const void *val, size_t nbytes); 67 67 68 68 // get/set const char * property 69 const char *propstr 70 void propstr 69 const char *propstr(const char *key) const; 70 void propstr(const char *key, const char *val); 71 71 72 72 // remove property from hash table … … 74 74 75 75 // return the value of object based on provided hints 76 virtual void vvalue (void *storage, size_t numHints, va_list arg) const; 76 virtual void vvalue(void *storage, size_t numHints, va_list arg) const; 77 // populate the object with a random value 78 virtual void random(); 79 // return the difference between this object and o 80 virtual Rp_Chain *diff(const Object& o); 77 81 78 82 // get the Rappture1.1 xml text for this object
Note: See TracChangeset
for help on using the changeset viewer.