The implementations in the ScriptArgumentGeneric<Integer> will cover most of what this needs. More...
#include <lua51scriptargument.h>
Public Member Functions | |
Lua51IntegerArgument (Integer InitialValue=0) | |
Implicit constructor. More... | |
virtual | ~Lua51IntegerArgument () |
Virtual deconstructor. | |
virtual Lua51IntegerArgument * | GetMostDerived () |
Get a pointer to the most Derived type of this class. More... | |
virtual void | Pop (lua_State *TargetState) |
Handle the details of pulling data from Lua's Stack into this. More... | |
virtual void | Push (lua_State *TargetState) const |
Handle the details of putting this data onto Lua's Stack. More... | |
Public Member Functions inherited from Mezzanine::Scripting::Lua::LuaArgument | |
virtual | ~LuaArgument () |
Virtual deconstructor. | |
Public Member Functions inherited from Mezzanine::Scripting::ScriptArgumentGeneric< Integer > | |
ScriptArgumentGeneric (Integer InitialValue) | |
Create an initialized Argument. More... | |
virtual | ~ScriptArgumentGeneric () |
Overloadable Deconstructor. | |
virtual Boole | GetBoole () const |
Get the Integer as a Boole. More... | |
virtual Integer | GetInteger () const |
Get the Integer as a Integer. More... | |
virtual Real | GetReal () const |
Get the Integer as a Real. More... | |
virtual String | GetString () const |
Get the Integer as a String. More... | |
virtual Integer | GetTypeData () const |
Get data about this being and Integer. More... | |
virtual Integer | GetValue () const |
Get the raw primitive to value. More... | |
virtual Whole | GetWhole () const |
Get the Integer as a Whole. More... | |
virtual Boole | IsNull () const |
Is this value representing a Null/Nil value. More... | |
virtual void | SetValue (Integer NewValue) |
Provide an overload point to change assignment that operators will use. More... | |
Public Member Functions inherited from Mezzanine::Scripting::iScriptArgument | |
virtual | ~iScriptArgument () |
Overidable Deconstructor. | |
Public Member Functions inherited from Mezzanine::IntrusiveRefCount | |
IntrusiveRefCount () | |
Constructor for instatiating the Reference Count. | |
virtual | ~IntrusiveRefCount () |
Virtual Deconstructor to prevent issues with deletion with incomplete type information. | |
Whole | DecrementReferenceCount () |
Decrease the reference count by one and return the updated count. More... | |
Whole | GetReferenceCount () const |
Get the current amount of references. More... | |
IntrusiveRefCount * | GetReferenceCountTargetAsPointer () |
Gets the actual pointer to the target. More... | |
Whole | IncrementReferenceCount () |
Increase the reference count by one and return the updated count. More... | |
Additional Inherited Members | |
Public Types inherited from Mezzanine::Scripting::ScriptArgumentGeneric< Integer > | |
typedef Integer | Type |
To make working with this easier. | |
Protected Attributes inherited from Mezzanine::Scripting::ScriptArgumentGeneric< Integer > | |
Integer | Datum |
The Integer actual data. | |
The implementations in the ScriptArgumentGeneric<Integer> will cover most of what this needs.
Definition at line 100 of file lua51scriptargument.h.
|
inline |
Implicit constructor.
InitialValue | Defaults to 0 and is the actual data to pass into Lua |
Definition at line 107 of file lua51scriptargument.h.
|
inlinevirtual |
Get a pointer to the most Derived type of this class.
Reimplemented from Mezzanine::Scripting::ScriptArgumentGeneric< Integer >.
Definition at line 119 of file lua51scriptargument.h.
|
virtual |
Handle the details of pulling data from Lua's Stack into this.
TargetState | The state with the stack to pull the data from. |
Implements Mezzanine::Scripting::Lua::LuaArgument.
Definition at line 74 of file lua51scriptargument.cpp.
|
virtual |
Handle the details of putting this data onto Lua's Stack.
TargetState | The state with the stack to push the data onto. |
Implements Mezzanine::Scripting::Lua::LuaArgument.
Definition at line 72 of file lua51scriptargument.cpp.