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 alib::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 an alib::uinteger.Definition at line 627 of file stringtree.hpp.
#include <stringtree.hpp>
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 629 of file stringtree.hpp.
|
inlinenoexcept |
Checks if this is a valid handle.
true if this handle is not nulled. Definition at line 639 of file stringtree.hpp.
|
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 635 of file stringtree.hpp.