#include <daeAtomicType.h>
Public Member Functions | |
virtual daeInt | compare (daeChar *value1, daeChar *value2) |
virtual void | copy (daeChar *src, daeChar *dst) |
virtual daeMemoryRef | create () |
virtual daeArray * | createArray () |
daeResolverType (DAE &dae) | |
virtual void | destroy (daeMemoryRef obj) |
virtual daeBool | memoryToString (daeChar *src, std::ostringstream &dst) |
virtual void | setDocument (daeArray &array, daeDocument *doc) |
virtual void | setDocument (daeChar *value, daeDocument *doc) |
virtual daeBool | stringToMemory (daeChar *src, daeChar *dst) |
The daeResolverType
class is derived from daeAtomicType
, and implements the reflective system for objects of type daeResolver
.
Definition at line 667 of file daeAtomicType.h.
daeResolverType::daeResolverType | ( | DAE & | dae | ) |
Constructor.
Performs a virtual comparison operation between two values of the same atomic type.
value1 | Memory location of the first value. | |
value2 | Memory location of the second value. |
Reimplemented from daeAtomicType.
Performs a virtual copy operation.
src | Memory location of the value to copy from. | |
dst | Memory location of the value to copy to. |
Implements daeAtomicType.
virtual daeMemoryRef daeResolverType::create | ( | ) | [virtual] |
Creates a new object of the appropriate type for this daeAtomicType and returns it as a pointer. The return value must be freed by calling destroy.
Implements daeAtomicType.
virtual daeArray* daeResolverType::createArray | ( | ) | [virtual] |
Creates a daeTArray of the appropriate type (e.g. daeTArray<int>, daeTArray<daeIDRef>) and returns it as a daeArray*.
Implements daeAtomicType.
virtual void daeResolverType::destroy | ( | daeMemoryRef | obj | ) | [virtual] |
Deletes an object previously allocated with create.
obj | The object previously allocated with create. |
Implements daeAtomicType.
virtual daeBool daeResolverType::memoryToString | ( | daeChar * | src, | |
std::ostringstream & | dst | |||
) | [virtual] |
Prints an atomic typed element into a destination string.
src | Source of the raw data from which to get the typed items. | |
dst | Destination to output the string version of the elements to. |
Implements daeAtomicType.
virtual void daeResolverType::setDocument | ( | daeArray & | array, | |
daeDocument * | doc | |||
) | [virtual] |
Same as the previous method, but works on an array of objects.
values | Array of the atomic type values. | |
doc | The new document. |
Reimplemented from daeAtomicType.
virtual void daeResolverType::setDocument | ( | daeChar * | value, | |
daeDocument * | doc | |||
) | [virtual] |
Notifies an object when the containing document changes.
value | Memory location of the atomic type value. | |
doc | The new document. |
Reimplemented from daeAtomicType.
Reads an atomic typed item into the destination runtime memory.
src | Source string. | |
dst | Raw binary location to store the resulting value. |
Reimplemented from daeAtomicType.