50 bool GetString(
const std::string &key, std::string &value );
58 bool PutString(
const std::string &key,
const std::string &value );
65 bool GetInt(
const std::string &key,
int &value );
73 bool PutInt(
const std::string &key,
int value );
80 bool GetPtr(
const std::string &key,
void* &value );
87 bool PutPtr(
const std::string &key,
void* value );
95 bool ImportInt(
const std::string &key,
const std::string &shellKey );
103 bool ImportString(
const std::string &key,
const std::string &shellKey );
149 pLock.ReInitialize();
166 inline std::string UnifyKey( std::string key )
171 std::transform( key.begin(), key.end(), key.begin(), ::tolower );
176 static const char prefix[] =
"xrd_";
177 if( key.compare( 0,
sizeof( prefix ) - 1, prefix ) == 0 )
178 key = key.substr(
sizeof( prefix ) - 1 );
183 std::string GetEnv(
const std::string &key );
184 typedef std::map<std::string, std::pair<std::string, bool> > StringMap;
185 typedef std::map<std::string, std::pair<int, bool> > IntMap;
186 typedef std::map<std::string, void* > PtrMap;
189 StringMap pStringMap;