OpenVDB  8.1.1
Public Member Functions | List of all members
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::v8_1::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.)

Constructor & Destructor Documentation

NodeUnion ( )
inline

Member Function Documentation

ChildT* getChild ( ) const
inline
const ValueT& getValue ( ) const
inline
ValueT& getValue ( )
inline
void setChild ( ChildT *  child)
inline
void setValue ( const ValueT &  val)
inline

Member Data Documentation

ChildT* mChild
ValueT mValue

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