SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
SingletonHolder< T > Class Template Reference

Static Public Member Functions

static T * get ()
 
static void set (T *p)
 
static bool exists ()
 

Static Public Attributes

static T * sInstance
 

Detailed Description

template<typename T>
class SingletonHolder< T >

Definition at line 4 of file SingletonHolder.hpp.

Member Function Documentation

◆ get()

template<typename T >
static T * SingletonHolder< T >::get ( )
inlinestatic

Definition at line 6 of file SingletonHolder.hpp.

◆ set()

template<typename T >
static void SingletonHolder< T >::set ( T * p)
inlinestatic

Definition at line 10 of file SingletonHolder.hpp.

◆ exists()

template<typename T >
static bool SingletonHolder< T >::exists ( )
inlinestatic

Definition at line 14 of file SingletonHolder.hpp.

Member Data Documentation

◆ sInstance

template<typename T >
T * SingletonHolder< T >::sInstance
static

Definition at line 18 of file SingletonHolder.hpp.