NCBI C++ ToolKit
Public Types | Static Public Member Functions | Static Public Attributes | Static Protected Member Functions | List of all members
CCaseRegistry Class Reference

Search Toolkit Book for CCaseRegistry

+ Collaboration diagram for CCaseRegistry:

Public Types

using TArray = std::array< const CDiscrepancyCaseProps **, num_test_cases >
 
using TAliasMap = map< string_view, eTestNames >
 

Static Public Member Functions

static constexpr TArray PopulateTests ()
 
static const TTestNamesSetGetAutofixTests ()
 
static const TAliasMapGetAliasMap ()
 
static const CDiscrepancyCasePropsGetProps (eTestNames name)
 

Static Public Attributes

static constexpr size_t num_test_cases = static_cast<size_t>(eTestNames::max_test_names)
 

Static Protected Member Functions

template<size_t i>
static constexpr auto xGetProps ()
 
template<std::size_t... I>
static constexpr TArray xAssembleArray (std::index_sequence< I... >)
 

Detailed Description

Definition at line 47 of file discrepancy_core.cpp.

Member Typedef Documentation

◆ TAliasMap

using CCaseRegistry::TAliasMap = map<string_view, eTestNames>

Definition at line 53 of file discrepancy_core.cpp.

◆ TArray

Definition at line 51 of file discrepancy_core.cpp.

Member Function Documentation

◆ GetAliasMap()

const CCaseRegistry::TAliasMap & CCaseRegistry::GetAliasMap ( )
static

Definition at line 107 of file discrepancy_core.cpp.

References xPopulateAliases().

Referenced by GetDiscrepancyCaseName().

◆ GetAutofixTests()

static const TTestNamesSet& CCaseRegistry::GetAutofixTests ( )
inlinestatic

Definition at line 81 of file discrepancy_core.cpp.

Referenced by GetDiscrepancyTests().

◆ GetProps()

const CDiscrepancyCaseProps & CCaseRegistry::GetProps ( eTestNames  name)
static

◆ PopulateTests()

static constexpr TArray CCaseRegistry::PopulateTests ( )
inlinestaticconstexpr

Definition at line 77 of file discrepancy_core.cpp.

◆ xAssembleArray()

template<std::size_t... I>
static constexpr TArray CCaseRegistry::xAssembleArray ( std::index_sequence< I... >  )
inlinestaticconstexprprotected

Definition at line 70 of file discrepancy_core.cpp.

◆ xGetProps()

template<size_t i>
static constexpr auto CCaseRegistry::xGetProps ( )
inlinestaticconstexprprotected

Definition at line 57 of file discrepancy_core.cpp.

References i.

Member Data Documentation

◆ num_test_cases

constexpr size_t CCaseRegistry::num_test_cases = static_cast<size_t>(eTestNames::max_test_names)
staticconstexpr

Definition at line 50 of file discrepancy_core.cpp.


The documentation for this class was generated from the following file:
Modified on Tue May 21 10:58:50 2024 by modify_doxy.py rev. 669887