CbmRoot
Loading...
Searching...
No Matches
BaseTypes.h File Reference
#include "Definitions.h"
#include <array>
#include <map>
#include <set>
#include <string>
#include <tuple>
#include <unordered_set>
#include <vector>
Include dependency graph for BaseTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cbm::algo::yaml::has_type< T, std::tuple< Us... > >
 
struct  cbm::algo::yaml::is_std_vector< typename >
 
struct  cbm::algo::yaml::is_std_vector< std::vector< T, A > >
 
struct  cbm::algo::yaml::is_std_array< typename >
 
struct  cbm::algo::yaml::is_std_array< std::array< T, N > >
 
struct  cbm::algo::yaml::is_std_map< typename >
 
struct  cbm::algo::yaml::is_std_map< std::map< K, V, C, A > >
 
struct  cbm::algo::yaml::is_std_set< typename >
 
struct  cbm::algo::yaml::is_std_set< std::set< K, C, A > >
 
struct  cbm::algo::yaml::is_std_unordered_set< typename >
 
struct  cbm::algo::yaml::is_std_unordered_set< std::unordered_set< K, H, E, A > >
 

Namespaces

namespace  cbm
 
namespace  cbm::algo
 
namespace  cbm::algo::yaml
 

Typedefs

using cbm::algo::yaml::FundamentalTypes
 

Functions

template<typename T , typename = std::enable_if_t<IsFundamental<T>>>
constexpr std::string_view cbm::algo::yaml::Typename ()
 

Variables

template<typename T >
constexpr bool cbm::algo::yaml::IsFundamental = has_type<T, FundamentalTypes>::value
 
template<typename T >
constexpr bool cbm::algo::yaml::IsEnum = std::is_enum_v<T>
 
template<typename T >
constexpr bool cbm::algo::yaml::IsScalar = IsFundamental<T> || IsEnum<T>
 
template<typename T >
constexpr bool cbm::algo::yaml::IsVector = is_std_vector<T>::value
 
template<typename T >
constexpr bool cbm::algo::yaml::IsArray = is_std_array<T>::value
 
template<typename T >
constexpr bool cbm::algo::yaml::IsMap = is_std_map<T>::value
 
template<typename T >
constexpr bool cbm::algo::yaml::IsSet = is_std_set<T>::value || is_std_unordered_set<T>::value