| Linderdaum Engine: clScriptedPODParameter_Buffer Class Reference | ![]() |
implementation for plain old data (POD) parameters More...
#include <Parameters.h>
Public Member Functions | |
| clScriptedPODParameter_Buffer (int Size, const LString &TypeName, void *TheBuffer) | |
| virtual | ~clScriptedPODParameter_Buffer () |
| virtual LString | GetParamType () const |
| Return symbolic type name. | |
| virtual int | GetParamSize () const |
| Get the storage size for this parameter. | |
| virtual void | ReadValue (const void *UntypedNativeBlock) |
| Load value from some memory block. | |
| virtual void * | GetNativeBlock () |
| Get direct usable void pointer to the parameter container (can be passed to actual function) | |
| virtual void | PushToStack (iStack *Stack) const |
| Store the value on top of the VM stack. | |
| virtual void | PopFromStack (iStack *Stack) |
| Fetch the value from the top of the VM stack. | |
| virtual void | ReadValueFromString (const LString &Str) |
| Load value from string representation. | |
| virtual LString | ToString () const |
| Convert value to string. | |
Protected Attributes | |
| int | FSize |
| LString | FTypeName |
| void * | FParameter |
implementation for plain old data (POD) parameters
| clScriptedPODParameter_Buffer::clScriptedPODParameter_Buffer | ( | int | Size, |
| const LString & | TypeName, | ||
| void * | TheBuffer | ||
| ) | [inline] |
| virtual clScriptedPODParameter_Buffer::~clScriptedPODParameter_Buffer | ( | ) | [inline, virtual] |
| virtual void* clScriptedPODParameter_Buffer::GetNativeBlock | ( | ) | [inline, virtual] |
Get direct usable void pointer to the parameter container (can be passed to actual function)
Implements iParameter.
| virtual int clScriptedPODParameter_Buffer::GetParamSize | ( | ) | const [inline, virtual] |
Get the storage size for this parameter.
Implements iParameter.
| virtual LString clScriptedPODParameter_Buffer::GetParamType | ( | ) | const [inline, virtual] |
Return symbolic type name.
Implements iParameter.
| virtual void clScriptedPODParameter_Buffer::PopFromStack | ( | iStack * | Stack | ) | [inline, virtual] |
Fetch the value from the top of the VM stack.
Implements iParameter.
| virtual void clScriptedPODParameter_Buffer::PushToStack | ( | iStack * | Stack | ) | const [inline, virtual] |
Store the value on top of the VM stack.
Implements iParameter.
| virtual void clScriptedPODParameter_Buffer::ReadValue | ( | const void * | UntypedNativeBlock | ) | [inline, virtual] |
Load value from some memory block.
Implements iParameter.
| virtual void clScriptedPODParameter_Buffer::ReadValueFromString | ( | const LString & | Str | ) | [inline, virtual] |
Load value from string representation.
Implements iParameter.
| virtual LString clScriptedPODParameter_Buffer::ToString | ( | ) | const [inline, virtual] |
Convert value to string.
Implements iParameter.
void* clScriptedPODParameter_Buffer::FParameter [protected] |
int clScriptedPODParameter_Buffer::FSize [protected] |
LString clScriptedPODParameter_Buffer::FTypeName [protected] |