|
|
#include <RobotAPI/libraries/aron/core/type/variant/container/Dict.h>
Inheritance diagram for Dict:Public Member Functions | |
| size_t | childrenSize () const override |
| Dict (const Path &path=Path()) | |
| Dict (const type::dto::Dict &, const Path &path=Path()) | |
| VariantPtr | getAcceptedType () const |
| std::vector< VariantPtr > | getChildren () const override |
| get all child elements | |
| std::string | getFullName () const override |
| get the full name of this specific type | |
| std::string | getShortName () const override |
| get a short name of this specific type | |
| VariantPtr | navigateAbsolute (const Path &path) const override |
| naviate absolute | |
| void | setAcceptedType (const VariantPtr &) |
| type::dto::DictPtr | toDictDTO () const |
Public Member Functions inherited from ContainerVariant< type::dto::Dict, Dict > | |
| virtual | ~ContainerVariant ()=default |
Public Member Functions inherited from SpecializedVariantBase< type::dto::Dict, Dict > | |
| std::optional< float > | getImportance () const override |
| get optional importance metadata for this type variant. | |
| type::Maybe | getMaybe () const override |
| get the maybe type | |
| VariantPtr | navigateRelative (const Path &path) const override |
| navigate relative | |
| operator type::dto::Dict () | |
| bool | operator== (const Dict &other) const |
| bool | operator== (const Variant &other) const override |
| void | setImportance (const std::optional< float > &importance) override |
| set optional importance metadata in [0, 1] for this type variant. | |
| void | setMaybe (const type::Maybe m) override |
| set the maybetype of this type | |
| SpecializedVariantBase (const type::Descriptor &descriptor, const Path &path) | |
| SpecializedVariantBase (const type::dto::Dict &o, const type::Descriptor &descriptor, const Path &path) | |
| type::dto::GenericTypePtr | toAronDTO () const override |
| convert this variant to a dto object. | |
| virtual | ~SpecializedVariantBase ()=default |
Public Member Functions inherited from Variant | |
| type::Descriptor | getDescriptor () const |
| Path | getPath () const |
| bool | operator== (const VariantPtr &other) const |
| std::string | pathToString () const |
| Variant (const type::Descriptor &descriptor, const Path &path=Path()) | |
| virtual | ~Variant ()=default |
Static Public Member Functions | |
| static std::string | GetFullNamePrefix () |
| static std::string | GetNamePrefix () |
Static Public Member Functions inherited from SpecializedVariantBase< type::dto::Dict, Dict > | |
| static const Dict & | DynamicCast (const Variant &n) |
| static std::shared_ptr< Dict > | DynamicCast (const VariantPtr &n) |
| static Dict & | DynamicCast (Variant &n) |
| static std::shared_ptr< Dict > | 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 | |
Additional Inherited Members | |
Public Types inherited from Variant | |
| using | PointerType = VariantPtr |
Protected Attributes inherited from SpecializedVariantBase< type::dto::Dict, Dict > | |
| type::dto::Dict::PointerType | aron |
Protected Attributes inherited from Variant | |
| const type::Descriptor | descriptor |
| const Path | path |
The Dict class.
It represents the dict type A dict only has an accepted type (a variant) for the corresponding data object
|
overridevirtual |
| VariantPtr getAcceptedType | ( | ) | const |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| void setAcceptedType | ( | const VariantPtr & | a | ) |