The cursor type of the StringTree.
Definition at line 105 of file index.hpp.
#include <index.hpp>
◆ Node() [1/2]
| dxl::Index::Node::Node |
( |
Cursor && | other | ) |
|
|
inline |
Move constructor from underlying cursor type.
- Parameters
-
Definition at line 112 of file index.hpp.
◆ Node() [2/2]
| dxl::Index::Node::Node |
( |
Cursor & | other | ) |
|
|
inline |
Copy constructor from underlying cursor type.
- Parameters
-
Definition at line 116 of file index.hpp.
◆ AsCursor()
| Cursor & dxl::Index::Node::AsCursor |
( |
| ) |
|
|
inline |
◆ Cast()
template<typename TGT, typename TCheck = alib::CHK>
| const TGT * dxl::Index::Node::Cast |
( |
| ) |
const |
|
inline |
Shortcut to Cast(const Target*) passing this's value.
- Template Parameters
-
| TGT | The requested target type. |
| TCheck | If NC is given, no check whether the right kind is contained in this node is performed. Defaults to CHK. |
- Returns
- The cast type or
nullptr if the node's target is not of the requested type.
Definition at line 212 of file index.hpp.
◆ HTMLFile()
The HTML file that this node links to (or into).
- Returns
- The HTML file name.
Definition at line 187 of file index.hpp.
◆ Index()
| Index & dxl::Index::Node::Index |
( |
| ) |
const |
|
inline |
Returns the Index that this Node belongs to.
- Returns
- The index that this object refers to.
Definition at line 173 of file index.hpp.
◆ IsA()
Tests if this node holds a target is of a given aKind.
- Parameters
-
| kind | The kind to test this instance for. |
- Returns
- The result of Target()->IsA.
Definition at line 197 of file index.hpp.
◆ Kind()
Returns the kind of this target. The result may be used to cast a pointer to the corresponding descendant
- Returns
- The kind of this target.
Definition at line 192 of file index.hpp.
◆ LineNo()
| int dxl::Index::Node::LineNo |
( |
| ) |
const |
|
inline |
Returns the line number in the tag-file that this node created.
- Returns
- The line number in the tag-file.
Definition at line 183 of file index.hpp.
◆ operator!=()
| bool dxl::Index::Node::operator!= |
( |
const Node & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
| other | The object to compare ourselves to. |
- Returns
false if this and the given cursor are equal, true otherwise.
Definition at line 138 of file index.hpp.
◆ operator==()
| bool dxl::Index::Node::operator== |
( |
const Node & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
| other | The object to compare ourselves to. |
- Returns
true if this and the given cursor are equal, false otherwise.
Definition at line 130 of file index.hpp.
◆ Parent() [1/2]
| Node dxl::Index::Node::Parent |
( |
| ) |
|
|
inline |
◆ Parent() [2/2]
| Node dxl::Index::Node::Parent |
( |
| ) |
const |
|
inline |
◆ Path() [1/2]
Calls the parent method and then replaces the separator characters accordingly.
- Parameters
-
| targetString | The string buffer to append the path to. |
| targetData | Denotes whether target should be cleared before appending the path. Defaults to CurrentData::Clear. |
- Returns
- The given AString to allow concatenated operations.
Definition at line 146 of file index.hpp.
◆ Path() [2/2]
Calls the parent method and then replaces the separator charachters accordingly.
- Parameters
-
| targetString | The string buffer to append the path to. |
| parent | Denotes the parent node to start a relative path from. |
- Returns
- The given AString to allow concatenated operations.
Definition at line 162 of file index.hpp.
◆ ReplaceTarget()
| void dxl::Index::Node::ReplaceTarget |
( |
class Target * | newTarget | ) |
|
|
inline |
◆ Target() [1/2]
| class Target * dxl::Index::Node::Target |
( |
| ) |
|
|
inline |
- Returns
- The target that this node refers to.
Definition at line 179 of file index.hpp.
◆ Target() [2/2]
| const Target * dxl::Index::Node::Target |
( |
| ) |
const |
|
inline |
- Returns
- The target that this node refers to.
Definition at line 176 of file index.hpp.
The documentation for this struct was generated from the following file: