BusBoy
2
|
A map of configuration properties passed to an algorithm. More...
#include <AlgorithmConfig.h>
Public Member Functions | |
AlgorithmConfig () | |
AlgorithmConfig (const std::map< std::string, std::string > ¶ms) | |
AlgorithmConfig (const AlgorithmConfig &config) | |
std::set< std::string > | getAllParamNames () const |
bool | hasConfigParam (const std::string &name) const |
std::string | getConfigParam (const std::string &name) const |
bool | getConfigParamAsBoolean (const std::string &name) const |
int | getConfigParamAsInt (const std::string &name) const |
double | getConfigParamAsDouble (const std::string &name) const |
bool | operator== (const AlgorithmConfig &config) const |
bool | operator!= (const AlgorithmConfig &config) const |
AlgorithmConfig & | operator= (const AlgorithmConfig &config) |
~AlgorithmConfig () | |
A map of configuration properties passed to an algorithm.
Immutable. These are generally parameters that control how an algorithm executes. Examples are scaling factor and jpeg quality.
BUSBOY::AlgorithmConfig::AlgorithmConfig | ( | ) |
BUSBOY::AlgorithmConfig::AlgorithmConfig | ( | const std::map< std::string, std::string > & | params | ) |
BUSBOY::AlgorithmConfig::AlgorithmConfig | ( | const AlgorithmConfig & | config | ) |
BUSBOY::AlgorithmConfig::~AlgorithmConfig | ( | ) |
std::set< std::string > BUSBOY::AlgorithmConfig::getAllParamNames | ( | ) | const |
std::string BUSBOY::AlgorithmConfig::getConfigParam | ( | const std::string & | name | ) | const |
bool BUSBOY::AlgorithmConfig::getConfigParamAsBoolean | ( | const std::string & | name | ) | const |
double BUSBOY::AlgorithmConfig::getConfigParamAsDouble | ( | const std::string & | name | ) | const |
int BUSBOY::AlgorithmConfig::getConfigParamAsInt | ( | const std::string & | name | ) | const |
bool BUSBOY::AlgorithmConfig::hasConfigParam | ( | const std::string & | name | ) | const |
bool BUSBOY::AlgorithmConfig::operator!= | ( | const AlgorithmConfig & | config | ) | const |
AlgorithmConfig & BUSBOY::AlgorithmConfig::operator= | ( | const AlgorithmConfig & | config | ) |
bool BUSBOY::AlgorithmConfig::operator== | ( | const AlgorithmConfig & | config | ) | const |
Copyright 2014 Google Inc. All rights reserved.