TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
Nice::HandleBase< T > Class Template Reference

#include <Handle.h>

Inheritance diagram for Nice::HandleBase< T >:
Inheritance graph
Collaboration diagram for Nice::HandleBase< T >:
Collaboration graph

Public Types

typedef T element_type
 
typedef T element_type
 

Public Member Functions

T * get () const
 
T * operator-> () const
 
T & operator* () const
 
 operator bool () const
 
void swap (HandleBase &other)
 
T * get () const
 
T * operator-> () const
 
T & operator* () const
 
 operator bool () const
 
void swap (HandleBase &other)
 

Public Attributes

T * _ptr
 

Private Member Functions

void throwNullHandleException (const char *, const int) const
 
void throwNullHandleException (const char *, const int) const
 

Member Typedef Documentation

◆ element_type [1/2]

template<typename T>
typedef T Nice::HandleBase< T >::element_type

◆ element_type [2/2]

template<typename T>
typedef T Nice::HandleBase< T >::element_type

Member Function Documentation

◆ get() [1/2]

template<typename T>
T* Nice::HandleBase< T >::get ( void  ) const
inline

◆ get() [2/2]

template<typename T>
T* Nice::HandleBase< T >::get ( void  ) const
inline

◆ operator bool() [1/2]

template<typename T>
Nice::HandleBase< T >::operator bool ( ) const
inline

◆ operator bool() [2/2]

template<typename T>
Nice::HandleBase< T >::operator bool ( ) const
inline

◆ operator*() [1/2]

template<typename T>
T& Nice::HandleBase< T >::operator* ( ) const
inline

◆ operator*() [2/2]

template<typename T>
T& Nice::HandleBase< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T>
T* Nice::HandleBase< T >::operator-> ( ) const
inline

◆ operator->() [2/2]

template<typename T>
T* Nice::HandleBase< T >::operator-> ( ) const
inline

◆ swap() [1/2]

template<typename T>
void Nice::HandleBase< T >::swap ( HandleBase< T > &  other)
inline

◆ swap() [2/2]

template<typename T>
void Nice::HandleBase< T >::swap ( HandleBase< T > &  other)
inline

◆ throwNullHandleException() [1/2]

template<typename T>
void Nice::HandleBase< T >::throwNullHandleException ( const char *  ,
const int   
) const
private

◆ throwNullHandleException() [2/2]

template<typename T >
void Nice::HandleBase< T >::throwNullHandleException ( const char *  file,
const int  line 
) const
inlineprivate

Member Data Documentation

◆ _ptr

template<typename T>
T * Nice::HandleBase< T >::_ptr

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