|
A convenience header to include all aron files (full include, not forward declared) More...
Namespaces | |
converter | |
defaultconversion | |
detail | |
filter | |
reader | |
rw | |
writer | |
Classes | |
class | Bool |
struct | ConstNlohmannJSONVisitor |
struct | ConstTypedVariantVisitor |
struct | ConstVariantVisitor |
struct | Converter |
Converter struct providing the needed methods. More... | |
class | Dict |
class | Double |
class | Float |
struct | FromNlohmannJSONConverter |
struct | FromVariantConverter |
class | Int |
class | List |
class | Long |
class | NDArray |
class | ReaderInterface |
struct | RecursiveConstTypedVariantVisitor |
struct | RecursiveConstVariantVisitor |
struct | RecursiveTypedVisitor |
struct | RecursiveVariantVisitor |
struct | RecursiveVisitor |
class | String |
struct | ToNlohmannJSONConverter |
struct | ToVariantConverter |
struct | TypedVisitor |
struct | TypedVisitorBase |
class | Variant |
The Variant class. More... | |
class | VariantFactory |
The VariantFactory class. More... | |
struct | Visitor |
struct | VisitorBase |
class | WriterInterface |
Typedefs | |
using | BoolPtr = std::shared_ptr< Bool > |
using | DictPtr = std::shared_ptr< Dict > |
using | DoublePtr = std::shared_ptr< Double > |
using | FloatPtr = std::shared_ptr< Float > |
using | IntPtr = std::shared_ptr< Int > |
using | ListPtr = std::shared_ptr< List > |
using | LongPtr = std::shared_ptr< Long > |
using | NDArrayPtr = std::shared_ptr< NDArray > |
using | StringPtr = std::shared_ptr< String > |
typedef std::unique_ptr< VariantFactory > | VariantFactoryPtr |
using | VariantPtr = std::shared_ptr< Variant > |
Enumerations | |
enum | Descriptor { LIST, DICT, NDARRAY, INT, LONG, FLOAT, DOUBLE, STRING, BOOL, UNKNOWN = -1 } |
Functions | |
data::Descriptor | Aron2Descriptor (const data::dto::GenericData &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 > | |
requires isTypedVisitor< VisitorImplementation, typename VisitorImplementation::DataInput, typename VisitorImplementation::TypeInput > void | visit (VisitorImplementation &v, typename VisitorImplementation::DataInput &o, typename VisitorImplementation::TypeInput &t) |
template<class VisitorImplementation > | |
requires isVisitor< VisitorImplementation, typename VisitorImplementation::Input > void | visit (VisitorImplementation &v, typename VisitorImplementation::Input &o) |
template<class RecursiveVisitorImplementation > | |
requires isRecursiveTypedVisitor< RecursiveVisitorImplementation, typename RecursiveVisitorImplementation::DataInput, typename RecursiveVisitorImplementation::TypeInput > void | visitRecursive (RecursiveVisitorImplementation &v, typename RecursiveVisitorImplementation::DataInput &o, typename RecursiveVisitorImplementation::TypeInput &t) |
template<class RecursiveVisitorImplementation > | |
requires isRecursiveVisitor< RecursiveVisitorImplementation, typename RecursiveVisitorImplementation::Input > void | visitRecursive (RecursiveVisitorImplementation &v, typename RecursiveVisitorImplementation::Input &o) |
Variables | |
const std::vector< data::Descriptor > | AllDescriptors |
template<class T > | |
concept | isConverter = std::is_base_of<Converter<typename T::ReaderType, typename T::WriterType, typename T::This>, T>::value |
template<class T > | |
concept | isReader = std::is_base_of<ReaderInterface<typename T::InputType>, T>::value |
template<class T , class Data , class Type > | |
concept | isRecursiveTypedVisitor = std::is_base_of<RecursiveTypedVisitor<Data, Type>, T>::value |
template<class T , class Data > | |
concept | isRecursiveVisitor = std::is_base_of<RecursiveVisitor<Data>, T>::value |
template<class T , class Data , class Type > | |
concept | isTypedVisitor = std::is_base_of<TypedVisitor<Data, Type>, T>::value |
template<class T > | |
concept | isVariant = std::is_base_of<Variant, T>::value |
template<class T , class Data > | |
concept | isVisitor = std::is_base_of<Visitor<Data>, 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)
forward declarations of ALL aron data objects
Definition at line 38 of file forward_declarations.h.
Definition at line 32 of file forward_declarations.h.
Definition at line 29 of file forward_declarations.h.
Definition at line 23 of file forward_declarations.h.
Definition at line 26 of file forward_declarations.h.
typedef std::shared_ptr< NDArray > NDArrayPtr |
Definition at line 35 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 | |
DICT | |
NDARRAY | |
INT | |
LONG | |
FLOAT | |
DOUBLE | |
STRING | |
BOOL | |
UNKNOWN |
Definition at line 193 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 169 of file Converter.h.
requires isTypedVisitor<VisitorImplementation, typename VisitorImplementation::DataInput, typename VisitorImplementation::TypeInput> void armarx::aron::data::visit | ( | VisitorImplementation & | v, |
typename VisitorImplementation::DataInput & | o, | ||
typename VisitorImplementation::TypeInput & | t | ||
) |
requires isVisitor<VisitorImplementation, typename VisitorImplementation::Input> void armarx::aron::data::visit | ( | VisitorImplementation & | v, |
typename VisitorImplementation::Input & | o | ||
) |
Definition at line 124 of file Visitor.h.
requires isRecursiveTypedVisitor<RecursiveVisitorImplementation, typename RecursiveVisitorImplementation::DataInput, typename RecursiveVisitorImplementation::TypeInput> void armarx::aron::data::visitRecursive | ( | RecursiveVisitorImplementation & | v, |
typename RecursiveVisitorImplementation::DataInput & | o, | ||
typename RecursiveVisitorImplementation::TypeInput & | t | ||
) |
requires isRecursiveVisitor<RecursiveVisitorImplementation, typename RecursiveVisitorImplementation::Input> void armarx::aron::data::visitRecursive | ( | RecursiveVisitorImplementation & | v, |
typename RecursiveVisitorImplementation::Input & | o | ||
) |
Definition at line 146 of file RecursiveVisitor.h.
const std::vector<data::Descriptor> AllDescriptors |
Definition at line 207 of file Descriptor.h.
concept isConverter = std::is_base_of<Converter<typename T::ReaderType, typename T::WriterType, typename T::This>, T>::value |
Definition at line 38 of file Converter.h.
concept isReader = std::is_base_of<ReaderInterface<typename T::InputType>, T>::value |
concept isRecursiveTypedVisitor = std::is_base_of<RecursiveTypedVisitor<Data, Type>, T>::value |
Definition at line 139 of file RecursiveVisitor.h.
concept isRecursiveVisitor = std::is_base_of<RecursiveVisitor<Data>, T>::value |
Definition at line 136 of file RecursiveVisitor.h.
concept isTypedVisitor = std::is_base_of<TypedVisitor<Data, Type>, T>::value |
concept isWriter = std::is_base_of<WriterInterface<typename T::ReturnType>, T>::value |