Go to the documentation of this file.
28 #include <SimoxUtility/json.h>
45 std::vector<std::string>& templates,
46 std::vector<std::string>& templateInstantiations,
47 std::map<std::string, InputTypeNonConst>& memberTypes,
49 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
53 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
57 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
59 std::vector<InputTypeNonConst>& acceptedTypes,
61 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
66 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
71 std::string& defaultValue,
73 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
78 std::string& defaultValue,
80 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
83 std::string& defaultValue,
85 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
87 type::pointcloud::VoxelType& type,
88 std::string& defaultValue,
90 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
92 type::image::PixelType& type,
93 std::string& defaultValue,
95 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
99 std::map<std::string, int>& acceptedValues,
100 std::string& defaultValue,
102 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
105 std::optional<int>& defaultValue,
107 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
109 std::optional<long>& defaultValue,
111 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
113 std::optional<float>& defaultValue,
115 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
117 std::optional<double>& defaultValue,
119 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
121 std::optional<std::string>& defaultValue,
123 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
125 std::optional<bool>& defaultValue,
127 Path& p = *std::unique_ptr<Path>(
new Path()))
override;
typename std::remove_const< InputType >::type InputTypeNonConst
void readPointCloud(InputType &input, type::pointcloud::VoxelType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readMatrix(InputType &input, int &rows, int &cols, type::matrix::ElementType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readDouble(InputType &input, std::optional< double > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readPair(InputType &input, InputTypeNonConst &acceptedType1, InputTypeNonConst &acceptedType2, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readIntEnum(InputType &input, std::string &name, std::map< std::string, int > &acceptedValues, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readLong(InputType &input, std::optional< long > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readTuple(InputType &input, std::vector< InputTypeNonConst > &acceptedTypes, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readAnyObject(InputType &input, type::Maybe &maybe, Path &p) override
void readBool(InputType &input, std::optional< bool > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readList(InputType &input, InputTypeNonConst &acceptedType, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
ReaderT::InputType & input
void readQuaternion(InputType &input, type::quaternion::ElementType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readInt(InputType &input, std::optional< int > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readFloat(InputType &input, std::optional< float > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
NlohmannJSONReader()=default
void readNDArray(InputType &input, int &ndim, type::ndarray::ElementType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
type::Descriptor getDescriptor(InputType &input) final
void readDict(InputType &input, InputTypeNonConst &acceptedType, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
std::filesystem::path Path
void readObject(InputType &input, std::string &name, std::vector< std::string > &templates, std::vector< std::string > &templateInstantiations, std::map< std::string, InputTypeNonConst > &memberTypes, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readImage(InputType &input, type::image::PixelType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
void readString(InputType &input, std::optional< std::string > &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
The ReaderInterface class.