CAPD::DynSys Library  6.0.0
CRef< T > Class Template Reference

#include <capd/auxil/CRef.h>

Public Member Functions

 CRef ()
 
 CRef (T *p)
 
 CRef (const CRef< T > &p) throw ()
 
 ~CRef () throw ()
 
void release ()
 
CRef< T > & operator= (const CRef< T > &p) throw ()
 
T & operator() () const
 
T & operator* () const
 
int count () const
 
bool isNull ()
 

Friends

std::ostream & operator<< (std::ostream &out, const CRef< T > &A_CRef)
 

Constructor & Destructor Documentation

◆ CRef() [1/3]

template<typename T >
CRef< T >::CRef ( )
inlineexplicit

◆ CRef() [2/3]

template<typename T >
CRef< T >::CRef ( T *  p)
inlineexplicit

◆ CRef() [3/3]

template<typename T >
CRef< T >::CRef ( const CRef< T > &  p)
throw (
)
inline

◆ ~CRef()

template<typename T >
CRef< T >::~CRef ( )
throw (
)
inline

Member Function Documentation

◆ count()

template<typename T >
int CRef< T >::count ( ) const
inline

◆ isNull()

template<typename T >
bool CRef< T >::isNull ( )
inline

◆ operator()()

template<typename T >
T& CRef< T >::operator() ( ) const
inline

◆ operator*()

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

◆ operator=()

template<typename T >
CRef<T>& CRef< T >::operator= ( const CRef< T > &  p)
throw (
)
inline

◆ release()

template<typename T >
void CRef< T >::release ( )
inline

Friends And Related Function Documentation

◆ operator<<

template<typename T >
std::ostream& operator<< ( std::ostream &  out,
const CRef< T > &  A_CRef 
)
friend

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