Go to the SVN repository for this file.
1 #ifndef GUI_OBJUTILS___REGISTRY__HPP 2 #define GUI_OBJUTILS___REGISTRY__HPP 49ePriority_Temp_Inc = 4,
51ePriority_Global = 16384
106 CRegistryReadViewGetReadView(
const string& section,
constvector<string>& sub_sections)
const;
126 CRegistryWriteViewGetWriteView(
const string& section,
constvector<string>& sub_sections);
138 intGetInt(
const string&
key,
intdefault_val = 0)
const;
140 doubleGetReal(
const string&
key,
doubledefault_val = 0)
const;
142 boolGetBool(
const string&
key,
booldefault_val =
false)
const;
144 stringGetString(
const string&
key,
const string& default_val =
kEmptyStr)
const;
146 voidGetIntVec(
const string&
key, vector<int>&
val)
const;
148 voidGetRealVec(
const string&
key, vector<double>&
val)
const;
150 voidGetStringVec(
const string&
key, vector<string>&
val)
const;
152 voidGetStringList(
const string&
key, list<string>&
val)
const;
160 boolHasField(
const string&
key)
const;
168 voidSet(
const string&
key,
int val);
170 voidSet(
const string&
key,
double val);
172 voidSet(
const string&
key,
bool val);
174 voidSet(
const string&
key,
const string&
val);
176 voidSet(
const string&
key,
const char*
val);
178 voidSet(
const string&
key,
constvector<int>&
val);
180 voidSet(
const string&
key,
constvector<double>&
val);
182 voidSet(
const string&
key,
constvector<string>&
val);
184 voidSet(
const string&
key,
constlist<string>&
val);
186 voidSet(
int site,
const string&
key,
int val);
188 voidSet(
int site,
const string&
key,
double val);
190 voidSet(
int site,
const string&
key,
bool val);
192 voidSet(
int site,
const string&
key,
const string&
val);
194 voidSet(
int site,
const string&
key,
const char*
val);
196 voidSet(
int site,
const string&
key,
constvector<int>&
val);
198 voidSet(
int site,
const string&
key,
constvector<double>&
val);
200 voidSet(
int site,
const string&
key,
constvector<string>&
val);
202 voidSet(
int site,
const string&
key,
constlist<string>&
val);
219 boolDeleteField(
const string&
key);
221 boolDeleteField(
int site,
const string&
key);
224 intGetWritableSite();
228 voidSetWritableSite(
intpriority = ePriority_Local);
261 boolm_isReadOnly{
false};
280 static string MakeKey(
const string& section,
const string&
key,
CGuiRegistry & operator=(const CGuiRegistry &)
map< int, CRef< CRegistryFile > > TRegistries
our registry stores this is a hierarchical organization
CGuiRegistry(const CGuiRegistry &)
forbidden
static const string kDecimalDot
int m_WritableSite
The priority of the site that writes go to.
EPriority
enum controlling priority of added registries
class CRegistryReadView provides a nested hierarchical view at a particular key.
static string MakeKey(CScoreValue const &)
void SetField(objects::CUser_object &user, const string &field_name, const string &val)
void Write(CObjectOStream &out, TConstObjectPtr object, const CTypeRef &type)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
#define NCBI_GUIOBJUTILS_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
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