BusBoy
2
|
Singleton for managing environmental properties. More...
#include <BusboyEnvironment.h>
Public Types | |
enum | EnvSet { RUNTIME, JAVA, CUSTOM, RAW } |
Public Member Functions | |
void | addPropertySet (EnvSet envSet, const Properties &props) |
Properties | getProperties (EnvSet envSet) const |
~BusboyEnvironment () | |
Static Public Member Functions | |
static BusboyEnvironment & | instance () |
static EnvSet | enumFromString (const std::string &strEnvSet) |
Parses the string equivalent of the enum. More... | |
static std::string | enumToString (EnvSet envSet) |
Returns the string equivalent of the enum. More... | |
static std::string | getVariablePrefix (EnvSet envSet) |
static std::string | getVariableName (EnvSet envSet, const std::string &name) |
Singleton for managing environmental properties.
BUSBOY::BusboyEnvironment::~BusboyEnvironment | ( | ) |
void BUSBOY::BusboyEnvironment::addPropertySet | ( | EnvSet | envSet, |
const Properties & | props | ||
) |
|
static |
Parses the string equivalent of the enum.
For example: "JAVA" –> JAVA
|
static |
Returns the string equivalent of the enum.
For example: JAVA –> "JAVA"
Properties BUSBOY::BusboyEnvironment::getProperties | ( | EnvSet | envSet | ) | const |
|
static |
|
static |
|
static |
Copyright 2014 Google Inc. All rights reserved.