#include <daeAtomicType.h>
Public Member Functions | |
virtual void | copy (daeChar *src, daeChar *dst) |
virtual daeMemoryRef | create () |
virtual daeArray * | createArray () |
daeElementRefType (DAE &dae) | |
virtual void | destroy (daeMemoryRef obj) |
virtual daeBool | memoryToString (daeChar *src, std::ostringstream &dst) |
Public Attributes | |
daeMetaElement * | _elementType |
The daeElementRefType
class is derived from daeAtomicType
, and implements the reflective system for objects of type daeElementRef
.
Definition at line 573 of file daeAtomicType.h.
daeElementRefType::daeElementRefType | ( | DAE & | dae | ) |
Constructor
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 daeElementRefType::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* daeElementRefType::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 daeElementRefType::destroy | ( | daeMemoryRef | obj | ) | [virtual] |
Deletes an object previously allocated with create.
obj | The object previously allocated with create. |
Implements daeAtomicType.
virtual daeBool daeElementRefType::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.
The daeMetaElement
for the type this daeElementRefType
represents.
Definition at line 579 of file daeAtomicType.h.