Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::RecordType Class Reference

comma::RecordType Class Reference

#include <Type.h>

Inheritance diagram for comma::RecordType:
Inheritance graph
[legend]
Collaboration diagram for comma::RecordType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

IdentifierInfogetIdInfo () const
 Returns the identifier associated with this record type.
unsigned numComponents () const
 Returns the number of components defined by this record type.
bool isConstrained () const
 Currently, record types are always constrained.



RecordTypegetRootType ()
 Specialize PrimaryType::getRootType().
const RecordTypegetRootType () const
 Specialize PrimaryType::getRootType().
const RecordDeclgetDefiningDecl () const
 Returns the declaration node that defined this record type.
RecordDeclgetDefiningDecl ()
 Specialize PrimaryType::getRootType().
const TypegetComponentType (unsigned i) const
 Returns the type of the i'th component of this record.
TypegetComponentType (unsigned i)
 Specialize PrimaryType::getRootType().

Static Public Member Functions

static bool classof (const RecordType *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Friends

class AstResource

Detailed Description

Definition at line 1138 of file Type.h.


Member Function Documentation

static bool comma::RecordType::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::CompositeType.

Definition at line 1178 of file Type.h.

static bool comma::RecordType::classof ( const RecordType node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::CompositeType.

Definition at line 1177 of file Type.h.

Type * RecordType::getComponentType ( unsigned  i  ) 

Specialize PrimaryType::getRootType().

Definition at line 1193 of file Type.cpp.

const Type* comma::RecordType::getComponentType ( unsigned  i  )  const [inline]

Returns the type of the i'th component of this record.

Definition at line 1167 of file Type.h.

RecordDecl * RecordType::getDefiningDecl (  ) 

Specialize PrimaryType::getRootType().

Definition at line 1176 of file Type.cpp.

const RecordDecl* comma::RecordType::getDefiningDecl (  )  const [inline]

Returns the declaration node that defined this record type.

Definition at line 1156 of file Type.h.

IdentifierInfo * RecordType::getIdInfo (  )  const

Returns the identifier associated with this record type.

Definition at line 1181 of file Type.cpp.

const RecordType* comma::RecordType::getRootType (  )  const [inline]

Specialize PrimaryType::getRootType().

Reimplemented from comma::PrimaryType.

Definition at line 1149 of file Type.h.

RecordType* comma::RecordType::getRootType (  )  [inline]

Specialize PrimaryType::getRootType().

Reimplemented from comma::PrimaryType.

Definition at line 1146 of file Type.h.

bool comma::RecordType::isConstrained (  )  const [inline, virtual]

Currently, record types are always constrained.

Reimplemented from comma::PrimaryType.

Definition at line 1174 of file Type.h.

unsigned RecordType::numComponents (  )  const

Returns the number of components defined by this record type.

Definition at line 1188 of file Type.cpp.


Friends And Related Function Documentation

friend class AstResource [friend]

Definition at line 1186 of file Type.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1