BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
BUSBOY::AlgorithmConfig Class Reference

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 > &params)
 
 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
 
AlgorithmConfigoperator= (const AlgorithmConfig &config)
 
 ~AlgorithmConfig ()
 

Detailed Description

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.

Constructor & Destructor Documentation

BUSBOY::AlgorithmConfig::AlgorithmConfig ( )
BUSBOY::AlgorithmConfig::AlgorithmConfig ( const std::map< std::string, std::string > &  params)
BUSBOY::AlgorithmConfig::AlgorithmConfig ( const AlgorithmConfig config)
BUSBOY::AlgorithmConfig::~AlgorithmConfig ( )

Member Function Documentation

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

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

Copyright 2014 Google Inc. All rights reserved.