DUNE: Uniform Navigational Environment  2022.04.0
DUNE::Tasks::ParameterTable Class Reference

Public Member Functions

 ParameterTable (void)
 
 ~ParameterTable (void)
 
Parameteradd (const std::string &name, void *ptr, AbstractParameterParser *reader)
 
void set (const std::string &name, const std::string &value)
 
void writeXML (std::ostream &os) const
 
bool changed (void *ptr)
 
void setChanged (bool enabled)
 
std::vector< std::string > getParameterList (void)
 
std::map< std::string, Parameter * >::const_iterator begin (void) const
 
std::map< std::string, Parameter * >::const_iterator end (void) const
 
std::map< std::string, Parameter * >::const_iterator find (const std::string &name) const
 
std::map< std::string, Parameter * >::iterator find (const std::string &name)
 

Constructor & Destructor Documentation

◆ ParameterTable()

DUNE::Tasks::ParameterTable::ParameterTable ( void  )
inline

References ~ParameterTable().

◆ ~ParameterTable()

DUNE::Tasks::ParameterTable::~ParameterTable ( void  )

Referenced by ParameterTable().

Member Function Documentation

◆ add()

Parameter& DUNE::Tasks::ParameterTable::add ( const std::string &  name,
void *  ptr,
AbstractParameterParser reader 
)
inline

◆ begin()

std::map<std::string, Parameter*>::const_iterator DUNE::Tasks::ParameterTable::begin ( void  ) const
inline

◆ changed()

bool DUNE::Tasks::ParameterTable::changed ( void *  ptr)
inline

◆ end()

std::map<std::string, Parameter*>::const_iterator DUNE::Tasks::ParameterTable::end ( void  ) const
inline

◆ find() [1/2]

std::map<std::string, Parameter*>::const_iterator DUNE::Tasks::ParameterTable::find ( const std::string &  name) const
inline

◆ find() [2/2]

std::map<std::string, Parameter*>::iterator DUNE::Tasks::ParameterTable::find ( const std::string &  name)
inline

◆ getParameterList()

std::vector< std::string > DUNE::Tasks::ParameterTable::getParameterList ( void  )

Retrieve the list of registered parameters.

Returns
list with the labels of registered parameters.

Referenced by setChanged().

◆ set()

◆ setChanged()

void DUNE::Tasks::ParameterTable::setChanged ( bool  enabled)
inline

◆ writeXML()

void DUNE::Tasks::ParameterTable::writeXML ( std::ostream &  os) const
inline
Collaboration diagram for DUNE::Tasks::ParameterTable:
Collaboration graph