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

#include <Reference.h>

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

Public Types

typedef T element_type
 
typedef T element_type
 

Public Member Functions

get () const
 
ref ()
 
 operator IceUtil::Handle< T > () const
 
 operator T & ()
 
T & operator[] (const char *_s)
 
 operator bool () const
 
void swap (ReferenceBase &other)
 
get () const
 
ref ()
 
 operator IceUtil::Handle< T > () const
 
 operator T & ()
 
T & operator[] (const char *_s)
 
 operator bool () const
 
void swap (ReferenceBase &other)
 

Public Attributes

T * _ptr
 

Private Member Functions

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

Member Typedef Documentation

◆ element_type [1/2]

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

◆ element_type [2/2]

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

Member Function Documentation

◆ get() [1/2]

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

◆ get() [2/2]

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

◆ operator bool() [1/2]

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

◆ operator bool() [2/2]

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

◆ operator IceUtil::Handle< T >() [1/2]

template<typename T >
Nice::ReferenceBase< T >::operator IceUtil::Handle< T > ( ) const
inline

◆ operator IceUtil::Handle< T >() [2/2]

template<typename T >
Nice::ReferenceBase< T >::operator IceUtil::Handle< T > ( ) const
inline

◆ operator T &() [1/2]

template<typename T >
Nice::ReferenceBase< T >::operator T& ( )
inline

◆ operator T &() [2/2]

template<typename T >
Nice::ReferenceBase< T >::operator T& ( )
inline

◆ operator[]() [1/2]

template<typename T >
T& Nice::ReferenceBase< T >::operator[] ( const char *  _s)
inline

◆ operator[]() [2/2]

template<typename T >
T& Nice::ReferenceBase< T >::operator[] ( const char *  _s)
inline

◆ ref() [1/2]

template<typename T >
T Nice::ReferenceBase< T >::ref ( )
inline

◆ ref() [2/2]

template<typename T >
T Nice::ReferenceBase< T >::ref ( )
inline

◆ swap() [1/2]

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

◆ swap() [2/2]

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

◆ throwNullReferenceException() [1/2]

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

◆ throwNullReferenceException() [2/2]

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

Member Data Documentation

◆ _ptr

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

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