comma::EnumDeclStencil Class Reference
A stencil to hold enumeration declaration info.
More...
#include <Stencil.h>
List of all members.
Detailed Description
A stencil to hold enumeration declaration info.
Definition at line 101 of file Stencil.h.
Member Typedef Documentation
Iterators over the elements of this enum stencil.
Definition at line 138 of file Stencil.h.
Type used to hold the enumeration literal pairs.
Definition at line 130 of file Stencil.h.
A std::pair is used to represent enumeration literals.
Definition at line 112 of file Stencil.h.
Constructor & Destructor Documentation
comma::EnumDeclStencil::EnumDeclStencil |
( |
|
) |
[inline] |
Member Function Documentation
Adds an enumeration literal to this stencil, given the defining identifier for the literal and its location.
Definition at line 116 of file Stencil.h.
Iterators over the elements of this enum stencil.
Definition at line 139 of file Stencil.h.
Iterators over the elements of this enum stencil.
Definition at line 140 of file Stencil.h.
IdLocPair comma::EnumDeclStencil::getElement |
( |
unsigned |
i |
) |
[inline] |
Returns a pair representing the n'th enumeration literal.
Definition at line 124 of file Stencil.h.
const ElemVec& comma::EnumDeclStencil::getElements |
( |
|
) |
const [inline] |
ElemVec& comma::EnumDeclStencil::getElements |
( |
|
) |
[inline] |
Returns a direct reference to the literal pair vector.
Definition at line 133 of file Stencil.h.
bool comma::EnumDeclStencil::isCharacterType |
( |
|
) |
const [inline] |
Returns true if this stencil denotes a character enumeration.
Definition at line 147 of file Stencil.h.
void comma::EnumDeclStencil::markAsCharacterType |
( |
|
) |
[inline] |
Mark the enumeration as being a character type.
Definition at line 144 of file Stencil.h.
unsigned comma::EnumDeclStencil::numElements |
( |
|
) |
const [inline] |
Returns the number of enumeration literals contained in this stencil.
Definition at line 121 of file Stencil.h.
void comma::EnumDeclStencil::reset |
( |
|
) |
[inline, virtual] |
The documentation for this class was generated from the following file: