A handle type used with methods Export and ImportCursor.
StringTree-cursors are nothing but pointers to the node in the tree. The field value is of type uinteger and hence the size of a pointer. This class has a very relaxed implementation, which is expressed, for example, in the fact that this field is named in lower-case, while still being publicly accessible. The rationale for this exclamation from the naming-rules is that the reservation of a cursor handle should be possible for external code without including any specific header files, by simply reserving a uinteger.Definition at line 630 of file stringtree.inl.
Public Field Index: | |
| uinteger | value |
| The encapsulated value. | |
Public Method Index: | |
| bool | IsValid () const noexcept |
| bool | operator== (const CursorHandle &other) const noexcept |
| uinteger alib::containers::StringTree< TAllocator, T, TNodeHandler, TRecycling >::CursorHandle::value |
The encapsulated value.
Definition at line 633 of file stringtree.inl.
|
inlinenoexcept |
Checks if this is a valid handle.
true if this handle is not nulled. Definition at line 643 of file stringtree.inl.
|
inlinenoexcept |
Comparison operator.
| other | The cursor handle to compare this handle to. |
true if both handles refer to the same cursor or if both handles are invalid. false otherwise. Definition at line 639 of file stringtree.inl.