InstanceToSingletonAdapter< C > Class Template Reference

#include <Generic.h>

Inheritance diagram for InstanceToSingletonAdapter< C >:
Collaboration diagram for InstanceToSingletonAdapter< C >:

Public Member Functions

void * operator new (size_t byteCount)
 
void operator delete (void *address)
 
 InstanceToSingletonAdapter (C const *instance)
 
C const * operator-> () const
 
Coperator-> ()
 
C const & operator* () const
 
Coperator* ()
 
 operator C const * () const
 
 operator C * ()
 

Private Attributes

C const * theInstance
 

Detailed Description

template<class C>
class InstanceToSingletonAdapter< C >

Definition at line 45 of file Generic.h.

Constructor & Destructor Documentation

template<class C >
InstanceToSingletonAdapter< C >::InstanceToSingletonAdapter ( C const *  instance)
inline

Definition at line 53 of file Generic.h.

Member Function Documentation

template<class C >
InstanceToSingletonAdapter< C >::operator C * ( )
inline

Definition at line 65 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

template<class C >
InstanceToSingletonAdapter< C >::operator C const * ( ) const
inline

Definition at line 63 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

template<class C >
void InstanceToSingletonAdapter< C >::operator delete ( void *  address)
inline

Definition at line 51 of file Generic.h.

template<class C >
void* InstanceToSingletonAdapter< C >::operator new ( size_t  byteCount)
inline

Definition at line 49 of file Generic.h.

template<class C >
C const& InstanceToSingletonAdapter< C >::operator* ( ) const
inline

Definition at line 59 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

template<class C >
C& InstanceToSingletonAdapter< C >::operator* ( )
inline

Definition at line 61 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

template<class C >
C const* InstanceToSingletonAdapter< C >::operator-> ( ) const
inline

Definition at line 55 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

template<class C >
C* InstanceToSingletonAdapter< C >::operator-> ( )
inline

Definition at line 57 of file Generic.h.

References InstanceToSingletonAdapter< C >::theInstance.

Member Data Documentation


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors