HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type > Class Template Reference

Template specialization of a NodeUnion that stores the child pointer and the value together (int, float, pointer, etc.) 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)
 

Detailed Description

template<typename ValueT, typename ChildT>
class openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >

Template specialization of a NodeUnion that stores the child pointer and the value together (int, float, pointer, etc.)

Definition at line 60 of file NodeUnion.h.

Constructor & Destructor Documentation

template<typename ValueT , typename ChildT >
openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::NodeUnion ( )
inline

Definition at line 67 of file NodeUnion.h.

Member Function Documentation

template<typename ValueT , typename ChildT >
ChildT* openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::getChild ( ) const
inline

Definition at line 69 of file NodeUnion.h.

template<typename ValueT , typename ChildT >
const ValueT& openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::getValue ( ) const
inline

Definition at line 72 of file NodeUnion.h.

template<typename ValueT , typename ChildT >
ValueT& openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::getValue ( )
inline

Definition at line 73 of file NodeUnion.h.

template<typename ValueT , typename ChildT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::setChild ( ChildT *  child)
inline

Definition at line 70 of file NodeUnion.h.

template<typename ValueT , typename ChildT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::setValue ( const ValueT &  val)
inline

Definition at line 74 of file NodeUnion.h.

Member Data Documentation

template<typename ValueT , typename ChildT >
ChildT* openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::mChild

Definition at line 64 of file NodeUnion.h.

template<typename ValueT , typename ChildT >
ValueT openvdb::OPENVDB_VERSION_NAME::tree::NodeUnion< ValueT, ChildT, typename std::enable_if< std::is_trivially_copyable< ValueT >::value >::type >::mValue

Definition at line 64 of file NodeUnion.h.


The documentation for this class was generated from the following file: