comma::ComponentDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

unsigned getIndex () const
 Returns the index of this component.



const Type * getType () const
 Returns the type of this component.
Type * getType ()
 Returns the type of this component.
RecordDecl * getDeclRegion ()
 Returns the RecordDecl this component belongs to.
const RecordDecl * getDeclRegion () const
 Returns the type of this component.

Static Public Member Functions

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

Friends

class RecordDecl

Detailed Description

Definition at line 1795 of file Decl.h.


Member Function Documentation

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

Reimplemented from comma::Decl.

Definition at line 1823 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Decl.

Definition at line 1822 of file Decl.h.

const RecordDecl* comma::ComponentDecl::getDeclRegion (  )  const [inline]

Returns the type of this component.

Reimplemented from comma::Decl.

Definition at line 1809 of file Decl.h.

RecordDecl* comma::ComponentDecl::getDeclRegion (  )  [inline]

Returns the RecordDecl this component belongs to.

Reimplemented from comma::Decl.

Definition at line 1806 of file Decl.h.

unsigned comma::ComponentDecl::getIndex (  )  const [inline]

Returns the index of this component.

The value returned by this method gives the relative position of the component within its inclosing record. In particular, RecordDecl::getComponent(this->getIndex()) == this.

Definition at line 1819 of file Decl.h.

Type* comma::ComponentDecl::getType (  )  [inline]

Returns the type of this component.

Definition at line 1801 of file Decl.h.

const Type* comma::ComponentDecl::getType (  )  const [inline]

Returns the type of this component.

Definition at line 1800 of file Decl.h.


Friends And Related Function Documentation

friend class RecordDecl [friend]

Definition at line 1834 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1