Public Member Functions | |
TypeDispatch (ValueVisitor &visitor) | |
void | apply (Value value) |
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) |
Friends | |
class | ValueVisitor |
Typelib::ValueVisitor::TypeDispatch::TypeDispatch | ( | ValueVisitor & | visitor | ) | [inline] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Numeric const & | type | ) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Numeric::Float, Typelib::Numeric::getNumericCategory(), Typelib::Type::getSize(), Typelib::Numeric::SInt, Typelib::Numeric::UInt, and Typelib::ValueVisitor::visit_().
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Enum const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Container const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Pointer const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Array const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Compound const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | OpaqueType const & | type | ) | [inline, protected, virtual] |
virtual bool Typelib::ValueVisitor::TypeDispatch::visit_ | ( | Compound const & | type, | |
Field const & | field | |||
) | [inline, protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Field::getOffset(), Typelib::Field::getType(), and Typelib::ValueVisitor::visit_().
void Typelib::ValueVisitor::TypeDispatch::apply | ( | Value | value | ) | [inline] |
References Typelib::TypeVisitor::apply(), Typelib::Value::getData(), and Typelib::Value::getType().
Referenced by Typelib::ValueVisitor::apply().
friend class ValueVisitor [friend] |