A global ID of a node. More...
#include <RFC_Window_base.h>
Public Member Functions | |
Node_ID () | |
A dummy constructor. More... | |
Node_ID (int p, int v) | |
Constructor from two integers. More... | |
bool | operator== (const Node_ID &v) const |
Equal operator. More... | |
bool | operator< (const Node_ID &v) const |
Less-than operator. More... | |
Public Attributes | |
int | pane_id |
the id of the owner pane. More... | |
int | node_id |
the local id within the pane starting from 1. More... | |
A global ID of a node.
Each node is identified by a pair of integers: the pane id of its owner, and its local id within the pane.
Definition at line 54 of file RFC_Window_base.h.
|
inline |
|
inline |
Constructor from two integers.
p | the id of the owner pane. |
v | the local id within the pane. |
Definition at line 62 of file RFC_Window_base.h.
|
inline |
Less-than operator.
Definition at line 70 of file RFC_Window_base.h.
References node_id, and pane_id.
|
inline |
Equal operator.
Definition at line 67 of file RFC_Window_base.h.
References node_id, and pane_id.
int node_id |
the local id within the pane starting from 1.
Definition at line 64 of file RFC_Window_base.h.
Referenced by RFC_Window_derived< _Pane >::get_primary(), Overlay::get_subnode_id(), Transfer_base::interpolate_fe(), operator<(), operator==(), and Overlay::set_subnode_id().
int pane_id |
the id of the owner pane.
Definition at line 63 of file RFC_Window_base.h.
Referenced by Overlay::get_subnode_id(), Transfer_base::interpolate_fe(), operator<(), operator==(), and Overlay::set_subnode_id().