Puma::CTypeList Class Reference
List of types.
More...
#include <Puma/CTypeList.h>
List of all members.
Detailed Description
List of types.
Used for instance for the list of function parameter types.
Constructor & Destructor Documentation
Puma::CTypeList::CTypeList |
( |
int |
len = 3 |
) |
[inline] |
Constructor.
- Parameters:
-
| len | The initial length of the list. |
Puma::CTypeList::~CTypeList |
( |
|
) |
[inline] |
Member Function Documentation
void Puma::CTypeList::AddEntry |
( |
CTypeInfo * |
type |
) |
[inline] |
Add a type to the list.
- Parameters:
-
Set the argument declaration list for K&R functions.
- Parameters:
-
| args | The argument declaration list. |
Get the argument declaration list for K&R functions.
unsigned Puma::CTypeList::Entries |
( |
|
) |
const [inline] |
Get the number of types in the list.
CTypeInfo * Puma::CTypeList::Entry |
( |
unsigned |
n |
) |
const [inline] |
Get the n-th type.
- Parameters:
-
bool Puma::CTypeList::isDependent |
( |
|
) |
const |
Check if one of the types in the list depends on a template parameter.
void Puma::CTypeList::ReplaceEntry |
( |
unsigned |
n, |
|
|
CTypeInfo * |
type | |
|
) |
| | [inline] |
Replace the n-th type in the list by the given type.
- Parameters:
-
| n | The index of the type to replace. |
| type | The new type. |
Puma Reference Manual. Created on 18 Sep 2009.