Go to the SVN repository for this file.
30 #ifndef __PTB_REGISTRY__ 31 #define __PTB_REGISTRY__ 46 string GetString(
const string& section,
48 const string& default_value =
kEmptyStr)
const;
50 string Get(
const string& section,
51 const string& name)
constCPtbRegistry & operator=(const CPtbRegistry &)
void EnumerateSections(list< string > *sections) const
map< string, string > m_Cache
void EnumerateEntries(const string §ion, list< string > *entries) const
AutoPtr< IRWRegistry > m_Registry
CPtbRegistry(const CPtbRegistry &)
forbidden
bool HasEntry(const string §ion, const string &name=kEmptyStr) const
void Read(CNcbiIstream &is)
string Get(const string §ion, const string &name) const
string GetString(const string §ion, const string &name, const string &default_value=kEmptyStr) const
virtual void EnumerateSections(list< string > *sections, TFlags flags=fAllLayers) const
Enumerate section names.
virtual bool HasEntry(const string §ion, const string &name=kEmptyStr, TFlags flags=0) const
bool Empty(TFlags flags=fAllLayers) const
Verify if Registry is empty.
virtual void EnumerateEntries(const string §ion, list< string > *entries, TFlags flags=fAllLayers) const
Enumerate parameter names for a specified section.
IRWRegistry * Read(CNcbiIstream &is, TFlags flags=0, const string &path=kEmptyStr)
Read and parse the stream "is", and merge its content with current Registry entries.
@ fCountCleared
Let explicitly cleared entries stand.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
Process information in the NCBI Registry, including working with configuration files.
static wxAcceleratorEntry entries[3]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4