Bayeux  3.4.1
Core Foundation library for SuperNEMO
Namespaces | Enumerations | Functions
data_layout.h File Reference

Data layout information. More...

#include <string>
#include <datatools/reflection_interface.h>

Go to the source code of this file.

Namespaces

 datatools
 The Bayeux/datatools library top-level namespace.
 
 datatools::introspection
 Nested namespace of the Bayeux/datatools module library.
 

Enumerations

enum  datatools::introspection::data_layout { datatools::introspection::DATA_LAYOUT_INVALID = 0, datatools::introspection::DATA_LAYOUT_SCALAR = 1, datatools::introspection::DATA_LAYOUT_VECTOR_WITH_FIXED_SIZE = 2, datatools::introspection::DATA_LAYOUT_VECTOR_WITH_FREE_SIZE = 3 }
 Layout (scalar/vector) of the data. More...
 

Functions

const std::string & datatools::introspection::to_string (data_layout)
 Convert a data layout to a string. More...
 
bool datatools::introspection::from_string (const std::string &label_, data_layout &layout_)
 Convert a string to a data layout. More...
 
bool datatools::introspection::is_valid (data_layout)
 Check the validity of a data layout. More...
 
bool datatools::introspection::is_scalar (data_layout)
 Check if a data layout is scalar. More...
 
bool datatools::introspection::is_vector (data_layout)
 Check if a data layout is vector. More...
 

Detailed Description

Data layout information.