VariantReader Class Reference

#include <RobotAPI/libraries/aron/core/data/rw/reader/variant/VariantReader.h>

+ Inheritance diagram for VariantReader:

Public Member Functions

data::Descriptor getDescriptor (InputType &input) final
 
void readBool (InputType &input, bool &i, Path &p) final
 
void readDict (InputType &input, std::map< std::string, InputTypeNonConst > &elements, Path &p) final
 
void readDouble (InputType &input, double &i, Path &p) final
 
void readFloat (InputType &input, float &i, Path &p) final
 
void readInt (InputType &input, int &i, Path &p) final
 
void readList (InputType &input, std::vector< InputTypeNonConst > &elements, Path &p) final
 
void readLong (InputType &input, long &i, Path &p) final
 
void readNDArray (InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data, Path &p) final
 
void readString (InputType &input, std::string &s, Path &p) final
 
 VariantReader ()=default
 
- Public Member Functions inherited from ReaderInterface< const data::VariantPtr >
void readBool (InputType &input, bool &i)
 
void readDict (InputType &input, std::map< std::string, InputTypeNonConst > &elements)
 
void readDouble (InputType &input, double &i)
 
void readFloat (InputType &input, float &i)
 
void readInt (InputType &input, int &i)
 
void readList (InputType &input, std::vector< InputTypeNonConst > &elements)
 
void readLong (InputType &input, long &i)
 
void readNDArray (InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data)
 
virtual bool readNull (InputType &input)
 
void readPrimitive (InputType &input, bool &i)
 
void readPrimitive (InputType &input, bool &i, Path &p)
 
void readPrimitive (InputType &input, double &i)
 
void readPrimitive (InputType &input, double &i, Path &p)
 
void readPrimitive (InputType &input, float &i)
 
void readPrimitive (InputType &input, float &i, Path &p)
 
void readPrimitive (InputType &input, int &i)
 
void readPrimitive (InputType &input, int &i, Path &p)
 
void readPrimitive (InputType &input, long &i)
 
void readPrimitive (InputType &input, long &i, Path &p)
 
void readPrimitive (InputType &input, std::string &i)
 
void readPrimitive (InputType &input, std::string &i, Path &p)
 
void readString (InputType &input, std::string &s)
 
virtual ~ReaderInterface ()=default
 

Additional Inherited Members

- Public Types inherited from ReaderInterface< const data::VariantPtr >
using InputType = const data::VariantPtr
 
using InputTypeNonConst = typename std::remove_const< InputType >::type
 

Detailed Description

Definition at line 36 of file VariantReader.h.

Constructor & Destructor Documentation

◆ VariantReader()

VariantReader ( )
default

Member Function Documentation

◆ getDescriptor()

data::Descriptor getDescriptor ( InputType input)
finalvirtual

Implements ReaderInterface< const data::VariantPtr >.

Definition at line 36 of file VariantReader.cpp.

+ Here is the call graph for this function:

◆ readBool()

void readBool ( InputType input,
bool &  i,
Path p 
)
finalvirtual

◆ readDict()

void readDict ( InputType input,
std::map< std::string, InputTypeNonConst > &  elements,
Path p 
)
finalvirtual

◆ readDouble()

void readDouble ( InputType input,
double &  i,
Path p 
)
finalvirtual

◆ readFloat()

void readFloat ( InputType input,
float i,
Path p 
)
finalvirtual

◆ readInt()

void readInt ( InputType input,
int &  i,
Path p 
)
finalvirtual

◆ readList()

void readList ( InputType input,
std::vector< InputTypeNonConst > &  elements,
Path p 
)
finalvirtual

◆ readLong()

void readLong ( InputType input,
long &  i,
Path p 
)
finalvirtual

◆ readNDArray()

void readNDArray ( InputType input,
std::vector< int > &  shape,
std::string &  typeAsString,
std::vector< unsigned char > &  data,
Path p 
)
finalvirtual

◆ readString()

void readString ( InputType input,
std::string &  s,
Path p 
)
finalvirtual

The documentation for this class was generated from the following files: