A Real number implementation of a ScriptArgument that is suitable for primitive types in most situations. More...
#include <scriptargument.h>
Inheritance diagram for Mezzanine::Scripting::ScriptArgumentGeneric< Real >:
Collaboration diagram for Mezzanine::Scripting::ScriptArgumentGeneric< Real >:Public Types | |
| typedef Real | Type |
| To make working with this easier. | |
Public Member Functions | |
| ScriptArgumentGeneric (Real InitialValue) | |
| Create an initialized Argument. More... | |
| virtual | ~ScriptArgumentGeneric () |
| Overloadable Deconstructor. | |
| virtual Boole | GetBoole () const |
| Get the Real as a Boole. More... | |
| virtual Integer | GetInteger () const |
| Get the Real as a Integer. More... | |
| virtual ScriptArgumentGeneric< Real > * | GetMostDerived () |
| Get a pointer to the most Derived type of this class. More... | |
| virtual Real | GetReal () const |
| Get the Real. More... | |
| virtual String | GetString () const |
| Get the Real as a String. More... | |
| virtual Integer | GetTypeData () const |
| Get data about this being a Real number. More... | |
| virtual Real | GetValue () const |
| Get the raw primitive to value. More... | |
| virtual Whole | GetWhole () const |
| Get the Real as a Whole. More... | |
| virtual Boole | IsNull () const |
| Is this value representing a Null/Nil value. More... | |
| virtual void | SetValue (Real 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... | |
Protected Attributes | |
| Real | Datum |
| The Real actual data. | |
A Real number implementation of a ScriptArgument that is suitable for primitive types in most situations.
Scripting Languages that require algorithms specific to Real Numbers should add required functionality to a type derived from this.
Definition at line 440 of file scriptargument.h.
|
inline |
Create an initialized Argument.
| InitialValue | The value to initialize the Argument Integer value with. |
Definition at line 453 of file scriptargument.h.
|
inlinevirtual |
Get the Real as a Boole.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 483 of file scriptargument.h.
|
inlinevirtual |
Get the Real as a Integer.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 473 of file scriptargument.h.
|
inlinevirtual |
Get a pointer to the most Derived type of this class.
Reimplemented from Mezzanine::Scripting::iScriptArgument.
Reimplemented in Mezzanine::Scripting::Lua::Lua51RealArgument.
Definition at line 508 of file scriptargument.h.
|
inlinevirtual |
Get the Real.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 478 of file scriptargument.h.
|
inlinevirtual |
Get the Real as a String.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 463 of file scriptargument.h.
|
inlinevirtual |
Get data about this being a Real number.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 503 of file scriptargument.h.
|
inlinevirtual |
Get the raw primitive to value.
Definition at line 498 of file scriptargument.h.
|
inlinevirtual |
Get the Real as a Whole.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 468 of file scriptargument.h.
|
inlinevirtual |
Is this value representing a Null/Nil value.
Implements Mezzanine::Scripting::iScriptArgument.
Definition at line 488 of file scriptargument.h.
|
inlinevirtual |
Provide an overload point to change assignment that operators will use.
| NewValue | The new value for this. |
Definition at line 493 of file scriptargument.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.