Go to the documentation of this file.
39 const std::vector<std::string>& templates,
40 const std::vector<std::string>& templateInstantiations,
41 const std::map<std::string, ReturnType>& memberTypes,
42 const std::optional<ReturnType>& extends,
43 const type::Maybe maybe,
46 const type::Maybe maybe,
49 const type::Maybe maybe,
53 const type::Maybe maybe,
56 const type::Maybe maybe,
61 const std::string& defaultValue,
62 const type::Maybe maybe,
67 const std::string& defaultValue,
68 const type::Maybe maybe,
71 const std::string& defaultValue,
72 const type::Maybe maybe,
75 const std::string& defaultValue,
76 const type::Maybe maybe,
79 const std::string& defaultValue,
80 const type::Maybe maybe,
84 const std::map<std::string, int>& acceptedValues,
85 const std::string& defaultValue,
86 const type::Maybe maybe,
90 const type::Maybe maybe,
93 const type::Maybe maybe,
96 const type::Maybe maybe,
99 const type::Maybe maybe,
102 const type::Maybe maybe,
105 const type::Maybe maybe,
ReturnType writeInt(const std::optional< int > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a int from the params.
aron::type::VariantPtr ReturnType
ReturnType writePointCloud(const type::pointcloud::VoxelType, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a pointcloud from the params.
type::Descriptor getDescriptor(ReturnTypeConst &input) final
ReturnType writeList(const ReturnType &acceptedType, const type::Maybe maybe, const Path &p=Path()) override
ReturnType writeFloat(const std::optional< float > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a float from the params.
The WriterInterface class.
ReturnType writeBool(const std::optional< bool > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a bool from the params.
ReturnType writeQuaternion(const type::quaternion::ElementType, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a quaternion from the params.
ReturnType writeString(const std::optional< std::string > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a string from the params.
ReturnType writeObject(const std::string &name, const std::vector< std::string > &templates, const std::vector< std::string > &templateInstantiations, const std::map< std::string, ReturnType > &memberTypes, const std::optional< ReturnType > &extends, const type::Maybe maybe, const Path &p=Path()) override
typename std::add_const< ReturnType >::type ReturnTypeConst
ReaderT::InputType & input
ReturnType writeDouble(const std::optional< double > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a double from the params.
ReturnType writeDict(const ReturnType &acceptedType, const type::Maybe maybe, const Path &p=Path()) override
ReturnType writeMatrix(const int rows, const int cols, const type::matrix::ElementType type, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a matrix from the params.
ReturnType writeAnyObject(const type::Maybe maybe, const Path &p=Path()) override
Construct a time from the params.
std::filesystem::path Path
ReturnType writeLong(const std::optional< long > &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a long from the params.
ReturnType writeIntEnum(const std::string &name, const std::map< std::string, int > &acceptedValues, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a int enum from the params.
ReturnType writePair(const ReturnType &acceptedType1, const ReturnType &acceptedType2, const type::Maybe maybe, const Path &p=Path()) override
ReturnType writeNDArray(const int ndim, const type::ndarray::ElementType, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a ndarray from the params.
ReturnType writeTuple(const std::vector< ReturnType > &acceptedTypes, const type::Maybe maybe, const Path &p=Path()) override
ReturnType writeImage(const type::image::PixelType, const std::string &defaultValue, const type::Maybe maybe, const Path &p=Path()) override
Construct a image from the params.