daeIDResolverType Class Reference

#include <daeAtomicType.h>

Inheritance diagram for daeIDResolverType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual daeInt compare (daeChar *value1, daeChar *value2)
virtual void copy (daeChar *src, daeChar *dst)
virtual daeMemoryRef create ()
virtual daeArraycreateArray ()
 daeIDResolverType (DAE &dae)
virtual void destroy (daeMemoryRef obj)
virtual daeBool memoryToString (daeChar *src, std::ostringstream &dst)
virtual daeBool stringToMemory (daeChar *src, daeChar *dst)

Detailed Description

The daeIDResolverType class is derived from daeAtomicType, and implements the reflective system for objects of type daeIDResolver.

Definition at line 698 of file daeAtomicType.h.


Constructor & Destructor Documentation

daeIDResolverType::daeIDResolverType ( DAE dae  ) 

Constructor.


Member Function Documentation

virtual daeInt daeIDResolverType::compare ( daeChar value1,
daeChar value2 
) [virtual]

Performs a virtual comparison operation between two values of the same atomic type.

Parameters:
value1 Memory location of the first value.
value2 Memory location of the second value.
Returns:
Returns a positive integer if value1 > value2, a negative integer if value1 < value2, and 0 if value1 == value2.

Reimplemented from daeAtomicType.

virtual void daeIDResolverType::copy ( daeChar src,
daeChar dst 
) [virtual]

Performs a virtual copy operation.

Parameters:
src Memory location of the value to copy from.
dst Memory location of the value to copy to.

Implements daeAtomicType.

virtual daeMemoryRef daeIDResolverType::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.

Returns:
Returns a pointer to a new value. The memory must be freed by calling destroy.

Implements daeAtomicType.

virtual daeArray* daeIDResolverType::createArray (  )  [virtual]

Creates a daeTArray of the appropriate type (e.g. daeTArray<int>, daeTArray<daeIDRef>) and returns it as a daeArray*.

Returns:
Returns a daeArray*. This array should be freed by the caller with operator delete.

Implements daeAtomicType.

virtual void daeIDResolverType::destroy ( daeMemoryRef  obj  )  [virtual]

Deletes an object previously allocated with create.

Parameters:
obj The object previously allocated with create.

Implements daeAtomicType.

virtual daeBool daeIDResolverType::memoryToString ( daeChar src,
std::ostringstream &  dst 
) [virtual]

Prints an atomic typed element into a destination string.

Parameters:
src Source of the raw data from which to get the typed items.
dst Destination to output the string version of the elements to.
Returns:
Returns true if the operation was successful, false if not successful.

Implements daeAtomicType.

virtual daeBool daeIDResolverType::stringToMemory ( daeChar src,
daeChar dst 
) [virtual]

Reads an atomic typed item into the destination runtime memory.

Parameters:
src Source string.
dst Raw binary location to store the resulting value.
Returns:
Returns true if the operation was successful, false if not successful.

Reimplemented from daeAtomicType.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:29:13 2013