Go to the documentation of this file.
36 #include <RobotAPI/interface/aron.h>
84 return *
this == *other;
124 virtual std::vector<VariantPtr>
getChildren()
const = 0;
128 virtual void setMaybe(
const type::Maybe m) = 0;
131 virtual type::Maybe
getMaybe()
const = 0;
135 virtual type::dto::GenericTypePtr
toAronDTO()
const = 0;
virtual std::string getShortName() const =0
get a short name of this specific type
std::shared_ptr< Variant > VariantPtr
virtual size_t childrenSize() const =0
bool operator==(const VariantPtr &other) const
virtual std::string getFullName() const =0
get the full name of this specific type
static VariantPtr FromAronDTO(const type::dto::GenericType &, const Path &=Path())
create a variant object from an dto object
virtual VariantPtr navigateAbsolute(const Path &path) const =0
naviate absolute
virtual std::vector< VariantPtr > getChildren() const =0
get all child elements
virtual type::Maybe getMaybe() const =0
get the maybe type
virtual VariantPtr navigateRelative(const Path &path) const =0
navigate relative
std::shared_ptr< Value > value()
std::string pathToString() const
std::unique_ptr< VariantFactory > VariantFactoryPtr
type::Descriptor getDescriptor() const
virtual ~Variant()=default
virtual void setMaybe(const type::Maybe m)=0
set the maybetype of this type
A convenience header to include all aron files (full include, not forward declared)
std::filesystem::path Path
virtual bool operator==(const Variant &other) const =0
Variant(const type::Descriptor &descriptor, const Path &path=Path())
virtual type::dto::GenericTypePtr toAronDTO() const =0
convert this variant to a dto object.
std::string toString() const
const type::Descriptor descriptor
The VariantFactory class.