mdds
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mdds::__st::node< T > Struct Template Reference
Inheritance diagram for mdds::__st::node< T >:
mdds::__st::node_base

Public Types

typedef ::boost::intrusive_ptr< nodenode_ptr
 
typedef T::leaf_value_type leaf_value_type
 
typedef T::init_handler init_handler
 
typedef T::dispose_handler dispose_handler
 

Public Member Functions

 node (const node &r)
 
nodeoperator= (const node &r)
 
void dispose ()
 
bool equals (const node &r) const
 
- Public Member Functions inherited from mdds::__st::node_base
 node_base (bool _is_leaf)
 
 node_base (const node_base &r)
 

Static Public Member Functions

static size_t get_instance_count ()
 

Public Attributes

leaf_value_type value_leaf
 
node_ptr prev
 
node_ptr next
 previous sibling leaf node.
 
size_t refcount
 next sibling leaf node.
 
- Public Attributes inherited from mdds::__st::node_base
node_baseparent
 
bool is_leaf
 parent nonleaf_node
 

Constructor & Destructor Documentation

◆ node()

template<typename T>
mdds::__st::node< T >::node ( const node< T > &  r)
inline

When copying node, only the stored values should be copied. Connections to the parent, left and right nodes must not be copied.

Member Function Documentation

◆ operator=()

template<typename T>
node& mdds::__st::node< T >::operator= ( const node< T > &  r)
inline

Like the copy constructor, only the stored values should be copied.