|
|
A convenience header to include all aron files (full include, not forward declared) More...
Namespaces | |
| converter | |
| defaultconversion | |
| detail | |
| reader | |
| rw | |
| 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 | 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 More... | |
| template<class VisitorImplementation > | |
| void | visit (VisitorImplementation &v, typename VisitorImplementation::Input &t) |
| The visit function. More... | |
| template<class RecursiveVisitorImplementation > | |
| void | visitRecursive (RecursiveVisitorImplementation &v, typename RecursiveVisitorImplementation::Input &t) |
| The visitRecursive function. More... | |
Variables | |
| const std::vector< type::Descriptor > | AllDescriptors |
| const std::vector< type::Maybe > | AllMaybeTypes |
| template<class T > | |
| concept | isConverter |
| template<class T > | |
| concept | isReader = std::is_base_of<ReaderInterface<typename T::InputType>, T>::value |
| template<class T > | |
| concept | isVariant = std::is_base_of<Variant, T>::value |
| template<class T > | |
| concept | isWriter = std::is_base_of<WriterInterface<typename T::ReturnType>, T>::value |
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 |
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 |
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 |
| 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
Definition at line 337 of file Converter.h.
Here is the call graph for this function:| void armarx::aron::type::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 call graph for this function:
Here is the caller graph for this function:| void armarx::aron::type::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:| 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.
| concept isConverter |
Definition at line 38 of file Converter.h.
| concept isReader = std::is_base_of<ReaderInterface<typename T::InputType>, T>::value |
| concept isWriter = std::is_base_of<WriterInterface<typename T::ReturnType>, T>::value |