#include <RobotAPI/libraries/aron/core/data/rw/writer/variant/VariantWriter.h>
|
data::Descriptor | getDescriptor (ReturnTypeConst &input) final |
|
| VariantWriter ()=default |
|
data::VariantPtr | writeBool (const bool i, const Path &p=Path()) override |
|
data::VariantPtr | writeDict (const std::map< std::string, data::VariantPtr > &elements, const std::optional< data::VariantPtr > &extends=std::nullopt, const Path &p=Path()) override |
|
data::VariantPtr | writeDouble (const double i, const Path &p=Path()) override |
|
data::VariantPtr | writeFloat (const float i, const Path &p=Path()) override |
|
data::VariantPtr | writeInt (const int i, const Path &p=Path()) override |
|
data::VariantPtr | writeList (const std::vector< data::VariantPtr > &elements, const Path &p=Path()) override |
|
data::VariantPtr | writeLong (const long i, const Path &p=Path()) override |
|
data::VariantPtr | writeNDArray (const std::vector< int > &shape, const std::string &typeAsString, const unsigned char *data, const Path &p=Path()) override |
|
data::VariantPtr | writeString (const std::string &i, const Path &p=Path()) override |
|
virtual ReturnType | writeDict (const std::map< std::string, ReturnType > &elements, const std::optional< ReturnType > &extends, const Path &p)=0 |
|
virtual ReturnType | writeNull () |
|
ReturnType | writePrimitive (const bool i, const Path &p=Path()) |
|
ReturnType | writePrimitive (const double i, const Path &p=Path()) |
|
ReturnType | writePrimitive (const float i, const Path &p=Path()) |
|
ReturnType | writePrimitive (const int i, const Path &p=Path()) |
|
ReturnType | writePrimitive (const long i, const Path &p=Path()) |
|
ReturnType | writePrimitive (const std::string &i, const Path &p=Path()) |
|
virtual | ~WriterInterface ()=default |
|
Definition at line 35 of file VariantWriter.h.
◆ VariantWriter()
◆ getDescriptor()
◆ writeBool()
◆ writeDict()
◆ writeDouble()
◆ writeFloat()
◆ writeInt()
◆ writeList()
◆ writeLong()
◆ writeNDArray()
data::VariantPtr writeNDArray |
( |
const std::vector< int > & |
shape, |
|
|
const std::string & |
typeAsString, |
|
|
const unsigned char * |
data, |
|
|
const Path & |
p = Path() |
|
) |
| |
|
overridevirtual |
◆ writeString()
The documentation for this class was generated from the following files: