|
virtual type::Descriptor | getDescriptor (ReturnTypeConst &input)=0 |
|
virtual ReturnType | writeAnyObject (const type::Maybe maybe, const Path &p)=0 |
| Construct a time from the params. More...
|
|
virtual ReturnType | writeBool (const std::optional< bool > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a bool from the params. More...
|
|
virtual ReturnType | writeDict (const ReturnType &acceptedType, const type::Maybe maybe, const Path &p)=0 |
| Construct a dict from the params. More...
|
|
virtual ReturnType | writeDouble (const std::optional< double > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a double from the params. More...
|
|
virtual ReturnType | writeFloat (const std::optional< float > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a float from the params. More...
|
|
virtual ReturnType | writeImage (const type::image::PixelType type, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a image from the params. More...
|
|
virtual ReturnType | writeInt (const std::optional< int > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a int from the params. More...
|
|
virtual ReturnType | writeIntEnum (const std::string &name, const std::map< std::string, int > &acceptedValues, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a int enum from the params. More...
|
|
virtual ReturnType | writeList (const ReturnType &acceptedType, const type::Maybe maybe, const Path &p)=0 |
| Construct a list from the params. More...
|
|
virtual ReturnType | writeLong (const std::optional< long > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a long from the params. More...
|
|
virtual ReturnType | writeMatrix (const int rows, const int cols, const type::matrix::ElementType type, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a matrix from the params. More...
|
|
virtual ReturnType | writeNDArray (const int ndim, const type::ndarray::ElementType type, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a ndarray from the params. More...
|
|
virtual ReturnType | writeNull (const Path &p=Path()) |
| write a null More...
|
|
virtual 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)=0 |
| Construct an object from the params. More...
|
|
virtual ReturnType | writePair (const ReturnType &acceptedType1, const ReturnType &acceptedType2, const type::Maybe maybe, const Path &p)=0 |
| Construct a pair from the params. More...
|
|
virtual ReturnType | writePointCloud (const type::pointcloud::VoxelType, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a pointcloud from the params. More...
|
|
virtual ReturnType | writeQuaternion (const type::quaternion::ElementType type, const std::string &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a quaternion from the params. More...
|
|
virtual ReturnType | writeString (const std::optional< std::string > &defaultValue, const type::Maybe maybe, const Path &p)=0 |
| Construct a string from the params. More...
|
|
virtual ReturnType | writeTuple (const std::vector< ReturnType > &acceptedTypes, const type::Maybe maybe, const Path &p)=0 |
| Construct a tuple from the params. More...
|
|
virtual | ~WriterInterface ()=default |
|
template<class R>
class armarx::aron::type::WriterInterface< R >
The WriterInterface class.
It defines the interface to construct aron representations (e.g. variant or nlohmann::json)
Definition at line 38 of file Writer.h.