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

#include <map.h>

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

Public Member Functions

bool addGroup (const Label &label, const NodeIdx &n, NodeIdx &idx)
 
NodePtr deepCopy (const Data &source, NodeIdx target_idx, Data &target) const
 
virtual bool empty () const
 
 Map (const Label &name)
 
bool readGroup (const Label &label, NodeIdx &idx) const
 
bool setValue (const Label &label, const Variant &value)
 
bool value (const Label &label, Variant &value) const
 
- Public Member Functions inherited from tue::config::Node
virtual bool add (const NodeIdx &, NodeIdx &)
 
virtual bool firstChild (NodeIdx &)
 
const Labelname () const
 
 Node (const Label &name, NodeType type)
 
void setName (const std::string &name)
 
const NodeTypetype () const
 
virtual ~Node ()
 

Public Attributes

std::map< Label, NodeIdxmap_
 
std::map< Label, Variantvalues
 

Detailed Description

Definition at line 12 of file map.h.

Constructor & Destructor Documentation

◆ Map()

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

Definition at line 17 of file map.h.

Member Function Documentation

◆ addGroup()

bool tue::config::Map::addGroup ( const Label label,
const NodeIdx n,
NodeIdx idx 
)
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 40 of file map.h.

◆ deepCopy()

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

Implements tue::config::Node.

Definition at line 10 of file map.cpp.

◆ empty()

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

Implements tue::config::Node.

Definition at line 53 of file map.h.

◆ readGroup()

bool tue::config::Map::readGroup ( const Label label,
NodeIdx idx 
) const
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 19 of file map.h.

◆ setValue()

bool tue::config::Map::setValue ( const Label label,
const Variant value 
)
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 47 of file map.h.

◆ value()

bool tue::config::Map::value ( const Label label,
Variant value 
) const
inlinevirtual

Reimplemented from tue::config::Node.

Definition at line 29 of file map.h.

Member Data Documentation

◆ map_

std::map<Label, NodeIdx> tue::config::Map::map_

Definition at line 62 of file map.h.

◆ values

std::map<Label, Variant> tue::config::Map::values

Definition at line 64 of file map.h.


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