IEnvRegMapper Class Reference
[Application Registry]

Search Toolkit Book for IEnvRegMapper

#include <env_reg.hpp>

Inheritance diagram for IEnvRegMapper:

Inheritance graph
[legend]
Collaboration diagram for IEnvRegMapper:

Collaboration graph
[legend]
List of all members.

Detailed Description

IEnvRegMapper --.

Abstract policy class mediating conversions between environment variable names and registry entry names.

Definition at line 56 of file env_reg.hpp.

Public Member Functions

virtual string RegToEnv (const string &section, const string &name) const =0
 Returns empty strings for unsupported (section, name) pairs.
virtual bool EnvToReg (const string &env, string &section, string &name) const =0
 The return value indicates whether the environment variable was appropriately formatted.
virtual string GetPrefix (void) const
 Can be overriden to speed enumeration.


Member Function Documentation

virtual bool IEnvRegMapper::EnvToReg const string &  env,
string &  section,
string &  name
const [pure virtual]
 

The return value indicates whether the environment variable was appropriately formatted.

Implemented in CSimpleEnvRegMapper, and CNcbiEnvRegMapper.

virtual string IEnvRegMapper::GetPrefix void   )  const [inline, virtual]
 

Can be overriden to speed enumeration.

Reimplemented in CSimpleEnvRegMapper, and CNcbiEnvRegMapper.

Definition at line 69 of file env_reg.hpp.

References kEmptyStr.

virtual string IEnvRegMapper::RegToEnv const string &  section,
const string &  name
const [pure virtual]
 

Returns empty strings for unsupported (section, name) pairs.

Implemented in CSimpleEnvRegMapper, and CNcbiEnvRegMapper.


The documentation for this class was generated from the following file:
Generated on Wed Dec 9 08:12:43 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:13 2009 by modify_doxy.py rev. 173732