Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
SysMap< Key, Value >::Node Struct Reference

The metadata for a tree node. More...

Public Member Functions

 RB_ENTRY (Node) entry
 Pointer structure for the tree.
 
 Node ()=default
 Default constructor.
 

Public Attributes

union { 
 
   Pair   p 
 pair of element More...
 
   struct { 
 
      Key   key 
 key by which to sort the node More...
 
      Value   value 
 value of the node More...
 
   }  
 
};  
 

Detailed Description

template<typename Key, typename Value>
struct SysMap< Key, Value >::Node

The metadata for a tree node.

Definition at line 91 of file SysMap.hxx.

Constructor & Destructor Documentation

◆ Node()

template<typename Key , typename Value >
SysMap< Key, Value >::Node::Node ( )
default

Default constructor.

Does not initialize key or value.

Member Data Documentation

◆ key

template<typename Key , typename Value >
Key SysMap< Key, Value >::Node::key

key by which to sort the node

Definition at line 101 of file SysMap.hxx.

◆ p

template<typename Key , typename Value >
Pair SysMap< Key, Value >::Node::p

pair of element

Definition at line 98 of file SysMap.hxx.

◆ value

template<typename Key , typename Value >
Value SysMap< Key, Value >::Node::value

value of the node

Definition at line 102 of file SysMap.hxx.


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