tue_config
Public Member Functions | Private Attributes | List of all members
tue::config::Node Class Referenceabstract

#include <node.h>

Inheritance diagram for tue::config::Node:
Inheritance graph
[legend]

Public Member Functions

virtual bool add (const NodeIdx &, NodeIdx &)
 
virtual bool addGroup (const Label &, const NodeIdx &, NodeIdx &)
 
virtual NodePtr deepCopy (const Data &source, NodeIdx target_idx, Data &target) const =0
 
virtual bool empty () const =0
 
virtual bool firstChild (NodeIdx &)
 
const Labelname () const
 
 Node (const Label &name, NodeType type)
 
virtual bool readGroup (const Label &, NodeIdx &) const
 
void setName (const std::string &name)
 
virtual bool setValue (const Label &, const Variant &)
 
const NodeTypetype () const
 
virtual bool value (const Label &, Variant &) const
 
virtual ~Node ()
 

Private Attributes

Label name_
 
NodeType type_
 

Detailed Description

Definition at line 19 of file node.h.

Constructor & Destructor Documentation

◆ Node()

tue::config::Node::Node ( const Label name,
NodeType  type 
)
inline

Definition at line 24 of file node.h.

◆ ~Node()

virtual tue::config::Node::~Node ( )
inlinevirtual

Definition at line 26 of file node.h.

Member Function Documentation

◆ add()

virtual bool tue::config::Node::add ( const NodeIdx ,
NodeIdx  
)
inlinevirtual

Reimplemented in tue::config::Sequence.

Definition at line 49 of file node.h.

◆ addGroup()

virtual bool tue::config::Node::addGroup ( const Label ,
const NodeIdx ,
NodeIdx  
)
inlinevirtual

Reimplemented in tue::config::Map.

Definition at line 43 of file node.h.

◆ deepCopy()

virtual NodePtr tue::config::Node::deepCopy ( const Data source,
NodeIdx  target_idx,
Data target 
) const
pure virtual

◆ empty()

virtual bool tue::config::Node::empty ( ) const
pure virtual

◆ firstChild()

virtual bool tue::config::Node::firstChild ( NodeIdx )
inlinevirtual

Reimplemented in tue::config::Sequence.

Definition at line 51 of file node.h.

◆ name()

const Label& tue::config::Node::name ( ) const
inline

Definition at line 54 of file node.h.

◆ readGroup()

virtual bool tue::config::Node::readGroup ( const Label ,
NodeIdx  
) const
inlinevirtual

Reimplemented in tue::config::Map.

Definition at line 32 of file node.h.

◆ setName()

void tue::config::Node::setName ( const std::string name)
inline

Definition at line 58 of file node.h.

◆ setValue()

virtual bool tue::config::Node::setValue ( const Label ,
const Variant  
)
inlinevirtual

Reimplemented in tue::config::Map.

Definition at line 45 of file node.h.

◆ type()

const NodeType& tue::config::Node::type ( ) const
inline

Definition at line 56 of file node.h.

◆ value()

virtual bool tue::config::Node::value ( const Label ,
Variant  
) const
inlinevirtual

Reimplemented in tue::config::Map.

Definition at line 34 of file node.h.

Member Data Documentation

◆ name_

Label tue::config::Node::name_
private

Definition at line 67 of file node.h.

◆ type_

NodeType tue::config::Node::type_
private

Definition at line 69 of file node.h.


The documentation for this class was generated from the following file: