Go to the documentation of this file.
45 std::vector<std::string>& templates,
46 std::vector<std::string>& templateInstantiations,
47 std::map<std::string, aron::type::VariantPtr>& memberTypes,
54 name = o->getObjectName();
55 templates = o->getTemplates();
56 templateInstantiations = o->getTemplateInstantiations();
57 maybe = o->getMaybe();
58 memberTypes = o->getMemberTypes();
71 maybe = o->getMaybe();
72 acceptedType = o->getAcceptedType();
85 maybe = o->getMaybe();
86 acceptedType = o->getAcceptedType();
92 std::vector<aron::type::VariantPtr>& acceptedTypes,
99 maybe = o->getMaybe();
100 acceptedTypes = o->getAcceptedTypes();
114 maybe = o->getMaybe();
115 acceptedType1 = o->getAcceptedTypes().first;
116 acceptedType2 = o->getAcceptedTypes().second;
124 std::string& defaultValue,
131 maybe = o->getMaybe();
132 ndim = o->getNumberDimensions();
133 type = o->getElementType();
134 defaultValue = o->getDefaultValue();
143 std::string& defaultValue,
150 maybe = o->getMaybe();
153 type = o->getElementType();
154 defaultValue = o->getDefaultValue();
161 std::string& defaultValue,
168 maybe = o->getMaybe();
169 type = o->getElementType();
170 defaultValue = o->getDefaultValue();
176 type::pointcloud::VoxelType& type,
177 std::string& defaultValue,
184 maybe = o->getMaybe();
185 type = o->getVoxelType();
186 defaultValue = o->getDefaultValue();
192 type::image::PixelType& type,
193 std::string& defaultValue,
200 maybe = o->getMaybe();
201 type = o->getPixelType();
202 defaultValue = o->getDefaultValue();
209 std::map<std::string, int>& acceptedValues,
210 std::string& defaultValue,
217 name = o->getEnumName();
218 acceptedValues = o->getAcceptedValueMap();
219 maybe = o->getMaybe();
220 defaultValue = o->getDefaultValueName();
226 std::optional<int>& defaultValue,
233 maybe = o->getMaybe();
234 defaultValue = o->getDefaultValue();
240 std::optional<long>& defaultValue,
247 maybe = o->getMaybe();
248 defaultValue = o->getDefaultValue();
254 std::optional<float>& defaultValue,
261 maybe = o->getMaybe();
262 defaultValue = o->getDefaultValue();
268 std::optional<double>& defaultValue,
275 maybe = o->getMaybe();
276 defaultValue = o->getDefaultValue();
282 std::optional<std::string>& defaultValue,
289 maybe = o->getMaybe();
290 defaultValue = o->getDefaultValue();
296 std::optional<bool>& defaultValue,
303 maybe = o->getMaybe();
304 defaultValue = o->getDefaultValue();
314 maybe = o->getMaybe();
void readTuple(InputType &input, std::vector< InputTypeNonConst > &acceptedTypes, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
std::shared_ptr< Variant > VariantPtr
void readDouble(InputType &input, std::optional< double > &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
void readString(InputType &input, std::optional< std::string > &defaultValue, 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 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
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
type::Descriptor getDescriptor(InputType &input) final
const aron::type::VariantPtr InputType
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 readNDArray(InputType &input, int &ndim, type::ndarray::ElementType &type, std::string &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
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 readAnyObject(InputType &input, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
ReaderT::InputType & input
void readBool(InputType &input, std::optional< bool > &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 readPointCloud(InputType &input, type::pointcloud::VoxelType &type, std::string &defaultValue, type::Maybe &maybe, Path &p= *std::unique_ptr< Path >(new Path())) override
static std::shared_ptr< Object > DynamicCastAndCheck(const VariantPtr &n)
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
std::filesystem::path Path
static type::Descriptor GetDescriptor(Input &n)
void readDict(InputType &input, InputTypeNonConst &acceptedType, 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
std::vector< std::string > getPath() const