Public Member Functions | |
void | apply (Value value) |
TypeDispatch (ValueVisitor &visitor) | |
Protected Member Functions | |
virtual bool | visit_ (Numeric const &type) |
virtual bool | visit_ (Enum const &type) |
virtual bool | visit_ (Container const &type) |
virtual bool | visit_ (Pointer const &type) |
virtual bool | visit_ (Array const &type) |
virtual bool | visit_ (Compound const &type) |
virtual bool | visit_ (OpaqueType const &type) |
virtual bool | visit_ (Compound const &type, Field const &field) |
Private Member Functions | |
template<typename T8 , typename T16 , typename T32 , typename T64 > | |
bool | integer_cast (uint8_t *value, Type const &t) |
Private Attributes | |
std::list< uint8_t * > | m_stack |
ValueVisitor & | m_visitor |
Friends | |
class | ValueVisitor |
Definition at line 7 of file typelib/value.cc.
Typelib::ValueVisitor::TypeDispatch::TypeDispatch | ( | ValueVisitor & | visitor | ) | [inline] |
Definition at line 98 of file typelib/value.cc.
void Typelib::ValueVisitor::TypeDispatch::apply | ( | Value | value | ) | [inline] |
Definition at line 101 of file typelib/value.cc.
bool Typelib::ValueVisitor::TypeDispatch::integer_cast | ( | uint8_t * | value, |
Type const & | t | ||
) | [inline, private] |
Definition at line 18 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Numeric const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 32 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Enum const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 51 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Container const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 57 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Pointer const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 63 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Array const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 71 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Compound const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 77 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | OpaqueType const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 83 of file typelib/value.cc.
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Compound const & | type, |
Field const & | field | ||
) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
Definition at line 89 of file typelib/value.cc.
friend class ValueVisitor [friend] |
Definition at line 9 of file typelib/value.cc.
std::list<uint8_t*> Typelib::ValueVisitor::TypeDispatch::m_stack [private] |
Definition at line 12 of file typelib/value.cc.
Definition at line 15 of file typelib/value.cc.