Spinning Topp Logo BlackTopp Studios
inc
Public Types | Static Public Member Functions | List of all members
Mezzanine::ReferenceCountTraits< Scripting::Lua::LuaArgument > Class Template Reference

Marks LuaArgument for internal reference counting if a CountedPtr checks. More...

#include <lua51scriptargument.h>

Public Types

enum  { IsCastable = CastDynamic }
 This uses dynamic casting when resolving casts inside the CountedPtr.
 
typedef Scripting::Lua::LuaArgument RefCountType
 The type that maintains the Reference count for LuaArgument with be LuaArgument itself.
 

Static Public Member Functions

static RefCountTypeConstructionPointer (RefCountType *Target)
 Given a pointer to the raw object this will return a pointer to an initialized reference count. More...
 

Detailed Description

template<>
class Mezzanine::ReferenceCountTraits< Scripting::Lua::LuaArgument >

Marks LuaArgument for internal reference counting if a CountedPtr checks.

Definition at line 245 of file lua51scriptargument.h.

Member Function Documentation

static RefCountType* Mezzanine::ReferenceCountTraits< Scripting::Lua::LuaArgument >::ConstructionPointer ( RefCountType Target)
inlinestatic

Given a pointer to the raw object this will return a pointer to an initialized reference count.

Parameters
TargetA pointer to a Scripting::Lua::LuaArgument that will simply be returned
Returns
This returns whatever was passed into target because it already is a valid Reference Counter

Definition at line 254 of file lua51scriptargument.h.


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