NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
void | NSTValidateConfigFile (const IRegistry ®, vector< string > &warnings, bool throw_port_exception) |
CJsonNode | NSTGetBackendConfiguration (const IRegistry ®, CNetStorageServer *server, vector< string > &warnings) |
TNSTDBValue< CTimeSpan > | ReadTimeSpan (const string ®_value, bool allow_infinity) |
CJsonNode NSTGetBackendConfiguration | ( | const IRegistry & | reg, |
CNetStorageServer * | server, | ||
vector< string > & | warnings | ||
) |
Definition at line 461 of file nst_config.cpp.
References NStr::eNocase, IRegistry::EnumerateSections(), CNetStorageServer::GetCompoundIDPool(), kEmptyStr, CJsonNode::NewObjectNode(), prefix, CDirectNetStorage::ReportConfig(), CJsonNode::SetByKey(), NStr::StartsWith(), string, and CException::what().
Referenced by CNetStorageServer::UpdateBackendConfiguration(), and CNetStorageHandler::x_ProcessReconfigure().
void NSTValidateConfigFile | ( | const IRegistry & | reg, |
vector< string > & | warnings, | ||
bool | throw_port_exception | ||
) |
Definition at line 83 of file nst_config.cpp.
References NSTValidateDatabaseSection(), NSTValidateMetadataSection(), NSTValidateServerSection(), and NSTValidateServices().
Referenced by CNetStorageDApp::Run(), and CNetStorageHandler::x_ProcessReconfigure().
TNSTDBValue<CTimeSpan> ReadTimeSpan | ( | const string & | reg_value, |
bool | allow_infinity | ||
) |
Definition at line 526 of file nst_config.cpp.
References NStr::EqualNocase(), and result.
Referenced by NSTValidateProlongValue(), NSTValidateTTLValue(), CNSTServiceRegistry::x_ReadProlongProperty(), and CNSTServiceRegistry::x_ReadServiceProperties().