|
#include <RobotAPI/libraries/aron/core/data/rw/writer/nlohmannJSON/NlohmannJSONWriter.h>
Public Member Functions | |
data::Descriptor | getDescriptor (ReturnTypeConst &input) final |
NlohmannJSONWriter ()=default | |
nlohmann::json | writeBool (const bool i, const Path &p=Path()) override |
nlohmann::json | writeDict (const std::map< std::string, nlohmann::json > &elements, const std::optional< nlohmann::json > &extends=std::nullopt, const Path &p=Path()) override |
nlohmann::json | writeDouble (const double i, const Path &p=Path()) override |
nlohmann::json | writeFloat (const float i, const Path &p=Path()) override |
nlohmann::json | writeInt (const int i, const Path &p=Path()) override |
nlohmann::json | writeList (const std::vector< nlohmann::json > &elements, const Path &p=Path()) override |
nlohmann::json | writeLong (const long i, const Path &p=Path()) override |
nlohmann::json | writeNDArray (const std::vector< int > &shape, const std::string &typeAsString, const unsigned char *data, const Path &p=Path()) override |
nlohmann::json | writeString (const std::string &i, const Path &p=Path()) override |
Public Member Functions inherited from WriterInterface< nlohmann::json > | |
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 |
Additional Inherited Members | |
Public Types inherited from WriterInterface< nlohmann::json > | |
using | ReturnType = nlohmann::json |
using | ReturnTypeConst = typename std::add_const< ReturnType >::type |
Definition at line 36 of file NlohmannJSONWriter.h.
|
default |
|
finalvirtual |
Implements WriterInterface< nlohmann::json >.
Definition at line 45 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 121 of file NlohmannJSONWriter.cpp.
|
overridevirtual |
Implements WriterInterface< nlohmann::json >.
Definition at line 58 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 105 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 97 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 81 of file NlohmannJSONWriter.cpp.
|
overridevirtual |
Implements WriterInterface< nlohmann::json >.
Definition at line 50 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 89 of file NlohmannJSONWriter.cpp.
|
overridevirtual |
Implements WriterInterface< nlohmann::json >.
Definition at line 67 of file NlohmannJSONWriter.cpp.
Implements WriterInterface< nlohmann::json >.
Definition at line 113 of file NlohmannJSONWriter.cpp.