BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
util
BusboyEnvironment.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_BUSBOY_ENVIRONMENT_H__
18
#define __BUSBOY_BUSBOY_ENVIRONMENT_H__
19
20
#include <string>
21
#include "
util/Properties.h
"
22
23
namespace
BUSBOY {
24
25
class
BusboyEnvironmentImpl;
26
31
class
BusboyEnvironment
{
32
33
public
:
34
35
enum
EnvSet
{
36
38
RUNTIME
,
39
41
JAVA
,
42
44
CUSTOM
,
45
47
RAW
48
};
49
50
static
BusboyEnvironment
&
instance
();
51
56
static
EnvSet
enumFromString
(
const
std::string& strEnvSet);
57
62
static
std::string
enumToString
(
EnvSet
envSet);
63
64
void
addPropertySet
(
EnvSet
envSet,
const
Properties
& props);
65
66
Properties
getProperties
(
EnvSet
envSet)
const
;
67
68
static
std::string
getVariablePrefix
(
EnvSet
envSet);
69
70
static
std::string
getVariableName
(
EnvSet
envSet,
const
std::string& name);
71
72
~BusboyEnvironment
();
73
74
private
:
75
76
BusboyEnvironmentImpl
* m_impl;
77
78
BusboyEnvironment
();
79
BusboyEnvironment
(
const
BusboyEnvironment
& reg);
80
BusboyEnvironment
& operator=(
const
BusboyEnvironment
& reg);
81
82
};
83
84
}
85
86
#endif
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.