NCBI C++ ToolKit
|
Search Toolkit Book for CSynRegistry
#include "netservice_params.hpp"
(Private to src/connect/services
.)
Classes | |
class | CAlert |
class | CInclude |
class | CReport |
struct | TR |
struct | TR< const char * > |
struct | TR< unsigned > |
Public Types | |
using | TPtr = shared_ptr< CSynRegistry > |
Public Member Functions | |
CSynRegistry () | |
~CSynRegistry () | |
template<typename TType > | |
TR< TType >::T | Get (const SRegSynonyms §ions, SRegSynonyms names, TType default_value) |
template<typename TType > | |
TType | TGet (const SRegSynonyms §ions, SRegSynonyms names, TType default_value) |
bool | Has (const SRegSynonyms §ions, SRegSynonyms names) |
void | Add (const IRegistry ®istry) |
IRegistry & | GetIRegistry () |
void | Report (ostream &os) const |
void | Alerts (ostream &os) const |
bool | AckAlert (size_t id) |
Private Attributes | |
CCompoundRegistry | m_Registry |
int | m_Priority = 0 |
unique_ptr< CReport > | m_Report |
unique_ptr< CInclude > | m_Include |
unique_ptr< CAlert > | m_Alert |
Definition at line 138 of file netservice_params.hpp.
using CSynRegistry::TPtr = shared_ptr<CSynRegistry> |
Definition at line 146 of file netservice_params.hpp.
CSynRegistry::CSynRegistry | ( | ) |
Definition at line 305 of file netservice_params.cpp.
CSynRegistry::~CSynRegistry | ( | ) |
Definition at line 312 of file netservice_params.cpp.
bool CSynRegistry::AckAlert | ( | size_t | id | ) |
Definition at line 337 of file netservice_params.cpp.
References m_Alert.
Definition at line 316 of file netservice_params.cpp.
References CCompoundRegistry::Add(), m_Priority, m_Registry, and registry.
Referenced by CNetScheduleConfigLoader::operator()().
void CSynRegistry::Alerts | ( | ostream & | os | ) | const |
Definition at line 332 of file netservice_params.cpp.
References m_Alert.
|
inline |
Definition at line 152 of file netservice_params.hpp.
Referenced by CNetScheduleConfigLoader::CNetScheduleConfigLoader().
IRegistry & CSynRegistry::GetIRegistry | ( | ) |
Definition at line 322 of file netservice_params.cpp.
References m_Registry.
bool CSynRegistry::Has | ( | const SRegSynonyms & | sections, |
SRegSynonyms | names | ||
) |
Definition at line 383 of file netservice_params.cpp.
References _ASSERT, IRegistry::HasEntry(), m_Include, m_Registry, and names.
Referenced by CNetScheduleConfigLoader::CNetScheduleConfigLoader().
void CSynRegistry::Report | ( | ostream & | os | ) | const |
Definition at line 327 of file netservice_params.cpp.
References m_Report.
template double CSynRegistry::TGet | ( | const SRegSynonyms & | sections, |
SRegSynonyms | names, | ||
TType | default_value | ||
) |
Definition at line 343 of file netservice_params.cpp.
References _ASSERT, NStr::eJsonEnc_Quoted, ERR_POST, IRegistry::eThrow, CException::GetPredecessor(), IRegistry::GetValue(), IRegistry::HasEntry(), NStr::JsonEncode(), m_Alert, m_Include, m_Priority, m_Registry, m_Report, msg(), names, and Warning().
Referenced by Get().
|
private |
Definition at line 173 of file netservice_params.hpp.
Referenced by AckAlert(), Alerts(), and TGet().
|
private |
Definition at line 172 of file netservice_params.hpp.
|
private |
Definition at line 170 of file netservice_params.hpp.
|
private |
Definition at line 169 of file netservice_params.hpp.
Referenced by Add(), GetIRegistry(), Has(), and TGet().
|
private |
Definition at line 171 of file netservice_params.hpp.