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