18 #ifndef OSFI_SRC_COMMON_CONFM_ARRAYNODE_H_
19 #define OSFI_SRC_COMMON_CONFM_ARRAYNODE_H_
29 std::vector<std::string> elements_;
31 std::vector<ArrayNode> children_;
38 void computeDimensionalEnvelope(std::vector<int>& cur,
unsigned int startIdx)
const;
44 ArrayNode(std::vector<std::string> elements, std::vector<ArrayNode> children);
OSFI-C++ header common to many classes in the ConFM module.
Definition: ArrayNode.h:27
const ArrayNode & getChild(int i) const
std::vector< int > getDimsEnvelope() const
std::vector< bool > getVectorBoolean() const
ArrayNode()=default
Default constructor, creates a leaf node with no children.
const std::vector< std::string > & getElements() const
Direct access to the unparsed data elements, only meaningful for leaf nodes.
std::vector< osfi::confm::TimeValue > getVectorTime() const
std::vector< int > getVectorInt() const
const std::vector< ArrayNode > & getChildren() const
Direct access to the child nodes, only meaningful for non-leaf nodes.
std::vector< std::string > getVectorString() const
std::vector< double > getVectorDouble() const
std::vector< std::string > getVectorFile() const
ArrayNode(std::vector< std::string > elements, std::vector< ArrayNode > children)
Data constructor, only one of elements and children may be non-empty.