Essentia
2.1-beta6-dev
|
#include <parameter.h>
Public Member Functions | |
void | add (const std::string &name, const Parameter &value) |
const Parameter & | operator[] (const std::string &key) const |
Parameter & | operator[] (const std::string &key) |
Public Member Functions inherited from EssentiaMap< std::string, Parameter, string_cmp > | |
Parameter & | operator[] (const std::string &key) |
const Parameter & | operator[] (const std::string &key) const |
std::pair< typename BaseClass::iterator, bool > | insert (const std::string &key, const Parameter &value) |
std::vector< std::string > | keys () const |
Protected Types | |
typedef EssentiaMap< std::string, Parameter, string_cmp > | ParameterMapBase |
Additional Inherited Members | |
Public Types inherited from EssentiaMap< std::string, Parameter, string_cmp > | |
typedef std::map< std::string, Parameter, string_cmp > | BaseClass |
A ParameterMap is a map whose keys are strings and values are Parameter, and which uses a case-insensitive compare function. It also has two convenient functions for adding new values in it: add() with or without a default value.
|
protected |
void add | ( | const std::string & | name, |
const Parameter & | value | ||
) |
Parameter& operator[] | ( | const std::string & | key | ) |
const Parameter& operator[] | ( | const std::string & | key | ) | const |