NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <util/static_set.hpp>
#include <corelib/ncbi_param.hpp>
#include <corelib/ncbi_stack.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
NCBI_PARAM_DEF_EX (bool, NCBI, STATIC_ARRAY_COPY_WARNING, false, eParam_NoThread, NCBI_STATIC_ARRAY_COPY_WARNING) | |
NCBI_PARAM_DEF_EX (bool, NCBI, STATIC_ARRAY_UNSAFE_TYPE_WARNING, true, eParam_NoThread, NCBI_STATIC_ARRAY_UNSAFE_TYPE_WARNING) | |
BEGIN_NAMESPACE (NStaticArray) | |
DEFINE_CLASS_STATIC_FAST_MUTEX (IObjectConverter::sx_InitMutex) | |
void | ReportUnsafeStaticType (const char *type_name, const char *file, int line) |
Log error message about non-MT-safe static type (string, pair<>) if it's configured by TParamStaticArrayUnsafeTypeWarning parameter. More... | |
void | ReportIncorrectOrder (size_t curr_index, const char *file, int line) |
Log error message about wrong order of elements in array and abort. More... | |
END_NAMESPACE (NStaticArray) | |
Variables | |
BEGIN_NCBI_NAMESPACE | |
END_NCBI_NAMESPACE | |
BEGIN_NAMESPACE | ( | NStaticArray | ) |
DEFINE_CLASS_STATIC_FAST_MUTEX | ( | IObjectConverter::sx_InitMutex | ) |
END_NAMESPACE | ( | NStaticArray | ) |
NCBI_PARAM_DEF_EX | ( | bool | , |
NCBI | , | ||
STATIC_ARRAY_COPY_WARNING | , | ||
false | , | ||
eParam_NoThread | , | ||
NCBI_STATIC_ARRAY_COPY_WARNING | |||
) |
NCBI_PARAM_DEF_EX | ( | bool | , |
NCBI | , | ||
STATIC_ARRAY_UNSAFE_TYPE_WARNING | , | ||
true | , | ||
eParam_NoThread | , | ||
NCBI_STATIC_ARRAY_UNSAFE_TYPE_WARNING | |||
) |
Log error message about wrong order of elements in array and abort.
Definition at line 142 of file static_set.cpp.
References eDiag_Fatal, eDPF_Default, eDPF_File, eDPF_Line, eDPF_LongFilename, ErrCode, file, CNcbiDiag::GetRef(), NCBI_CURRENT_FUNCTION, NCBI_ERRCODE_X_NAME, NCBI_MAKE_MODULE, and NCBI_MODULE.
Referenced by CStaticArraySearchBase< NStaticArray::PKeyValuePair< SStaticPair< KeyType, ValueType > >, less< KeyType > >::x_Validate().
Log error message about non-MT-safe static type (string, pair<>) if it's configured by TParamStaticArrayUnsafeTypeWarning parameter.
Definition at line 118 of file static_set.cpp.
References eDiag_Warning, eDPF_Default, eDPF_File, eDPF_Line, eDPF_LongFilename, ErrCode, file, CNcbiDiag::GetRef(), NCBI_CURRENT_FUNCTION, NCBI_ERRCODE_X_NAME, NCBI_MAKE_MODULE, and NCBI_MODULE.
Referenced by CheckStaticType().
BEGIN_NCBI_NAMESPACE |
Definition at line 37 of file static_set.cpp.
END_NCBI_NAMESPACE |
Definition at line 168 of file static_set.cpp.