|
#include <RobotAPI/libraries/aron/core/type/variant/ndarray/NDArray.h>
Public Member Functions | |
void | addDimension () |
type::ndarray::ElementType | getElementType () const |
std::string | getFullName () const override |
get the full name of this specific type More... | |
int | getNumberDimensions () const |
std::string | getShortName () const override |
get a short name of this specific type More... | |
NDArray (const Path &path=Path()) | |
NDArray (const type::dto::NDArray &, const Path &path=Path()) | |
void | setElementType (type::ndarray::ElementType) |
void | setNumberDimensions (int) |
type::dto::NDArrayPtr | toNDArrayDTO () const |
Public Member Functions inherited from NDArrayVariant< type::dto::NDArray, NDArray > | |
size_t | childrenSize () const override |
std::vector< VariantPtr > | getChildren () const override |
get all child elements More... | |
std::string | getDefaultValue () const |
VariantPtr | navigateAbsolute (const Path &path) const override |
naviate absolute More... | |
void | setDefaultValue (const std::string &v) |
virtual | ~NDArrayVariant ()=default |
Public Member Functions inherited from SpecializedVariantBase< type::dto::NDArray, NDArray > | |
type::Maybe | getMaybe () const override |
get the maybe type More... | |
VariantPtr | navigateRelative (const Path &path) const override |
navigate relative More... | |
operator type::dto::NDArray () | |
bool | operator== (const NDArray &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 type::Descriptor &descriptor, const Path &path) | |
SpecializedVariantBase (const type::dto::NDArray &o, 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 | |
virtual size_t | childrenSize () const =0 |
virtual std::vector< VariantPtr > | getChildren () const =0 |
get all child elements More... | |
type::Descriptor | getDescriptor () const |
virtual type::Maybe | getMaybe () const =0 |
get the maybe type More... | |
Path | getPath () const |
bool | operator== (const VariantPtr &other) const |
std::string | pathToString () const |
virtual type::dto::GenericTypePtr | toAronDTO () const =0 |
convert this variant to a dto object. More... | |
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< type::dto::NDArray, NDArray > | |
static const NDArray & | DynamicCast (const Variant &n) |
static std::shared_ptr< NDArray > | DynamicCast (const VariantPtr &n) |
static NDArray & | DynamicCast (Variant &n) |
static std::shared_ptr< NDArray > | 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< type::dto::NDArray, NDArray > | |
type::dto::NDArray ::PointerType | aron |
Protected Attributes inherited from Variant | |
const type::Descriptor | descriptor |
const Path | path |
Definition at line 30 of file NDArray.cpp.
Definition at line 35 of file NDArray.cpp.
void addDimension | ( | ) |
Definition at line 71 of file NDArray.cpp.
type::ndarray::ElementType getElementType | ( | ) | const |
Definition at line 53 of file NDArray.cpp.
|
overridevirtual |
get the full name of this specific type
Implements Variant.
Definition at line 84 of file NDArray.cpp.
int getNumberDimensions | ( | ) | const |
Definition at line 47 of file NDArray.cpp.
|
overridevirtual |
get a short name of this specific type
Implements Variant.
Definition at line 78 of file NDArray.cpp.
void setElementType | ( | type::ndarray::ElementType | s | ) |
void setNumberDimensions | ( | int | v | ) |
type::dto::NDArrayPtr toNDArrayDTO | ( | ) | const |
Definition at line 41 of file NDArray.cpp.