Descriptor.h File Reference
#include <memory>
#include <typeindex>
#include <typeinfo>
#include <map>
#include <string>
#include <SimoxUtility/algorithm/string.h>
#include <RobotAPI/interface/aron.h>
+ Include dependency graph for Descriptor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::aron
 
 armarx::aron::conversion
 
 armarx::aron::conversion::util
 
 armarx::aron::data
 A convenience header to include all aron files (full include, not forward declared)
 
 armarx::aron::data::defaultconversion
 
 armarx::aron::data::defaultconversion::string
 
 armarx::aron::data::defaultconversion::typeinfo
 
 armarx::aron::type
 A convenience header to include all aron files (full include, not forward declared)
 
 armarx::aron::type::defaultconversion
 
 armarx::aron::type::defaultconversion::string
 
 armarx::aron::type::defaultconversion::typeinfo
 

Enumerations

enum  Descriptor {
  LIST, OBJECT, TUPLE, PAIR,
  DICT, NDARRAY, MATRIX, QUATERNION,
  POINTCLOUD, IMAGE, INT_ENUM, INT,
  LONG, FLOAT, DOUBLE, BOOL,
  STRING, ANY_OBJECT, UNKNOWN = -1
}
 
enum  Descriptor {
  LIST, DICT, NDARRAY, INT,
  LONG, FLOAT, DOUBLE, STRING,
  BOOL, UNKNOWN = -1
}
 

Functions

data::Descriptor Aron2Descriptor (const data::dto::GenericData &t)
 
type::Descriptor Aron2Descriptor (const type::dto::GenericType &t)
 
template<class T >
std::map< T, std::string > InvertMap (const std::map< std::string, T > &m)
 
template<class T >
std::map< std::string, TInvertMap (const std::map< T, std::string > &m)
 
template<class T1 , class T2 >
std::map< T2, T1 > InvertMap (const std::map< T1, T2 > &m)
 

Variables

const std::vector< type::Descriptor > AllDescriptors
 
const std::vector< data::Descriptor > AllDescriptors
 
const std::vector< type::Maybe > AllMaybeTypes
 
const std::map< Descriptor, aron::type::Descriptor > Data2TypeDescriptor
 
const std::map< type::Descriptor, std::string > Descriptor2String
 
const std::map< data::Descriptor, std::string > Descriptor2String
 
const std::map< type::Maybe, std::string > Maybe2String
 
const std::map< aron::type::Descriptor, Descriptor > Type2DataDescriptor
 
const std::map< size_t, Descriptor > TypeId2Descriptor
 
const std::map< size_t, Descriptor > TypeId2Descriptor