Zivid C++ API 2.14.0+e4a0c4a9-1
Traits.h File Reference
#include <Zivid/DataModel/NodeType.h>
#include <type_traits>

Go to the source code of this file.

Classes

struct  Zivid::DataModel::IsOptional< T >
 
struct  Zivid::DataModel::HasValidRange< T >
 Check if T has a ValidRange constraint. More...
 
struct  Zivid::DataModel::HasValidValues< T >
 Check if data model type T has a ValidValues constraint. More...
 
struct  Zivid::DataModel::HasValidSize< T >
 Check if T has a ValidSize constraint. More...
 

Namespaces

namespace  Zivid
 The main Zivid namespace. All Zivid code is found here.
 
namespace  Zivid::DataModel
 

Typedefs

template<typename T >
using Zivid::DataModel::IsDataModelType = typename Detail::IsDataModelType<T>::type
 Check if T is a data model type.
 
template<typename T >
using Zivid::DataModel::IsDataModelLeaf = typename Detail::IsDataModelLeaf<T>::Type
 Check if T is a data model leaf type.
 
template<typename T >
using Zivid::DataModel::IsNestedDataModelLeaf = typename Detail::IsNestedDataModelLeaf<T>
 Check if T is a nested data model leaf type (a leaf with ValueType being another data model)
 
template<typename T >
using Zivid::DataModel::IsDataModelRoot = typename Detail::IsDataModelRoot<T>::type
 Check if T is the root of a data model.