Files Classes Functions Hierarchy
#include <treeindexedD2.h>
Public Member Functions | |
| operator stringc () const | |
| Serialize this object by writing it out as a string. | |
| istream & | serializeInverse (istream &istr) |
| Inverse of string serialization. | |
Public Attributes | |
| point4< INDX > | nd |
| index, left and right and parent indexes. | |
| bool | branch |
| Left is false, right is true. | |
Definition at line 183 of file treeindexedD2.h.
| treeindexedD2noderep< INDX >::operator stringc | ( | ) | const [inline] |
Serialize this object by writing it out as a string.
Definition at line 742 of file treeindexedD2.h.
References treeindexedD2noderep< INDX >::nd.
00743 { 00744 string s((stringc)nd); 00745 if (branch==false) 00746 s += " 0"; 00747 else 00748 s += " 1"; 00749 00750 return s; 00751 }
| istream & treeindexedD2noderep< INDX >::serializeInverse | ( | istream & | istr | ) | [inline] |
Inverse of string serialization.
Definition at line 754 of file treeindexedD2.h.
References treeindexedD2noderep< INDX >::nd.
Referenced by operator>>().
| bool treeindexedD2noderep< INDX >::branch |
Left is false, right is true.
Definition at line 190 of file treeindexedD2.h.
Referenced by treeindexedD2< INDX >::insert().
| point4<INDX> treeindexedD2noderep< INDX >::nd |
index, left and right and parent indexes.
Definition at line 188 of file treeindexedD2.h.
Referenced by treeindexedD2< INDX >::addroot(), treeindexedD2< INDX >::insert(), treeindexedD2noderep< INDX >::operator stringc(), and treeindexedD2noderep< INDX >::serializeInverse().
1.5.8