|
| virtual data::Descriptor | getDescriptor (InputType &input)=0 |
| |
| void | readBool (InputType &input, bool &i) |
| |
| virtual void | readBool (InputType &input, bool &i, Path &)=0 |
| |
| void | readDict (InputType &input, std::map< std::string, ElementType > &elements) |
| |
| virtual void | readDict (InputType &input, std::map< std::string, ElementType > &elements, Path &)=0 |
| |
| void | readDouble (InputType &input, double &i) |
| |
| virtual void | readDouble (InputType &input, double &i, Path &)=0 |
| |
| void | readFloat (InputType &input, float &i) |
| |
| virtual void | readFloat (InputType &input, float &i, Path &)=0 |
| |
| virtual std::optional< float > | readImportance (InputType &) |
| |
| void | readInt (InputType &input, int &i) |
| |
| virtual void | readInt (InputType &input, int &i, Path &)=0 |
| |
| void | readList (InputType &input, std::vector< ElementType > &elements) |
| |
| virtual void | readList (InputType &input, std::vector< ElementType > &elements, Path &)=0 |
| |
| void | readLong (InputType &input, long &i) |
| |
| virtual void | readLong (InputType &input, long &i, Path &)=0 |
| |
| void | readNDArray (InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data) |
| |
| virtual void | readNDArray (InputType &input, std::vector< int > &shape, std::string &typeAsString, std::vector< unsigned char > &data, Path &)=0 |
| |
| virtual bool | readNull (InputType &input) |
| |
| void | readPrimitive (InputType &input, bool &i) |
| |
| void | readPrimitive (InputType &input, bool &i, Path &p) |
| |
| void | readPrimitive (InputType &input, double &i) |
| |
| void | readPrimitive (InputType &input, double &i, Path &p) |
| |
| void | readPrimitive (InputType &input, float &i) |
| |
| void | readPrimitive (InputType &input, float &i, Path &p) |
| |
| void | readPrimitive (InputType &input, int &i) |
| |
| void | readPrimitive (InputType &input, int &i, Path &p) |
| |
| void | readPrimitive (InputType &input, long &i) |
| |
| void | readPrimitive (InputType &input, long &i, Path &p) |
| |
| void | readPrimitive (InputType &input, std::string &i) |
| |
| void | readPrimitive (InputType &input, std::string &i, Path &p) |
| |
| void | readString (InputType &input, std::string &s) |
| |
| virtual void | readString (InputType &input, std::string &s, Path &)=0 |
| |
| virtual | ~ReaderInterface ()=default |
| |
template<class I, class E = typename std::remove_const<I>::type>
class armarx::aron::data::ReaderInterface< I, E >
- Template Parameters
-
| I | the input node type |
| E | what readDict/readList hand out per child. Defaults to a non-const copy of the input type; a reader whose nodes own their subtree should instead hand out const I* so that recursing into children costs nothing. It has to be a template parameter rather than a member alias, because the virtuals' signatures are fixed when the base is instantiated – a using in a derived class would silently declare a new overload and leave the pure virtual unimplemented. |