CEL

Public API Reference

iCelParameterBlock Struct Reference

This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour. More...

#include <behaviourlayer/behave.h>

Inheritance diagram for iCelParameterBlock:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual const celDataGetParameter (csStringID id) const =0
 Get parameter given an id.
virtual const char * GetParameter (size_t idx, csStringID &id, celDataType &t) const =0
 Get parameter with index.
virtual const celDataGetParameterByIndex (size_t idx) const =0
 Get parameter given an index.
virtual size_t GetParameterCount () const =0
 Get number of parameters.

Detailed Description

This interface is a parameter block that can be used to pass parameters through SendMessage() in a behaviour.

Parameter ids are constructed from the following string: cel.parameter."name"

Definition at line 41 of file behave.h.


Member Function Documentation

virtual const celData* iCelParameterBlock::GetParameter ( csStringID  id  )  const [pure virtual]

Get parameter given an id.

Implemented in celGenericParameterBlock, celVariableParameterBlock, and celOneParameterBlock.

virtual const char* iCelParameterBlock::GetParameter ( size_t  idx,
csStringID &  id,
celDataType &  t 
) const [pure virtual]

Get parameter with index.

Returns the name and sets 'id' and 'type' to the appropriate values.

Implemented in celGenericParameterBlock, celVariableParameterBlock, and celOneParameterBlock.

Referenced by celVariableParameterBlock::celVariableParameterBlock().

virtual const celData* iCelParameterBlock::GetParameterByIndex ( size_t  idx  )  const [pure virtual]

Get parameter given an index.

Implemented in celGenericParameterBlock, celVariableParameterBlock, and celOneParameterBlock.

virtual size_t iCelParameterBlock::GetParameterCount (  )  const [pure virtual]


The documentation for this struct was generated from the following file:
Generated for CEL: Crystal Entity Layer by doxygen 1.4.7