|
|
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> |
Definition at line 34 of file forward_declarations.h.
Definition at line 32 of file forward_declarations.h.
Definition at line 13 of file forward_declarations.h.
Definition at line 30 of file forward_declarations.h.
Definition at line 29 of file forward_declarations.h.
Definition at line 22 of file forward_declarations.h.
| typedef std::shared_ptr< class IntEnum > IntEnumPtr = std::shared_ptr<IntEnum> |
Definition at line 27 of file forward_declarations.h.
Definition at line 14 of file forward_declarations.h.
Definition at line 28 of file forward_declarations.h.
Definition at line 20 of file forward_declarations.h.
| using NDArrayPtr = std::shared_ptr<class NDArray> |
Definition at line 19 of file forward_declarations.h.
Definition at line 16 of file forward_declarations.h.
| using PointCloudPtr = std::shared_ptr<class PointCloud> |
Definition at line 23 of file forward_declarations.h.
| using QuaternionPtr = std::shared_ptr<class Quaternion> |
Definition at line 21 of file forward_declarations.h.
Definition at line 31 of file forward_declarations.h.
Definition at line 17 of file forward_declarations.h.
| typedef std::unique_ptr<VariantFactory> VariantFactoryPtr |
| typedef std::shared_ptr< Variant > VariantPtr = std::shared_ptr<Variant> |
Definition at line 11 of file forward_declarations.h.
|
strong |
| Enumerator | |
|---|---|
| LIST | |
| OBJECT | |
| TUPLE | |
| PAIR | |
| DICT | |
| NDARRAY | |
| MATRIX | |
| QUATERNION | |
| POINTCLOUD | |
| IMAGE | |
| INT_ENUM | |
| INT | |
| LONG | |
| FLOAT | |
| DOUBLE | |
| BOOL | |
| STRING | |
| ANY_OBJECT | |
| UNKNOWN | |
Definition at line 69 of file Descriptor.h.
|
inline |
| 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
Definition at line 337 of file Converter.h.
Here is the call graph for this function:
Here is the caller graph for this function:| 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"
Definition at line 39 of file Visitor.h.
Here is the caller graph for this function:| void visitRecursive | ( | RecursiveVisitorImplementation & | v, |
| typename RecursiveVisitorImplementation::Input & | t ) |
The visitRecursive function.
Calls visitX of a RecursiveVisitorImplementation recursively. For more information please see Visitor.h
Definition at line 38 of file RecursiveVisitor.h.
Here is the call graph for this function:
Here is the caller graph for this function:| const std::vector<type::Descriptor> AllDescriptors |
Definition at line 92 of file Descriptor.h.
| const std::vector<type::Maybe> AllMaybeTypes |
Definition at line 63 of file Descriptor.h.