|
|
A convenience header to include all aron files (full include, not forward declared) More...
Namespaces | |
| namespace | converter |
| namespace | defaultconversion |
| namespace | detail |
| namespace | reader |
| namespace | rw |
| namespace | writer |
Typedefs | |
| using | AnyObjectPtr = std::shared_ptr<class AnyObject> |
| using | BoolPtr = std::shared_ptr<class Bool> |
| using | DictPtr = std::shared_ptr<class Dict> |
| using | DoublePtr = std::shared_ptr<class Double> |
| using | FloatPtr = std::shared_ptr<class Float> |
| using | ImagePtr = std::shared_ptr<class Image> |
| using | IntEnumPtr = std::shared_ptr<IntEnum> |
| using | IntPtr = std::shared_ptr<class Int> |
| using | ListPtr = std::shared_ptr<class List> |
| using | LongPtr = std::shared_ptr<class Long> |
| using | MatrixPtr = std::shared_ptr<class Matrix> |
| using | NDArrayPtr = std::shared_ptr<class NDArray> |
| using | ObjectPtr = std::shared_ptr<Object> |
| using | PairPtr = std::shared_ptr<class Pair> |
| using | PointCloudPtr = std::shared_ptr<class PointCloud> |
| using | QuaternionPtr = std::shared_ptr<class Quaternion> |
| using | StringPtr = std::shared_ptr<class String> |
| using | TuplePtr = std::shared_ptr<class Tuple> |
| typedef std::unique_ptr< VariantFactory > | VariantFactoryPtr |
| using | VariantPtr = std::shared_ptr<Variant> |
Enumerations | |
| enum class | Descriptor { LIST , OBJECT , TUPLE , PAIR , DICT , NDARRAY , MATRIX , QUATERNION , POINTCLOUD , IMAGE , INT_ENUM , INT , LONG , FLOAT , DOUBLE , BOOL , STRING , ANY_OBJECT , UNKNOWN = -1 } |
Functions | |
| type::Descriptor | Aron2Descriptor (const type::dto::GenericType &t) |
| template<class ConverterImplementation> requires isConverter<ConverterImplementation> | |
| ConverterImplementation::WriterReturnType | readAndWrite (typename ConverterImplementation::ReaderInputType &o) |
| the function to read from a variant and write to a writer T returns the returntype of T | |
| template<class VisitorImplementation> | |
| void | visit (VisitorImplementation &v, typename VisitorImplementation::Input &t) |
| The visit function. | |
| template<class RecursiveVisitorImplementation> | |
| void | visitRecursive (RecursiveVisitorImplementation &v, typename RecursiveVisitorImplementation::Input &t) |
| The visitRecursive function. | |
Variables | |
| const std::vector< type::Descriptor > | AllDescriptors |
| const std::vector< type::Maybe > | AllMaybeTypes |
A convenience header to include all aron files (full include, not forward declared)
A convenience header to include all ndarray aron files (full include, not forward declared)
forward declarations of ALL aron type objects
A convenience header to include all enum aron files (full include, not forward declared)
A convenience header to include all container aron files (full include, not forward declared)
A convenience header to include all primitive aron files (full include, not forward declared)
| using AnyObjectPtr = std::shared_ptr<class AnyObject> |
| typedef std::shared_ptr< class IntEnum > IntEnumPtr = std::shared_ptr<IntEnum> |
| using NDArrayPtr = std::shared_ptr<class NDArray> |
| using PointCloudPtr = std::shared_ptr<class PointCloud> |
| using QuaternionPtr = std::shared_ptr<class Quaternion> |
| typedef std::unique_ptr<VariantFactory> VariantFactoryPtr |
| typedef std::shared_ptr< Variant > VariantPtr = std::shared_ptr<Variant> |
|
strong |
|
inline |
| ConverterImplementation::WriterReturnType readAndWrite | ( | typename ConverterImplementation::ReaderInputType & | o | ) |
| void visit | ( | VisitorImplementation & | v, |
| typename VisitorImplementation::Input & | t ) |
The visit function.
Takes a visitor implementation as input and a type representation (e.g. aron::type::variant or nlohmann::json). Inspired by std::visit for std::variant This method only performs a single visit. This is useful if you only want to call a specific method depending on the type, or if you want to call a customized recursive function If you want to call a visitX recursively, please refer to "RecursiveVisitor.h"
| void visitRecursive | ( | RecursiveVisitorImplementation & | v, |
| typename RecursiveVisitorImplementation::Input & | t ) |
The visitRecursive function.
Calls visitX of a RecursiveVisitorImplementation recursively. For more information please see Visitor.h
| const std::vector<type::Descriptor> AllDescriptors |
| const std::vector<type::Maybe> AllMaybeTypes |