◆ getChild()
const ArrayNode& ArrayNode::getChild |
( |
int |
i | ) |
const |
- Returns
- a reference to the ith direct child
- Exceptions
-
std::out_of_range | for an invalid index |
◆ getDegree()
const int ArrayNode::getDegree |
( |
| ) |
const |
- Returns
- number of direct children (for an inner node) or elements (for a leaf node)
◆ getVectorBoolean()
std::vector<bool> ArrayNode::getVectorBoolean |
( |
| ) |
const |
If this node is a leaf, gets the value of its elements parsed as booleans.
◆ getVectorDouble()
std::vector<double> ArrayNode::getVectorDouble |
( |
| ) |
const |
If this node is a leaf, gets the value of its elements parsed as double values.
◆ getVectorFile()
std::vector<std::string> ArrayNode::getVectorFile |
( |
| ) |
const |
If this node is a leaf, gets the value of its elements parsed as file names.
◆ getVectorInt()
std::vector<int> ArrayNode::getVectorInt |
( |
| ) |
const |
If this node is a leaf, gets the value of its elements parsed as integer values.
◆ getVectorString()
std::vector<std::string> ArrayNode::getVectorString |
( |
| ) |
const |
If this node is a leaf, gets the value of its elements parsed as strings.
◆ getVectorTime()
If this node is a leaf, gets the value of its elements parsed as booleans.
◆ isLeaf()
const bool ArrayNode::isLeaf |
( |
| ) |
const |
Returns true if this node has no children, and thus it directly contains elements.
The documentation for this class was generated from the following file: