#include <field.h>
Public Member Functions | |
virtual FieldPtr | access (AccessorBase &accessor) const =0 |
template<typename T > | |
T | as (std::size_t i=0) const |
virtual std::size_t | capacity () const |
virtual bool | empty () const |
virtual MessagePtr | expand (std::size_t i=0) const |
virtual boost::any | get (std::size_t i=0) const |
virtual const char * | getDataType () const =0 |
virtual std::size_t | getIndex () const =0 |
virtual const char * | getName () const =0 |
virtual TypePtr | getType () const |
virtual const std::type_info & | getTypeId () const =0 |
virtual const char * | getValueType () const =0 |
virtual bool | hasInstance () const |
virtual bool | isArray () const =0 |
virtual bool | isContainer () const =0 |
virtual bool | isFixedSize () const =0 |
virtual bool | isMessage () const =0 |
virtual bool | isSimple () const =0 |
virtual bool | isVector () const =0 |
virtual const Message & | message () const =0 |
virtual void | resize (size_t new_size) const |
template<typename T > | |
void | set (const T &value, std::size_t i=0) const |
virtual void | setAny (const boost::any &value, std::size_t i=0) const |
virtual std::size_t | size () const |
virtual | ~Field () |
virtual cpp_introspection::Field::~Field | ( | ) | [inline, virtual] |
virtual FieldPtr cpp_introspection::Field::access | ( | AccessorBase & | accessor | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
T cpp_introspection::Field::as | ( | std::size_t | i = 0 | ) | const [inline] |
virtual std::size_t cpp_introspection::Field::capacity | ( | ) | const [inline, virtual] |
virtual bool cpp_introspection::Field::empty | ( | ) | const [inline, virtual] |
MessagePtr cpp_introspection::Field::expand | ( | std::size_t | i = 0 | ) | const [virtual] |
Definition at line 232 of file introspection.cpp.
virtual boost::any cpp_introspection::Field::get | ( | std::size_t | i = 0 | ) | const [inline, virtual] |
Reimplemented in cpp_introspection::ExpandedField.
virtual const char* cpp_introspection::Field::getDataType | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual std::size_t cpp_introspection::Field::getIndex | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual const char* cpp_introspection::Field::getName | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual TypePtr cpp_introspection::Field::getType | ( | ) | const [inline, virtual] |
Reimplemented in cpp_introspection::ExpandedField.
virtual const std::type_info& cpp_introspection::Field::getTypeId | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual const char* cpp_introspection::Field::getValueType | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::hasInstance | ( | ) | const [inline, virtual] |
Reimplemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isArray | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isContainer | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isFixedSize | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isMessage | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isSimple | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual bool cpp_introspection::Field::isVector | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual const Message& cpp_introspection::Field::message | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedField.
virtual void cpp_introspection::Field::resize | ( | size_t | new_size | ) | const [inline, virtual] |
void cpp_introspection::Field::set | ( | const T & | value, |
std::size_t | i = 0 |
||
) | const [inline] |
virtual void cpp_introspection::Field::setAny | ( | const boost::any & | value, |
std::size_t | i = 0 |
||
) | const [inline, virtual] |
Reimplemented in cpp_introspection::ExpandedField.
virtual std::size_t cpp_introspection::Field::size | ( | ) | const [inline, virtual] |