Zivid C++ API 2.13.1+18e79e79-1
Zivid::DataModel Namespace Reference

Classes

struct  HasValidRange
 Check if T has a ValidRange constraint. More...
 
struct  HasValidSize
 Check if T has a ValidSize constraint. More...
 
struct  HasValidValues
 Check if data model type T has a ValidValues constraint. More...
 
struct  IsOptional
 

Typedefs

template<typename T >
using IsDataModelType = typename Detail::IsDataModelType<T>::type
 Check if T is a data model type.
 
template<typename T >
using IsDataModelLeaf = typename Detail::IsDataModelLeaf<T>::Type
 Check if T is a data model leaf type.
 

Enumerations

enum class  NodeType { group , leafDataModelList , leafValue }
 

Functions

ZIVID_CORE_EXPORT std::ostream & operator<< (std::ostream &stream, NodeType nodeType)
 

Typedef Documentation

◆ IsDataModelLeaf

template<typename T >
using Zivid::DataModel::IsDataModelLeaf = typename Detail::IsDataModelLeaf<T>::Type

Check if T is a data model leaf type.

If T is a data model leaf type (T::nodeType equal to either Zivid::DataModel::NodeType::leafValue or Zivid::DataModel::NodeType::leafDataModelList), provides the member constant value equal to true. Otherwise, value is equal to false.

◆ IsDataModelType

template<typename T >
using Zivid::DataModel::IsDataModelType = typename Detail::IsDataModelType<T>::type

Check if T is a data model type.

If T is a data model type (either a group or leaf type), provides the member constant value equal to true. Otherwise, value is equal to false.

Enumeration Type Documentation

◆ NodeType

enum class Zivid::DataModel::NodeType
strong
Enumerator
group 
leafDataModelList 
leafValue 

Function Documentation

◆ operator<<()

ZIVID_CORE_EXPORT std::ostream & Zivid::DataModel::operator<< ( std::ostream & stream,
NodeType nodeType )