Go to the documentation of this file.
30 #include "../detail/SpecializedVariant.h"
33 #include "../../../type/variant/container/List.h"
34 #include "../../../type/variant/container/Pair.h"
35 #include "../../../type/variant/container/Tuple.h"
41 typedef std::shared_ptr<List>
ListPtr;
82 std::vector<VariantPtr>
getChildren()
const override;
91 std::vector<VariantPtr> childrenNavigators;
97 template <
typename... _Args>
101 return std::make_shared<aron::data::List>(args...);
bool fullfillsType(const type::VariantPtr &) const override
checks, if the current data variant fullfills the given type
List(const Path &path=Path())
VariantPtr getElement(unsigned int) const
std::string getShortName() const override
get a short str representation of this variant
std::shared_ptr< Variant > VariantPtr
std::vector< VariantPtr > getElements() const
data::dto::ListPtr toAronListDTO() const
size_t childrenSize() const override
get the children size of a data variant
aron::data::ListPtr make_list(_Args &&... args)
std::string getFullName() const override
get the full str representation of this variant
type::VariantPtr recalculateType() const override
recalculate the type of a data variant. Please not tha the mapping ist NOT bijective,...
virtual PointerType clone() const
void removeElement(unsigned int)
std::shared_ptr< Variant > VariantPtr
static data::dto::ListPtr ToAronListDTO(const PointerType &navigator)
VariantPtr navigateAbsolute(const Path &path) const override
naviate absolute
A convenience header to include all aron files (full include, not forward declared)
std::shared_ptr< Dict > DictPtr
static PointerType FromAronListDTO(const data::dto::ListPtr &aron)
bool operator==(const List &) const override
std::vector< VariantPtr > getChildren() const override
get the children of a data variant
DictPtr getAsDict() const
std::filesystem::path Path
bool hasElement(unsigned int) const
void setElement(unsigned int, const VariantPtr &)
std::shared_ptr< List > ListPtr
void addElement(const VariantPtr &)
AronDataType::PointerType aron