forpy  2
storage.h File Reference
#include <mapbox/variant_cast.hpp>
#include "./serialization/variant.h"

Go to the source code of this file.

Classes

struct  forpy::ptr_variant< Ts >
 
struct  forpy::Empty
 A struct to represent an empty variant. More...
 
struct  forpy::MatEqVis
 Comparison visitor. More...
 
struct  forpy::VReset
 Call the reset operation on a pointer variant. More...
 
struct  forpy::get_core< T >
 Get the core datatype with removed pointer, reference and const modifiers. More...
 

Namespaces

 forpy
 

Macros

#define FORPY_UTIL_STORAGE_H_
 

Typedefs

template<template< typename > class STOT>
using forpy::DataStore = typename mu::variant< std::shared_ptr< const STOT< float > >, std::shared_ptr< const STOT< double > >, std::shared_ptr< const STOT< uint > >, std::shared_ptr< const STOT< uint8_t > >>
 Variant for storing shared_ptrs to the stored data matrix type. More...
 
template<template< typename > class STOT>
using forpy::Data = typename mu::variant< Empty, STOT< float >, STOT< double >, STOT< uint >, STOT< uint8_t > >
 Storing a variant of the provided data container type. More...
 
using forpy::DataV = typename mu::variant< std::vector< float >, std::vector< double >, std::vector< uint >, std::vector< uint8_t > >
 

Functions

template<typename V , class... VarArgs>
forpy::GetWithDefVar (const std::unordered_map< std::string, mu::variant< VarArgs... >> &m, std::string const &key, const V &defval)
 

Macro Definition Documentation

◆ FORPY_UTIL_STORAGE_H_

#define FORPY_UTIL_STORAGE_H_

Definition at line 3 of file storage.h.