armarx::aron::data::reader Namespace Reference

Classes

class  NlohmannJSONReader
 
class  NlohmannJSONReaderWithoutTypeCheck
 
class  VariantReader
 

Functions

template<typename T >
void readTo (const nlohmann::json &input, std::vector< unsigned char > &data)
 

Variables

const std::map< std::string, type::matrix::ElementType > ElementTypeAsString
 

Function Documentation

◆ readTo()

void armarx::aron::data::reader::readTo ( const nlohmann::json &  input,
std::vector< unsigned char > &  data 
)

Definition at line 81 of file NlohmannJSONReaderWithoutTypeCheck.cpp.

Variable Documentation

◆ ElementTypeAsString

const std::map<std::string, type::matrix::ElementType> ElementTypeAsString
Initial value:
= {
{"unsigned char", ::armarx::aron::type::matrix::UINT8},
{"unsigned short", ::armarx::aron::type::matrix::UINT16},
{"unsigned int", ::armarx::aron::type::matrix::UINT32},
{"char", ::armarx::aron::type::matrix::INT8},
{"short", ::armarx::aron::type::matrix::INT16},
{"int", ::armarx::aron::type::matrix::INT32},
{"long", ::armarx::aron::type::matrix::INT64},
{"float", ::armarx::aron::type::matrix::FLOAT32},
{"double", ::armarx::aron::type::matrix::FLOAT64}}

Definition at line 68 of file NlohmannJSONReaderWithoutTypeCheck.cpp.