The Pedigree Project 0.1
Static Public Member Functions | Private Member Functions | List of all members
Singleton< T > Class Template Reference
+ Collaboration diagram for Singleton< T >:

Static Public Member Functions

static T & instance ()
 

Private Member Functions

 Singleton (const Singleton &)
 
Singleton & operator= (const Singleton &)
 

Detailed Description

template<class T>
class Singleton< T >

Definition at line 24 of file Singleton.h.

Constructor & Destructor Documentation

◆ Singleton()

template<class T >
Singleton< T >::Singleton ( )
inlineprotected

Definition at line 32 of file Singleton.h.

◆ ~Singleton()

template<class T >
Singleton< T >::~Singleton ( )
inlineprotected

Definition at line 33 of file Singleton.h.

Member Function Documentation

◆ instance()

template<class T >
static T & Singleton< T >::instance ( )
inlinestatic

Definition at line 26 of file Singleton.h.


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