Public Member Functions | |
AdjustPointer (const char *name, int offset) | |
AdjustPointer (const AdjustPointer &o) | |
virtual void * | Bind (Binder *, void *object) const override |
Expose the property's name and value to a binder. More... | |
virtual void * | BindValue (Binder *, void *object) const override |
Expose only the value of the property to a binder. More... | |
virtual void * | Read (Binder *, void *object) const override |
Read the value from a binder. More... | |
virtual void * | ReadValue (Binder *, void *object) const override |
Read only the value of the property from a binder. More... | |
virtual AdjustPointer * | Clone () const override |
Clone the property. More... | |
virtual bool | ToBoolean (void *object, bool *boolean) const override |
Convert the property value to a boolean. More... | |
virtual bool | ToNumber (void *object, float *number) const override |
Convert the property value to a number. More... | |
virtual bool | ToString (void *object, char *buffer, size_t *length) const override |
Convert the property value to a string value. More... | |
virtual bool | ToColor (void *object, renoir::Color *color) const override |
Convert the property value to a color value. More... | |
virtual bool | ToTransformMatrix2D (void *object, float matrix[6]) const override |
Convert the property value to a matrix. More... | |
virtual bool | ToArray (Binder *binder, void *object, ArrayInfo *arrayInfo) const override |
Convert the property value to a array type information. More... | |
virtual bool | ToPair (Binder *binder, void *object, PairInfo *pairInfo) const override |
Convert the property value to a pair type information. More... | |
virtual bool | ToMap (Binder *binder, void *object, MapInfo *mapInfo) const override |
Convert the property value to a map type information. More... | |
virtual bool | ToObject (Binder *binder, void *object, ObjectInfo *typeInfo) const override |
Convert the property value to a object type information. More... | |
![]() | |
Property (const char *name, bool isByRef=true) | |
Create a new property. More... | |
virtual | ~Property () |
const char * | GetName () const |
Get the name of the property. More... | |
bool | IsByRef () const |
Can this property be exported By-Ref. Temporaries can not be exported by reference. More... | |
Additional Inherited Members | |
![]() | |
static void *COHERENT_CDECL | operator new (size_t bytes) |
static void COHERENT_CDECL | operator delete (void *memory) |
static void *COHERENT_CDECL | operator new[] (size_t bytes) |
static void COHERENT_CDECL | operator delete[] (void *memory) |
![]() | |
const char * | m_Name |
bool | m_IsByRef |
|
inline |
|
inline |
|
inlineoverridevirtual |
Expose the property's name and value to a binder.
binder | - the binder to use |
object | - object to get the property value from |
Implements cohtml::Property.
|
inlineoverridevirtual |
Expose only the value of the property to a binder.
binder | - the binder to use |
object | - object to get the property value from |
Implements cohtml::Property.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Read the value from a binder.
binder | - the binder to use |
object | - the object to set the property into |
Implements cohtml::Property.
|
inlineoverridevirtual |
Read only the value of the property from a binder.
binder | - the binder to use |
object | - the object to set the property into |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a array type information.
binder | - the binder to use |
object | - object to get the property value from |
arrayInfo | - information about array type - callbacks, properties, methods |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a boolean.
object | - object to get the property value from |
boolean | - where to store the property value |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a color value.
object | - object to get the property value from |
color | - where to store the property value |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a map type information.
binder | - the binder to use |
object | - object to get the property value from |
mapInfo | - information about map type - callbacks, properties, methods |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a number.
object | - object to get the property value from |
number | - where to store the property value |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a object type information.
binder | - the binder to use |
object | - object to get the property value from |
typeInfo | - information about object type - properties and methods if it's user defined type |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a pair type information.
binder | - the binder to use |
object | - object to get the property value from |
pairInfo | - information about pair type - callbacks, properties, methods |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a string value.
object | - object to get the property value from |
buffer | - char buffer for the value |
length | - where to store the length of the converted value |
Implements cohtml::Property.
|
inlineoverridevirtual |
Convert the property value to a matrix.
object | - object to get the property value from |
matrix | - where to store the property value |
Implements cohtml::Property.