Typelib::Indirect Class Reference

#include <typelib/typemodel.hh>

Inheritance diagram for Typelib::Indirect:

Inheritance graph
[legend]
Collaboration diagram for Typelib::Indirect:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool isSame (Type const &type) const
 Indirect (std::string const &name, size_t size, Category category, Type const &on)
Type const & getIndirection () const
virtual std::set< Type const * > dependsOn () const

Static Public Attributes

static const int ValidIDs = Type::Pointer | Type::Array


Detailed Description

Base class for types with indirection (pointer, array)

Constructor & Destructor Documentation

Typelib::Indirect::Indirect ( std::string const &  name,
size_t  size,
Category  category,
Type const &  on 
)


Member Function Documentation

bool Typelib::Indirect::isSame ( Type const &  other  )  const [virtual]

Deep check that other defines the same type than self. Basic checks on name, size and category are performed by ==

Reimplemented from Typelib::Type.

Reimplemented in Typelib::Array.

References Typelib::Type::isSame().

Referenced by Typelib::Array::isSame().

Type const & Typelib::Indirect::getIndirection (  )  const

std::set< Type const * > Typelib::Indirect::dependsOn (  )  const [virtual]

The set of types this type depends upon

Implements Typelib::Type.

References getIndirection().


Member Data Documentation

const int Typelib::Indirect::ValidIDs = Type::Pointer | Type::Array [static]


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

Generated on Fri May 30 17:43:59 2008 for typeLib by doxygen 1.5.6
SourceForge.net Project Page