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

Unit support utilities. More...

#include <datatools/properties.h>
#include <datatools/i_tree_dump.h>
#include <datatools/reflection_interface.h>

Go to the source code of this file.

Classes

class  datatools::introspection::unit_info
 Unit information associated to a parameter. More...
 

Namespaces

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

Enumerations

enum  datatools::introspection::unit_support_type { datatools::introspection::UNIT_SUPPORT_INVALID = -1, datatools::introspection::UNIT_SUPPORT_NONE = 0, datatools::introspection::UNIT_SUPPORT_IMPLICIT_UNIT = 1, datatools::introspection::UNIT_SUPPORT_EXPLICIT_DIMENSION = 2 }
 Unit support type for real parameters. More...
 

Functions

const std::string & datatools::introspection::to_string (unit_support_type)
 Convert an unit support type to a string. More...
 
bool datatools::introspection::from_string (const std::string &label_, unit_support_type &us_)
 Convert a string to an unit support type. More...
 
unit_support_type datatools::introspection::from_label_to_unit_support (const std::string &label_)
 Convert a string to an unit support type. More...
 
bool datatools::introspection::is_valid (unit_support_type)
 Check the validity of an unit support type. More...
 
bool datatools::introspection::is_no_unit_support (unit_support_type)
 Check if an unit support type is none. More...
 
bool datatools::introspection::is_implicit_unit (unit_support_type)
 Check if an unit support type is implicit unit. More...
 
bool datatools::introspection::is_explicit_unit_dimension (unit_support_type)
 Check if an unit support type is explicit dimension. More...
 

Detailed Description

Unit support utilities.