DtoVariant< AronTypeT, DerivedT > Class Template Reference

#include <RobotAPI/libraries/aron/core/type/variant/detail/DtoVariant.h>

+ Inheritance diagram for DtoVariant< AronTypeT, DerivedT >:

Public Member Functions

size_t childrenSize () const override
 
std::vector< VariantPtrgetChildren () const override
 get all child elements More...
 
VariantPtr navigateAbsolute (const Path &path) const override
 naviate absolute More...
 
virtual ~DtoVariant ()=default
 
- Public Member Functions inherited from SpecializedVariantBase< AronTypeT, DerivedT >
type::Maybe getMaybe () const override
 get the maybe type More...
 
VariantPtr navigateRelative (const Path &path) const override
 navigate relative More...
 
 operator AronTypeT ()
 
bool operator== (const DerivedT &other) const
 
bool operator== (const Variant &other) const override
 
void setMaybe (const type::Maybe m) override
 set the maybetype of this type More...
 
 SpecializedVariantBase (const AronTypeT &o, const type::Descriptor &descriptor, const Path &path)
 
 SpecializedVariantBase (const type::Descriptor &descriptor, const Path &path)
 
type::dto::GenericTypePtr toAronDTO () const override
 convert this variant to a dto object. More...
 
virtual ~SpecializedVariantBase ()=default
 
- Public Member Functions inherited from Variant
type::Descriptor getDescriptor () const
 
virtual std::string getFullName () const =0
 get the full name of this specific type More...
 
Path getPath () const
 
virtual std::string getShortName () const =0
 get a short name of this specific type More...
 
bool operator== (const VariantPtr &other) const
 
std::string pathToString () const
 
 Variant (const type::Descriptor &descriptor, const Path &path=Path())
 
virtual ~Variant ()=default
 

Additional Inherited Members

- Public Types inherited from Variant
using PointerType = VariantPtr
 
- Static Public Member Functions inherited from SpecializedVariantBase< AronTypeT, DerivedT >
static const DerivedT & DynamicCast (const Variant &n)
 
static std::shared_ptr< DerivedT > DynamicCast (const VariantPtr &n)
 
static DerivedT & DynamicCast (Variant &n)
 
static std::shared_ptr< DerivedT > DynamicCastAndCheck (const VariantPtr &n)
 
- Static Public Member Functions inherited from Variant
static VariantPtr FromAronDTO (const type::dto::GenericType &, const Path &=Path())
 create a variant object from an dto object More...
 
- Protected Attributes inherited from SpecializedVariantBase< AronTypeT, DerivedT >
AronTypeT::PointerType aron
 
- Protected Attributes inherited from Variant
const type::Descriptor descriptor
 
const Path path
 

Detailed Description

template<typename AronTypeT, typename DerivedT>
class armarx::aron::type::detail::DtoVariant< AronTypeT, DerivedT >

Definition at line 39 of file DtoVariant.h.

Constructor & Destructor Documentation

◆ ~DtoVariant()

virtual ~DtoVariant ( )
virtualdefault

Member Function Documentation

◆ childrenSize()

size_t childrenSize ( ) const
inlineoverridevirtual

Implements Variant.

Definition at line 58 of file DtoVariant.h.

◆ getChildren()

std::vector<VariantPtr> getChildren ( ) const
inlineoverridevirtual

get all child elements

Implements Variant.

Definition at line 53 of file DtoVariant.h.

◆ navigateAbsolute()

VariantPtr navigateAbsolute ( const Path path) const
inlineoverridevirtual

naviate absolute

Implements Variant.

Definition at line 48 of file DtoVariant.h.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: