NlohmannJSONReader Class Reference

#include <RobotAPI/libraries/aron/core/data/rw/reader/nlohmannJSON/NlohmannJSONReader.h>

+ Inheritance diagram for NlohmannJSONReader:

Public Member Functions

data::Descriptor getDescriptor (InputType &input) final
 
 NlohmannJSONReader ()=default
 
void readBool (InputType &input, bool &i, Path &p) override
 
void readDict (InputType &input, std::map< std::string, InputTypeNonConst > &elements, Path &p) override
 
void readDouble (InputType &input, double &i, Path &p) override
 
void readFloat (InputType &input, float &i, Path &p) override
 
void readInt (InputType &input, int &i, Path &p) override
 
void readList (InputType &input, std::vector< InputTypeNonConst > &elements, Path &p) override
 
void readLong (InputType &input, long &i, Path &p) override
 
void readNDArray (InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data, Path &p) override
 
void readString (InputType &input, std::string &s, Path &p) override
 
- Public Member Functions inherited from ReaderInterface< const nlohmann::json >
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 nlohmann::json >
using InputType = const nlohmann::json
 
using InputTypeNonConst = typename std::remove_const< InputType >::type
 

Detailed Description

Definition at line 35 of file NlohmannJSONReader.h.

Constructor & Destructor Documentation

◆ NlohmannJSONReader()

NlohmannJSONReader ( )
default

Member Function Documentation

◆ getDescriptor()

data::Descriptor getDescriptor ( InputType input)
finalvirtual

Implements ReaderInterface< const nlohmann::json >.

Definition at line 53 of file NlohmannJSONReader.cpp.

+ Here is the call graph for this function:

◆ readBool()

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

◆ readDict()

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

◆ readDouble()

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

◆ readFloat()

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

◆ readInt()

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

◆ readList()

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

◆ readLong()

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

◆ readNDArray()

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

◆ readString()

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

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