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

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

#include <lua51script.h>

Public Types

enum  { IsCastable = CastDynamic }
 This uses dynamic casting when resolving casts inside the CountedPtr.
 
typedef Scripting::Lua::Lua51Script RefCountType
 The type that maintains the Reference count for Lua51Script with be Lua51Script 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::Lua51Script >

Marks Lua51Script for internal reference counting if a CountedPtr checks.

Definition at line 302 of file lua51script.h.

Member Function Documentation

static RefCountType* Mezzanine::ReferenceCountTraits< Scripting::Lua::Lua51Script >::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::Lua51Script that will simply be returned
Returns
This returns whatever was passed into target because it already is a valid Reference Counter

Definition at line 311 of file lua51script.h.


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