COLLADA 1.4 DOM: daeEnumType Class Reference

COLLADA

daeEnumType Class Reference

#include <daeAtomicType.h>

Inheritance diagram for daeEnumType:

Inheritance graph
[legend]
Collaboration diagram for daeEnumType:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Public Member Functions

 daeEnumType ()
 Constructor.
 ~daeEnumType ()
 Destructor.
virtual daeBool memoryToString (daeChar *src, daeChar *dst, daeInt dstSize)
 Overrides the base class memory to string conversion function.
virtual daeBool stringToMemory (daeChar *src, daeChar *dst)
 Overrides the base class stringToMemoryFunction().

Public Attributes

daeEnumArray_values
 The array which contains the values used in this enum.
daeStringRefArray_strings
 The array which contains the strings to associate with the values used in this enum.

Member Function Documentation

daeBool daeEnumType::memoryToString daeChar *  src,
daeChar *  dst,
daeInt  dstSize
[virtual]
 

Overrides the base class memory to string conversion function.

Parameters:
src Raw data from which to get the typed items.
dst Destination to output the string version of the elements to.
dstSize Number of bytes available in the destination memory.
Returns:
Returns true if the operation was successful, false if the operation would cause the destination buffer to overflow.

Reimplemented from daeAtomicType.

daeBool daeEnumType::stringToMemory daeChar *  src,
daeChar *  dst
[virtual]
 

Overrides the base class stringToMemoryFunction().

Reads an atomic typed item into the destination runtime memory.

Parameters:
src Source string.
dst Raw binary 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 files:
  • C:/SVN_wf/COLLADA_DOM/include/dae/daeAtomicType.h
  • C:/SVN_wf/COLLADA_DOM/src/dae/daeAtomicType.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:46:59 2006 for COLLADA 1.4 DOM by doxygen 1.4.3