Linderdaum Engine: clScriptedPODParameter_Buffer Class Reference
Updated: Mon May 14 2012 05:02:34
clScriptedPODParameter_Buffer Class Reference

implementation for plain old data (POD) parameters More...

#include <Parameters.h>

List of all members.

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

Detailed Description

implementation for plain old data (POD) parameters


Constructor & Destructor Documentation

clScriptedPODParameter_Buffer::clScriptedPODParameter_Buffer ( int  Size,
const LString &  TypeName,
void *  TheBuffer 
) [inline]
virtual clScriptedPODParameter_Buffer::~clScriptedPODParameter_Buffer ( ) [inline, virtual]

Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file: