Go to the documentation of this file.
37 acceptedType(FromAronDTO(*o.acceptedType, path.withAcceptedType()))
52 aron->acceptedType =
a->toAronDTO();
64 std::vector<VariantPtr>
67 return {acceptedType};
79 return "List<" + acceptedType->getShortName() +
">";
85 return "armarx::aron::type::List<" + acceptedType->getFullName() +
">";
91 return "armarx::aron::type::List";
106 __PRETTY_FUNCTION__,
"Could not navigate without a valid path",
path);
112 __PRETTY_FUNCTION__,
"Could not get more than 1 value from a dict.",
path);
116 if (el !=
"::accepted_type")
119 __PRETTY_FUNCTION__,
"Could not find an element of a path.", el,
path);
std::string getFirstElement() const
A base class for aron exceptions.
std::shared_ptr< Variant > VariantPtr
const VariantContainerType List
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
std::string getFullName() const override
get the full name of this specific type
List(const Path &path=Path())
size_t childrenSize() const override
std::vector< VariantPtr > getChildren() const override
get all child elements
The ValueNotValidException class.
double a(double t, double a0, double j)
static std::string GetFullNamePrefix()
std::string getShortName() const override
get a short name of this specific type
type::dto::List ::PointerType aron
type::dto::ListPtr toListDTO() const
A convenience header to include all aron files (full include, not forward declared)
VariantPtr getAcceptedType() const
VariantPtr navigateAbsolute(const Path &path) const override
naviate absolute
static std::string GetNamePrefix()
std::shared_ptr< List > ListPtr
void setAcceptedType(const VariantPtr &)