Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
Typelib::ValueVisitor::TypeDispatch Class Reference
Inheritance diagram for Typelib::ValueVisitor::TypeDispatch:
Inheritance graph
[legend]

List of all members.

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
ValueVisitorm_visitor

Friends

class ValueVisitor

Detailed Description

Definition at line 7 of file typelib/value.cc.


Constructor & Destructor Documentation

Definition at line 98 of file typelib/value.cc.


Member Function Documentation

Definition at line 101 of file typelib/value.cc.

template<typename T8 , typename T16 , typename T32 , typename T64 >
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.


Friends And Related Function Documentation

friend class ValueVisitor [friend]

Definition at line 9 of file typelib/value.cc.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41