Go to the documentation of this file.
29 #include <RobotAPI/interface/aron.h>
49 virtual ReturnType writeDict(
const std::map<std::string, ReturnType>& elements,
const std::optional<ReturnType>& extends,
const Path& p) = 0;
data::VariantPtr ReturnType
virtual ReturnType writeInt(const int i, const Path &p)=0
virtual ReturnType writeList(const std::vector< ReturnType > &elements, const Path &p)=0
virtual ReturnType writeLong(const long i, const Path &p)=0
virtual ReturnType writeNDArray(const std::vector< int > &shape, const std::string &typeAsString, const unsigned char *data, const Path &p)=0
virtual ReturnType writeDouble(const double i, const Path &p)=0
virtual ReturnType writeNull()
virtual ~WriterInterface()=default
ReturnType writePrimitive(const int i, const Path &p=Path())
virtual ReturnType writeString(const std::string &i, const Path &p)=0
std::shared_ptr< Value > value()
virtual data::Descriptor getDescriptor(ReturnTypeConst &input)=0
ReaderT::InputType & input
A convenience header to include all aron files (full include, not forward declared)
ReturnType writePrimitive(const long i, const Path &p=Path())
virtual ReturnType writeBool(const bool i, const Path &p)=0
virtual ReturnType writeDict(const std::map< std::string, ReturnType > &elements, const std::optional< ReturnType > &extends, const Path &p)=0
typename std::add_const< ReturnType >::type ReturnTypeConst
ReturnType writePrimitive(const double i, const Path &p=Path())
ReturnType writePrimitive(const std::string &i, const Path &p=Path())
virtual ReturnType writeFloat(const float i, const Path &p)=0
ReturnType writePrimitive(const bool i, const Path &p=Path())
std::filesystem::path Path
ReturnType writePrimitive(const float i, const Path &p=Path())