Typelib::Compound Class Reference

#include <typelib/typemodel.hh>

Inheritance diagram for Typelib::Compound:

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

Collaboration graph
[legend]

List of all members.

field, or the Field object

Get a field by its name
Returns:
0 if there is no


Field const * getField (const std::string &name) const
void addField (const Field &field, size_t offset)
void addField (const std::string &name, const Type &type, size_t offset)
virtual std::set< Type const * > dependsOn () const

Public Types

typedef std::list< FieldFieldList

Public Member Functions

 Compound (std::string const &name)
FieldList const & getFields () const


Detailed Description

Base class for types that are composed of other types (structures and enums)

Member Typedef Documentation

typedef std::list<Field> Typelib::Compound::FieldList


Constructor & Destructor Documentation

Typelib::Compound::Compound ( std::string const &  name  ) 


Member Function Documentation

Compound::FieldList const & Typelib::Compound::getFields (  )  const

Field const * Typelib::Compound::getField ( const std::string &  name  )  const

void Typelib::Compound::addField ( const Field field,
size_t  offset 
)

void Typelib::Compound::addField ( const std::string &  name,
const Type type,
size_t  offset 
)

Add a new field

References addField().

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

The set of types this type depends upon

Implements Typelib::Type.


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

Generated on Thu Jan 22 16:38:03 2009 for typeLib by doxygen 1.5.6
SourceForge.net Project Page