NCBI C++ ToolKit
Macros | Typedefs | Functions
ncbireg.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbireg.hpp>
#include <corelib/env_reg.hpp>
#include <corelib/metareg.hpp>
#include <corelib/ncbiapp_api.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/error_codes.hpp>
#include <corelib/resource_info.hpp>
#include "ncbisys.hpp"
#include <algorithm>
#include <set>
+ Include dependency graph for ncbireg.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_USE_ERRCODE_X   Corelib_Reg
 

Typedefs

typedef CRegistryReadGuard TReadGuard
 
typedef CRegistryWriteGuard TWriteGuard
 

Functions

bool s_IsNameSectionSymbol (char ch, IRegistry::TFlags flags)
 
static const string s_ConvertComment (const string &comment, bool is_file_comment=false)
 
static bool s_WriteComment (CNcbiOstream &os, const string &comment)
 
bool s_Backslashed (const string &s, SIZE_TYPE pos)
 
string s_FlatKey (const string &section, const string &name)
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Corelib_Reg

Definition at line 50 of file ncbireg.cpp.

Typedef Documentation

◆ TReadGuard

Definition at line 55 of file ncbireg.cpp.

◆ TWriteGuard

Definition at line 56 of file ncbireg.cpp.

Function Documentation

◆ s_Backslashed()

bool s_Backslashed ( const string s,
SIZE_TYPE  pos 
)
inline

Definition at line 141 of file ncbireg.cpp.

Referenced by IRWRegistry::x_Read().

◆ s_ConvertComment()

static const string s_ConvertComment ( const string comment,
bool  is_file_comment = false 
)
static

Definition at line 91 of file ncbireg.cpp.

References kEmptyStr, and NPOS.

Referenced by IRWRegistry::Set(), and IRWRegistry::SetComment().

◆ s_FlatKey()

string s_FlatKey ( const string section,
const string name 
)
inline

◆ s_IsNameSectionSymbol()

bool s_IsNameSectionSymbol ( char  ch,
IRegistry::TFlags  flags 
)
inline

Definition at line 60 of file ncbireg.cpp.

References IRegistry::fInternalSpaces, flags, and isalnum().

Referenced by IRegistry::IsNameSection().

◆ s_WriteComment()

static bool s_WriteComment ( CNcbiOstream os,
const string comment 
)
static

Definition at line 121 of file ncbireg.cpp.

References Endl(), i, ITERATE, and util::strcmp().

Referenced by IRegistry::Write().

Modified on Sun Jul 21 04:16:15 2024 by modify_doxy.py rev. 669887