|
NCBI C++ ToolKit
|
Collaboration diagram for NCBI Namespaces Etc:Classes | |
| struct | cxx_is_supported< TypeChecker, Type > |
| Helper template to check that type Type have some method declared using TypeChecker<Type>. More... | |
| struct | cxx_is_supported< TypeChecker, Type >::supported |
| struct | cxx_is_supported< TypeChecker, Type >::not_supported |
Macros | |
| #define | NCBISTL_ENABLE_DEPRECATED 1 |
| #define | NCBI_NS_STD std |
| #define | NCBI_NS_NCBI ncbi |
| #define | BEGIN_SCOPE(ns) namespace ns { |
| Define a new scope. More... | |
| #define | END_SCOPE(ns) } |
| End the previously defined scope. More... | |
| #define | USING_SCOPE(ns) using namespace ns |
| Use the specified namespace. More... | |
| #define | NCBI_USING_NAMESPACE_STD using namespace std |
| Use the std namespace. More... | |
| #define | BEGIN_STD_SCOPE BEGIN_SCOPE(std) |
| Place it for adding new funtionality to STD scope. More... | |
| #define | END_STD_SCOPE END_SCOPE(std) |
| End previously defined STD scope. More... | |
| #define | BEGIN_NCBI_SCOPE BEGIN_SCOPE(ncbi) |
| Define ncbi namespace. More... | |
| #define | END_NCBI_SCOPE END_SCOPE(ncbi) |
| End previously defined NCBI scope. More... | |
| #define | USING_NCBI_SCOPE USING_SCOPE(ncbi) |
| For using NCBI namespace code. More... | |
| #define | NCBI_NAME2(Name1, Name2) Name1##Name2 |
| Name concatenation macro with two names. More... | |
| #define | NCBI_NAME3(Name1, Name2, Name3) Name1##Name2##Name3 |
| Name concatenation macro with three names. More... | |
| #define | NCBI_EAT_SEMICOLON(UniqueName) using ::DummyNS::CDummyClassToEatSemicolon |
| #define | BEGIN_NAMESPACE(ns) namespace ns { NCBI_EAT_SEMICOLON(ns) |
| #define | END_NAMESPACE(ns) } NCBI_EAT_SEMICOLON(ns) |
| #define | BEGIN_NCBI_NAMESPACE BEGIN_NAMESPACE(NCBI_NS_NCBI) |
| #define | END_NCBI_NAMESPACE END_NAMESPACE(NCBI_NS_NCBI) |
| #define | BEGIN_STD_NAMESPACE BEGIN_NAMESPACE(NCBI_NS_STD) |
| #define | END_STD_NAMESPACE END_NAMESPACE(NCBI_NS_STD) |
| #define | BEGIN_LOCAL_NAMESPACE namespace { NCBI_EAT_SEMICOLON(ns) |
| #define | END_LOCAL_NAMESPACE } NCBI_EAT_SEMICOLON(ns) |
| #define | NCBI_AS_STRING(value) NCBI_AS_STRING2(value) |
| Convert some value to string even if this value is macro itself. More... | |
| #define | NCBI_AS_STRING2(value) #value |
| #define | EMPTY_TEMPLATE template<> |
Typedefs | |
| typedef std::string | CStringUTF8 |
Functions | |
| template<typename Iter > | |
| void | iter_swap (Iter it1, Iter it2) |
| template<typename Type_ > | |
| static supported | cxx_is_supported< TypeChecker, Type >::chk (typename std::decay< TypeChecker< Type_ >>::type *) |
| template<typename Type_ > | |
| static not_supported | cxx_is_supported< TypeChecker, Type >::chk (...) |
Variables | |
| static constexpr bool | cxx_is_supported< TypeChecker, Type >::value = std::is_same<decltype(chk<Type>(nullptr)), supported>::value |
| #define BEGIN_LOCAL_NAMESPACE namespace { NCBI_EAT_SEMICOLON(ns) |
Definition at line 149 of file ncbistl.hpp.
| #define BEGIN_NAMESPACE | ( | ns | ) | namespace ns { NCBI_EAT_SEMICOLON(ns) |
Definition at line 137 of file ncbistl.hpp.
| #define BEGIN_NCBI_NAMESPACE BEGIN_NAMESPACE(NCBI_NS_NCBI) |
Definition at line 141 of file ncbistl.hpp.
| #define BEGIN_NCBI_SCOPE BEGIN_SCOPE(ncbi) |
Define ncbi namespace.
Place at beginning of file for NCBI related code.
Definition at line 101 of file ncbistl.hpp.
| #define BEGIN_SCOPE | ( | ns | ) | namespace ns { |
Define a new scope.
Definition at line 81 of file ncbistl.hpp.
| #define BEGIN_STD_NAMESPACE BEGIN_NAMESPACE(NCBI_NS_STD) |
Definition at line 145 of file ncbistl.hpp.
| #define BEGIN_STD_SCOPE BEGIN_SCOPE(std) |
Place it for adding new funtionality to STD scope.
Definition at line 93 of file ncbistl.hpp.
| #define EMPTY_TEMPLATE template<> |
Definition at line 173 of file ncbistl.hpp.
| #define END_LOCAL_NAMESPACE } NCBI_EAT_SEMICOLON(ns) |
Definition at line 151 of file ncbistl.hpp.
| #define END_NAMESPACE | ( | ns | ) | } NCBI_EAT_SEMICOLON(ns) |
Definition at line 139 of file ncbistl.hpp.
| #define END_NCBI_NAMESPACE END_NAMESPACE(NCBI_NS_NCBI) |
Definition at line 143 of file ncbistl.hpp.
| #define END_NCBI_SCOPE END_SCOPE(ncbi) |
End previously defined NCBI scope.
Definition at line 104 of file ncbistl.hpp.
| #define END_SCOPE | ( | ns | ) | } |
End the previously defined scope.
Definition at line 84 of file ncbistl.hpp.
| #define END_STD_NAMESPACE END_NAMESPACE(NCBI_NS_STD) |
Definition at line 147 of file ncbistl.hpp.
| #define END_STD_SCOPE END_SCOPE(std) |
End previously defined STD scope.
Definition at line 96 of file ncbistl.hpp.
| #define NCBI_AS_STRING | ( | value | ) | NCBI_AS_STRING2(value) |
Convert some value to string even if this value is macro itself.
Definition at line 166 of file ncbistl.hpp.
Definition at line 167 of file ncbistl.hpp.
| #define NCBI_EAT_SEMICOLON | ( | UniqueName | ) | using ::DummyNS::CDummyClassToEatSemicolon |
Definition at line 132 of file ncbistl.hpp.
| #define NCBI_NAME2 | ( | Name1, | |
| Name2 | |||
| ) | Name1##Name2 |
Name concatenation macro with two names.
NB: If this names are macros themselves expanding will not take place.
Definition at line 119 of file ncbistl.hpp.
| #define NCBI_NAME3 | ( | Name1, | |
| Name2, | |||
| Name3 | |||
| ) | Name1##Name2##Name3 |
Name concatenation macro with three names.
NB: If this names are macros themselves expanding will not take place.
Definition at line 124 of file ncbistl.hpp.
| #define NCBI_NS_NCBI ncbi |
Definition at line 77 of file ncbistl.hpp.
| #define NCBI_NS_STD std |
Definition at line 75 of file ncbistl.hpp.
| #define NCBI_USING_NAMESPACE_STD using namespace std |
Use the std namespace.
Definition at line 90 of file ncbistl.hpp.
| #define NCBISTL_ENABLE_DEPRECATED 1 |
Definition at line 71 of file ncbistl.hpp.
| BEGIN_IDBLOB_SCOPE USING_NCBI_SCOPE USING_SCOPE(ncbi) |
For using NCBI namespace code.
Definition at line 107 of file ncbistl.hpp.
Referenced by Java_org_ncbi_toolkit_NcbiToolkit_attachNcbiLogHandler0(), Java_org_ncbi_toolkit_NcbiToolkit_init0(), JNI_OnLoad(), and NcbiSys_main().
| #define USING_SCOPE | ( | ns | ) | using namespace ns |
Use the specified namespace.
Definition at line 87 of file ncbistl.hpp.
| typedef std::string CStringUTF8 |
Definition at line 253 of file ncbistl.hpp.
|
static |
|
static |
|
inline |
Definition at line 189 of file ncbistl.hpp.
References swap().
Referenced by CPhyloSaveSelectiondlg::OnBitmapbuttonDownClick(), and CPhyloSaveSelectiondlg::OnBitmapbuttonUpClick().
|
staticconstexpr |
Definition at line 281 of file ncbistl.hpp.