HDK
|
Default implementation of a NodeUnion that stores the child pointer and the value separately (i.e., not in a union). Types which select this specialization usually do not conform to the requirements of a union member, that is that the type ValueT is not trivially copyable. This implementation is thus NOT used for POD, math::Vec, math::Mat, math::Quat or math::Coord types, but is used (for example) with std::string. More...
#include <NodeUnion.h>
Public Member Functions | |
NodeUnion () | |
ChildT * | getChild () const |
void | setChild (ChildT *child) |
const ValueT & | getValue () const |
ValueT & | getValue () |
void | setValue (const ValueT &val) |
Default implementation of a NodeUnion that stores the child pointer and the value separately (i.e., not in a union). Types which select this specialization usually do not conform to the requirements of a union member, that is that the type ValueT is not trivially copyable. This implementation is thus NOT used for POD, math::Vec, math::Mat, math::Quat or math::Coord types, but is used (for example) with std::string.
Definition at line 31 of file NodeUnion.h.
|
inline |
Definition at line 38 of file NodeUnion.h.
|
inline |
Definition at line 40 of file NodeUnion.h.
|
inline |
Definition at line 43 of file NodeUnion.h.
|
inline |
Definition at line 44 of file NodeUnion.h.
|
inline |
Definition at line 41 of file NodeUnion.h.
|
inline |
Definition at line 45 of file NodeUnion.h.