#include <daeAtomicType.h>
Public Member Functions | |
virtual void | copy (daeChar *src, daeChar *dst) |
virtual daeMemoryRef | create () |
virtual daeArray * | createArray () |
daeTokenType (DAE &dae) | |
virtual void | destroy (daeMemoryRef obj) |
virtual daeBool | stringToMemory (daeChar *src, daeChar *dst) |
The daeTokenType
class is derived from daeStringRefType
, and implements the reflective system for objects of type daeStringRef, with specialized treatment from the parser.
Definition at line 549 of file daeAtomicType.h.
daeTokenType::daeTokenType | ( | 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. |
Reimplemented from daeStringRefType.
virtual daeMemoryRef daeTokenType::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.
Reimplemented from daeStringRefType.
virtual daeArray* daeTokenType::createArray | ( | ) | [virtual] |
Creates a daeTArray of the appropriate type (e.g. daeTArray<int>, daeTArray<daeIDRef>) and returns it as a daeArray*.
Reimplemented from daeStringRefType.
virtual void daeTokenType::destroy | ( | daeMemoryRef | obj | ) | [virtual] |
Deletes an object previously allocated with create.
obj | The object previously allocated with create. |
Reimplemented from daeStringRefType.
Reads an atomic typed item into the destination runtime memory.
src | Source string. | |
dst | Raw binary location to store the resulting value. |
Reimplemented from daeStringRefType.