celGenericParameterBlock Class Reference
Generic parameter block implementation. More...
#include <celtool/stdparams.h>
Inheritance diagram for celGenericParameterBlock:
Public Member Functions | |
celGenericParameterBlock (size_t count) | |
virtual const celData * | GetParameter (csStringID id) const |
Get parameter given an id. | |
virtual const char * | GetParameter (size_t idx, csStringID &id, celDataType &t) const |
Get parameter with index. | |
celData & | GetParameter (size_t idx) |
virtual const celData * | GetParameterByIndex (size_t idx) const |
Get parameter given an index. | |
virtual size_t | GetParameterCount () const |
Get number of parameters. | |
void | SetParameterDef (size_t idx, csStringID id, const char *parname) |
virtual | ~celGenericParameterBlock () |
Public Attributes | |
SCF_DECLARE_IBASE |
Detailed Description
Generic parameter block implementation.
Definition at line 79 of file stdparams.h.
Member Function Documentation
virtual const celData* celGenericParameterBlock::GetParameter | ( | csStringID | id | ) | const [inline, virtual] |
Get parameter given an id.
Implements iCelParameterBlock.
Definition at line 132 of file stdparams.h.
virtual const char* celGenericParameterBlock::GetParameter | ( | size_t | idx, | |
csStringID & | id, | |||
celDataType & | t | |||
) | const [inline, virtual] |
Get parameter with index.
Returns the name and sets 'id' and 'type' to the appropriate values.
Implements iCelParameterBlock.
Definition at line 119 of file stdparams.h.
References celData::type.
virtual const celData* celGenericParameterBlock::GetParameterByIndex | ( | size_t | idx | ) | const [inline, virtual] |
Get parameter given an index.
Implements iCelParameterBlock.
Definition at line 140 of file stdparams.h.
virtual size_t celGenericParameterBlock::GetParameterCount | ( | ) | const [inline, virtual] |
Get number of parameters.
Implements iCelParameterBlock.
Definition at line 118 of file stdparams.h.
The documentation for this class was generated from the following file:
- celtool/stdparams.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.7