#include <env_reg.hpp>
Inheritance diagram for CNcbiEnvRegMapper:


Somewhat more elaborate mapping used by default, with support for tree conversion. Special node names (starting with dots) get mapped as [<section>].<name> <-> NCBI_CONFIG_<name>__<section> ; all other names get mapped as [<section>]<name> <-> NCBI_CONFIG__<section>__<name> .
Definition at line 175 of file env_reg.hpp.
Public Member Functions | |
| string | RegToEnv (const string §ion, const string &name) const |
| Returns empty strings for unsupported (section, name) pairs. | |
| bool | EnvToReg (const string &env, string §ion, string &name) const |
| The return value indicates whether the environment variable was appropriately formatted. | |
| string | GetPrefix (void) const |
| Can be overriden to speed enumeration. | |
Static Private Attributes | |
| static const char * | sm_Prefix = "NCBI_CONFIG_" |
|
||||||||||||||||
|
The return value indicates whether the environment variable was appropriately formatted.
Implements IEnvRegMapper. Definition at line 292 of file env_reg.cpp. References sm_Prefix, and NStr::StartsWith(). |
|
|
Can be overriden to speed enumeration.
Reimplemented from IEnvRegMapper. Definition at line 316 of file env_reg.cpp. References sm_Prefix. |
|
||||||||||||
|
Returns empty strings for unsupported (section, name) pairs.
Implements IEnvRegMapper. Definition at line 281 of file env_reg.cpp. References sm_Prefix, and NStr::StartsWith(). |
|
|
Definition at line 183 of file env_reg.hpp. Referenced by EnvToReg(), GetPrefix(), and RegToEnv(). |
1.4.6
Modified on Wed Dec 09 08:19:31 2009 by modify_doxy.py rev. 173732