Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AlgorithmFactoryDescription Class Reference

#include <algorithmfactorydescription.h>

Public Member Functions

 AlgorithmFactoryDescription (const std::string algorithmName)
const std::string & getAlgorithmName () const
void setDoubleParameter (const std::string &s, double p)
bool hasDoubleParameter (const std::string &s) const
double getDoubleParameter (const std::string &s) const
void setIntParameter (const std::string &s, int i)
bool hasIntParameter (const std::string &s) const
int getIntParameter (const std::string &s) const
void setStringParameter (const std::string &id, const std::string &s)
bool hasStringParameter (const std::string &id) const
const std::string & getStringParameter (const std::string &id) const

Private Attributes

const std::string mAlgorithmName
std::map< std::string, double > mDoubleParameters
std::map< std::string, int > mIntParamters
std::map< std::string,
std::string > 

Detailed Description

Definition at line 27 of file algorithmfactorydescription.h.

Constructor & Destructor Documentation

AlgorithmFactoryDescription::AlgorithmFactoryDescription ( const std::string  algorithmName)

Definition at line 23 of file algorithmfactorydescription.cpp.

Member Function Documentation

const std::string& AlgorithmFactoryDescription::getAlgorithmName ( ) const

Definition at line 32 of file algorithmfactorydescription.h.

double AlgorithmFactoryDescription::getDoubleParameter ( const std::string &  s) const

Definition at line 30 of file algorithmfactorydescription.cpp.

+ Here is the call graph for this function:

int AlgorithmFactoryDescription::getIntParameter ( const std::string &  s) const

Definition at line 35 of file algorithmfactorydescription.cpp.

+ Here is the call graph for this function:

const std::string & AlgorithmFactoryDescription::getStringParameter ( const std::string &  id) const

Definition at line 40 of file algorithmfactorydescription.cpp.

+ Here is the call graph for this function:

bool AlgorithmFactoryDescription::hasDoubleParameter ( const std::string &  s) const

Definition at line 35 of file algorithmfactorydescription.h.

bool AlgorithmFactoryDescription::hasIntParameter ( const std::string &  s) const

Definition at line 39 of file algorithmfactorydescription.h.

bool AlgorithmFactoryDescription::hasStringParameter ( const std::string &  id) const

Definition at line 43 of file algorithmfactorydescription.h.

void AlgorithmFactoryDescription::setDoubleParameter ( const std::string &  s,
double  p 

Definition at line 34 of file algorithmfactorydescription.h.

void AlgorithmFactoryDescription::setIntParameter ( const std::string &  s,
int  i 

Definition at line 38 of file algorithmfactorydescription.h.

void AlgorithmFactoryDescription::setStringParameter ( const std::string &  id,
const std::string &  s 

Definition at line 42 of file algorithmfactorydescription.h.

Member Data Documentation

const std::string AlgorithmFactoryDescription::mAlgorithmName

Definition at line 47 of file algorithmfactorydescription.h.

std::map<std::string, double> AlgorithmFactoryDescription::mDoubleParameters

Definition at line 49 of file algorithmfactorydescription.h.

std::map<std::string, int> AlgorithmFactoryDescription::mIntParamters

Definition at line 50 of file algorithmfactorydescription.h.

std::map<std::string, std::string> AlgorithmFactoryDescription::mStringParameters

Definition at line 51 of file algorithmfactorydescription.h.

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