ChimeraTK-DeviceAccess 03.31.00
Loading...
Searching...
No Matches
VariantUserTypes.h File Reference
#include "Boolean.h"
#include "Void.h"
#include <cstdint>
#include <variant>
+ Include dependency graph for VariantUserTypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ChimeraTK
 This header collects some conversion routines which should be useful both for ApplicationCore Python bindings and DeviceAccess Python bindings.
 

Typedefs

using ChimeraTK::UserTypeVariant = std::variant< ChimeraTK::Boolean, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, float, double, std::string, ChimeraTK::Void >
 Convenience type definition of a std::variant with all possible UserTypes.
 
using ChimeraTK::UserTypeVariantNoVoid = std::variant< ChimeraTK::Boolean, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, float, double, std::string >
 Like UserTypeVariant but without ChimeraTK::Void.
 
template<template< typename > class TPL>
using ChimeraTK::UserTypeTemplateVariant = std::variant< TPL< ChimeraTK::Boolean >, TPL< int8_t >, TPL< uint8_t >, TPL< int16_t >, TPL< uint16_t >, TPL< int32_t >, TPL< uint32_t >, TPL< int64_t >, TPL< uint64_t >, TPL< float >, TPL< double >, TPL< std::string >, TPL< ChimeraTK::Void > >
 Convenience type definition of a std::variant with the given class template instantiated for all all possible UserTypes.
 
template<template< typename > class TPL>
using ChimeraTK::UserTypeTemplateVariantNoVoid = std::variant< TPL< ChimeraTK::Boolean >, TPL< int8_t >, TPL< uint8_t >, TPL< int16_t >, TPL< uint16_t >, TPL< int32_t >, TPL< uint32_t >, TPL< int64_t >, TPL< uint64_t >, TPL< float >, TPL< double >, TPL< std::string > >
 Like UserTypeTemplateVariant but without ChimeraTK::Void.