tue_config
Public Member Functions | Public Attributes | List of all members
tue::config::Sequence Class Reference

#include <sequence.h>

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

Public Member Functions

bool add (const NodeIdx &n, NodeIdx &previous)
 
NodePtr deepCopy (const Data &source, NodeIdx target_idx, Data &target) const
 
virtual bool empty () const
 
bool firstChild (NodeIdx &child)
 
 Sequence (const Label &name)
 
- Public Member Functions inherited from tue::config::Node
virtual bool addGroup (const Label &, const NodeIdx &, 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 ()
 

Public Attributes

std::vector< NodeIdxchildren_
 

Detailed Description

Definition at line 14 of file sequence.h.

Constructor & Destructor Documentation

◆ Sequence()

tue::config::Sequence::Sequence ( const Label name)
inline

Definition at line 19 of file sequence.h.

Member Function Documentation

◆ add()

bool tue::config::Sequence::add ( const NodeIdx n,
NodeIdx previous 
)
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 21 of file sequence.h.

◆ deepCopy()

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

Implements tue::config::Node.

Definition at line 10 of file sequence.cpp.

◆ empty()

virtual bool tue::config::Sequence::empty ( ) const
inlinevirtual

Implements tue::config::Node.

Definition at line 46 of file sequence.h.

◆ firstChild()

bool tue::config::Sequence::firstChild ( NodeIdx child)
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 32 of file sequence.h.

Member Data Documentation

◆ children_

std::vector<NodeIdx> tue::config::Sequence::children_

Definition at line 40 of file sequence.h.


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