CbmRoot
|
Classes | |
class | Dump |
struct | GetFmtTag |
struct | GetFmtTag< T, std::void_t< decltype(T::FormatAs)> > |
struct | has_type |
struct | has_type< T, std::tuple< Us... > > |
struct | is_std_array |
struct | is_std_array< std::array< T, N > > |
struct | is_std_map |
struct | is_std_map< std::map< K, V, C, A > > |
struct | is_std_set |
struct | is_std_set< std::set< K, C, A > > |
struct | is_std_unordered_set |
struct | is_std_unordered_set< std::unordered_set< K, H, E, A > > |
struct | is_std_vector |
struct | is_std_vector< std::vector< T, A > > |
class | Property |
struct | ShouldMergeProperty |
struct | ShouldMergeProperty< T, std::void_t< decltype(T::MergeProperty)> > |
Typedefs | |
using | FundamentalTypes |
Functions | |
template<typename T , typename = std::enable_if_t<IsFundamental<T>>> | |
constexpr std::string_view | Typename () |
template<typename Class , typename T > | |
Property (T Class::*member, std::string_view key, std::string_view description) -> Property< Class, T > | |
template<typename T > | |
T | Read (const YAML::Node &node) |
template<typename T , T... Values, typename Func > | |
constexpr void | ForEach (std::integer_sequence< T, Values... >, Func &&func) |
template<typename T > | |
T | ReadFromFile (fs::path path) |
template<typename T > | |
std::string | MakeDocString (int indent=0) |
Variables | |
template<typename T > | |
constexpr bool | IsFundamental = has_type<T, FundamentalTypes>::value |
template<typename T > | |
constexpr bool | IsEnum = std::is_enum_v<T> |
template<typename T > | |
constexpr bool | IsScalar = IsFundamental<T> || IsEnum<T> |
template<typename T > | |
constexpr bool | IsVector = is_std_vector<T>::value |
template<typename T > | |
constexpr bool | IsArray = is_std_array<T>::value |
template<typename T > | |
constexpr bool | IsMap = is_std_map<T>::value |
template<typename T > | |
constexpr bool | IsSet = is_std_set<T>::value || is_std_unordered_set<T>::value |
Definition at line 20 of file BaseTypes.h.
|
constexpr |
Definition at line 25 of file Yaml.h.
Referenced by MakeDocString(), and Read().
std::string cbm::algo::yaml::MakeDocString | ( | int | indent = 0 | ) |
Definition at line 151 of file Yaml.h.
References ForEach(), IsArray, IsFundamental, IsVector, and Typename().
cbm::algo::yaml::Property | ( | T Class::* | member, |
std::string_view | key, | ||
std::string_view | description ) -> Property< Class, T > |
T cbm::algo::yaml::Read | ( | const YAML::Node & | node | ) |
Definition at line 59 of file Yaml.h.
References cbm::algo::detail::EnumHasDict_v, ForEach(), cbm::algo::FromString(), IsArray, IsEnum, IsFundamental, IsMap, IsScalar, IsSet, IsVector, and Read().
Referenced by Read(), ReadFromFile(), CbmQaIO::ReadSpecificConfig(), TEST(), and TEST().
T cbm::algo::yaml::ReadFromFile | ( | fs::path | path | ) |
Definition at line 51 of file Yaml.h.
References Read().
Referenced by CbmTaskUnpack::CbmTaskUnpack(), cbm::algo::Reco::Init(), cbm::algo::tof::TrackingInterface::Init(), cbm::algo::TrackingChain::Init(), CbmGenerateMaterialMaps::Init(), CbmTaskTrdHitFinder::Init(), and CbmTaskTofClusterizer::InitAlgos().
|
constexpr |
Definition at line 51 of file BaseTypes.h.
Referenced by MakeDocString().
|
constexpr |
Definition at line 108 of file BaseTypes.h.
Referenced by MakeDocString(), and Read().
|
constexpr |
Definition at line 45 of file BaseTypes.h.
Referenced by Read().
|
constexpr |
Definition at line 42 of file BaseTypes.h.
Referenced by MakeDocString(), and Read().
|
constexpr |
Definition at line 119 of file BaseTypes.h.
Referenced by Read().
|
constexpr |
Definition at line 48 of file BaseTypes.h.
Referenced by Read().
|
constexpr |
Definition at line 138 of file BaseTypes.h.
Referenced by Read().
|
constexpr |
Definition at line 97 of file BaseTypes.h.
Referenced by MakeDocString(), and Read().