Tapkee
ParametersSet Class Reference

#include <parameter.hpp>

Public Types

typedef std::map< std::string, ParameterParametersMap
 
typedef std::list< std::string > DuplicatesList
 

Public Member Functions

 ParametersSet ()
 
 ParametersSet (const ParametersSet &other)
 
ParametersSetoperator= (const ParametersSet &other)
 
void check ()
 
void add (const Parameter &p)
 
bool contains (const std::string &name) const
 
void merge (const ParametersSet &pg)
 
Parameter operator[] (const std::string &name) const
 
ParametersSetoperator, (const Parameter &p)
 

Private Attributes

ParametersMap pmap
 
DuplicatesList dups
 

Detailed Description

Definition at line 233 of file parameter.hpp.

Member Typedef Documentation

◆ DuplicatesList

typedef std::list<std::string> DuplicatesList

Definition at line 238 of file parameter.hpp.

◆ ParametersMap

typedef std::map<std::string, Parameter> ParametersMap

Definition at line 237 of file parameter.hpp.

Constructor & Destructor Documentation

◆ ParametersSet() [1/2]

Definition at line 240 of file parameter.hpp.

◆ ParametersSet() [2/2]

ParametersSet ( const ParametersSet other)

Definition at line 243 of file parameter.hpp.

Member Function Documentation

◆ add()

void add ( const Parameter p)

Definition at line 264 of file parameter.hpp.

◆ check()

void check ( )

Definition at line 252 of file parameter.hpp.

◆ contains()

bool contains ( const std::string &  name) const

Definition at line 271 of file parameter.hpp.

◆ merge()

void merge ( const ParametersSet pg)

Definition at line 275 of file parameter.hpp.

◆ operator,()

ParametersSet& operator, ( const Parameter p)

Definition at line 298 of file parameter.hpp.

◆ operator=()

ParametersSet& operator= ( const ParametersSet other)

Definition at line 246 of file parameter.hpp.

◆ operator[]()

Parameter operator[] ( const std::string &  name) const

Definition at line 286 of file parameter.hpp.

Member Data Documentation

◆ dups

DuplicatesList dups
private

Definition at line 307 of file parameter.hpp.

◆ pmap

ParametersMap pmap
private

Definition at line 306 of file parameter.hpp.


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