NCBI C++ ToolKit
Classes | Macros | Functions | Variables
discrepancy_core.cpp File Reference
#include <ncbi_pch.hpp>
#include "discrepancy_core.hpp"
#include "utils.hpp"
#include <algorithm>
#include <sstream>
#include <objmgr/object_manager.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/util/sequence.hpp>
#include <serial/objcopy.hpp>
#include <util/compress/stream_util.hpp>
#include <util/format_guess.hpp>
#include <valarray>
+ Include dependency graph for discrepancy_core.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.


class  CCaseRegistry




 USING_SCOPE (objects)
static CCaseRegistry::TAliasMap xPopulateAliases ()
std::ostream & operator<< (std::ostream &str, NDiscrepancy::eTestNames name)
eTestNames GetDiscrepancyCaseName (string_view name)
string_view GetDiscrepancyCaseName (eTestNames name)
vector< string_view > GetDiscrepancyAliases (eTestNames name)
string_view GetDiscrepancyDescr (string_view name)
string_view GetDiscrepancyDescr (eTestNames name)
TGroup GetDiscrepancyGroup (eTestNames name)
TGroup GetDiscrepancyGroup (string_view name)
vector< stringGetDiscrepancyNames (TGroup group)
TTestNamesSet GetDiscrepancyTests (TGroup group)


static constexpr CCaseRegistry::TArray g_test_registry = CCaseRegistry::PopulateTests()

Macro Definition Documentation


if (test->GetType() == eTestTypes::type) { \
auto* p = test.GetPointer(); \
m_All_##type.push_back(p); \
return; \
#define test(a, b, c, d, e)
Definition: numeric.c:170
static int type
Definition: getdata.c:31
Definition: type.c:6

Function Documentation

◆ GetDiscrepancyAliases()

vector<string_view> GetDiscrepancyAliases ( eTestNames  name)

◆ GetDiscrepancyCaseName() [1/2]

string_view GetDiscrepancyCaseName ( eTestNames  name)

◆ GetDiscrepancyCaseName() [2/2]

eTestNames GetDiscrepancyCaseName ( string_view  name)

◆ GetDiscrepancyDescr() [1/2]

string_view GetDiscrepancyDescr ( eTestNames  name)

◆ GetDiscrepancyDescr() [2/2]

string_view GetDiscrepancyDescr ( string_view  name)

Definition at line 170 of file discrepancy_core.cpp.

References GetDiscrepancyCaseName().

◆ GetDiscrepancyGroup() [1/2]

TGroup GetDiscrepancyGroup ( eTestNames  name)

◆ GetDiscrepancyGroup() [2/2]

TGroup GetDiscrepancyGroup ( string_view  name)

Definition at line 185 of file discrepancy_core.cpp.

References GetDiscrepancyCaseName(), and GetDiscrepancyGroup().

◆ GetDiscrepancyNames()

vector<string> GetDiscrepancyNames ( TGroup  group)

Definition at line 190 of file discrepancy_core.cpp.

References GetDiscrepancyCaseName(), GetDiscrepancyTests(), names, string, and tests.

Referenced by BOOST_AUTO_TEST_CASE().

◆ GetDiscrepancyTests()

TTestNamesSet GetDiscrepancyTests ( TGroup  group)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  str,
NDiscrepancy::eTestNames  name 

Definition at line 125 of file discrepancy_core.cpp.

References GetDiscrepancyCaseName(), and str().


USING_SCOPE ( objects  )

◆ xPopulateAliases()

static CCaseRegistry::TAliasMap xPopulateAliases ( )

Definition at line 93 of file discrepancy_core.cpp.

References g_test_registry, and i.

Referenced by CCaseRegistry::GetAliasMap().

Variable Documentation

◆ g_test_registry

constexpr CCaseRegistry::TArray g_test_registry = CCaseRegistry::PopulateTests()
Modified on Tue May 21 10:57:54 2024 by rev. 669887