44 std::vector<data::VariantPtr>& elements,
49 elements = o->getElements();
55 std::map<std::string, data::VariantPtr>& elements,
60 elements = o->getElements();
66 std::vector<int>& shape,
67 std::string& typeAsString,
68 std::vector<unsigned char>&
data,
73 shape = o->getShape();
74 typeAsString = o->getType();
75 data = o->getDataAsVector();
std::vector< std::string > getPath() const
const data::VariantPtr InputType
static PointerType DynamicCastAndCheck(const VariantPtr &n)
void readBool(InputType &input, bool &i, Path &p) final
void readDict(InputType &input, std::map< std::string, InputTypeNonConst > &elements, Path &p) final
void readLong(InputType &input, long &i, Path &p) final
void readList(InputType &input, std::vector< InputTypeNonConst > &elements, Path &p) final
void readInt(InputType &input, int &i, Path &p) final
void readString(InputType &input, std::string &s, Path &p) final
void readNDArray(InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data, Path &p) final
void readDouble(InputType &input, double &i, Path &p) final
data::Descriptor getDescriptor(InputType &input) final
void readFloat(InputType &input, float &i, Path &p) final
#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...
A convenience header to include all aron files (full include, not forward declared)
std::shared_ptr< Variant > VariantPtr
static data::Descriptor GetDescriptor(Input &n)