Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | List of all members
Mezzanine::Scripting::Lua::Lua51NilArgument Class Reference

Represents not much of anything but will insert and retrieves Nils from Lua51. More...

#include <lua51scriptargument.h>

+ Inheritance diagram for Mezzanine::Scripting::Lua::Lua51NilArgument:
+ Collaboration diagram for Mezzanine::Scripting::Lua::Lua51NilArgument:

Public Member Functions

virtual ~Lua51NilArgument ()
 Virtual deconstructor.
 
virtual Lua51NilArgumentGetMostDerived ()
 Get a pointer to the most Derived type of this class. More...
 
virtual String GetString () const
 Get Nil as a String. 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< NullArgument >
 ScriptArgumentGeneric (NullArgument InitialValue=NullArgument())
 Create an initialized Argument. More...
 
virtual ~ScriptArgumentGeneric ()
 Overloadable Deconstructor.
 
virtual Boole GetBoole () const
 Get as a Bool. More...
 
virtual Integer GetInteger () const
 Get Null as a Integer. More...
 
virtual Real GetReal () const
 Get Null as a Real. More...
 
virtual Integer GetTypeData () const
 Get data about this being a Bool. More...
 
virtual NullArgument GetValue () const
 Get the raw primitive to value. More...
 
virtual Whole GetWhole () const
 Get Null as a Whole. More...
 
virtual Boole IsNull () const
 Is this value representing a Null/Nil value. More...
 
virtual void SetValue (NullArgument 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...
 
IntrusiveRefCountGetReferenceCountTargetAsPointer ()
 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< NullArgument >
typedef NullArgument Type
 To make working with this easier.
 
- Protected Attributes inherited from Mezzanine::Scripting::ScriptArgumentGeneric< NullArgument >
NullArgument Datum
 The Bool actual data.
 

Detailed Description

Represents not much of anything but will insert and retrieves Nils from Lua51.

Definition at line 216 of file lua51scriptargument.h.

Member Function Documentation

virtual Lua51NilArgument* Mezzanine::Scripting::Lua::Lua51NilArgument::GetMostDerived ( )
inlinevirtual

Get a pointer to the most Derived type of this class.

Returns
A pointer of the most derived pointing to this.

Reimplemented from Mezzanine::Scripting::ScriptArgumentGeneric< NullArgument >.

Definition at line 236 of file lua51scriptargument.h.

virtual String Mezzanine::Scripting::Lua::Lua51NilArgument::GetString ( ) const
inlinevirtual

Get Nil as a String.

Returns
The string "Nil"

Reimplemented from Mezzanine::Scripting::ScriptArgumentGeneric< NullArgument >.

Definition at line 231 of file lua51scriptargument.h.

void Mezzanine::Scripting::Lua::Lua51NilArgument::Pop ( lua_State *  TargetState)
virtual

Handle the details of pulling data from Lua's Stack into this.

Parameters
TargetStateThe state with the stack to pull the data from.
Returns
Whatever the Lua return code of the first failing lua call, or the last successful call.

Implements Mezzanine::Scripting::Lua::LuaArgument.

Definition at line 144 of file lua51scriptargument.cpp.

void Mezzanine::Scripting::Lua::Lua51NilArgument::Push ( lua_State *  TargetState) const
virtual

Handle the details of putting this data onto Lua's Stack.

Parameters
TargetStateThe state with the stack to push the data onto.
Returns
Whatever the Lua return code of the first failing lua call, or the last successful call.

Implements Mezzanine::Scripting::Lua::LuaArgument.

Definition at line 142 of file lua51scriptargument.cpp.


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