B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
FixDictionary2::CSRefCounterPtr< T > Class Template Reference

Const sensitive pointer. More...

#include <B2BITS_CSRefCounterPtr.h>

Public Types

typedef CSRefCounterPtr< T > MyT
 

Public Member Functions

 CSRefCounterPtr () throw ()
 Default Constructor.
 
 CSRefCounterPtr (CSRefCounterPtr const &aV) throw ()
 Copy constuctor.
 
template<typename T2 >
 CSRefCounterPtr (CSRefCounterPtr< T2 > const &other) throw ()
 Another copy constructor.
 
 CSRefCounterPtr (T *apV) throw ()
 Constructor.
 
 CSRefCounterPtr (T *apV, bool increaseRefCounter) throw ()
 Constructor.
 
T * get () throw ()
 Returns pointer to the managed object.
 
T const * get () const throw ()
 Returns pointer to the managed object.
 
T & operator* () const throw ()
 Dereference operator.
 
T * operator-> () const throw ()
 Selector operator.
 
CSRefCounterPtroperator= (CSRefCounterPtr const &rv) throw ()
 Assign operator.
 
T * release () throw ()
 Returns pointer to the managed object and its ownership.
 
void reset (T *apI=NULL, bool addRef=true) throw ()
 Releases managed object and assigns new one.
 
 ~CSRefCounterPtr () throw ()
 Destructor.
 

Detailed Description

template<class T>
class FixDictionary2::CSRefCounterPtr< T >

Const sensitive pointer.

Member Typedef Documentation

◆ MyT

template<class T >
typedef CSRefCounterPtr<T> FixDictionary2::CSRefCounterPtr< T >::MyT

Constructor & Destructor Documentation

◆ CSRefCounterPtr() [1/5]

template<class T >
FixDictionary2::CSRefCounterPtr< T >::CSRefCounterPtr ( )
throw ( )
inline

Default Constructor.

◆ CSRefCounterPtr() [2/5]

template<class T >
FixDictionary2::CSRefCounterPtr< T >::CSRefCounterPtr ( T * apV)
throw ( )
inlineexplicit

Constructor.

◆ CSRefCounterPtr() [3/5]

template<class T >
FixDictionary2::CSRefCounterPtr< T >::CSRefCounterPtr ( T * apV,
bool increaseRefCounter )
throw ( )
inline

Constructor.

◆ CSRefCounterPtr() [4/5]

template<class T >
FixDictionary2::CSRefCounterPtr< T >::CSRefCounterPtr ( CSRefCounterPtr< T > const & aV)
throw ( )
inline

Copy constuctor.

◆ CSRefCounterPtr() [5/5]

template<class T >
template<typename T2 >
FixDictionary2::CSRefCounterPtr< T >::CSRefCounterPtr ( CSRefCounterPtr< T2 > const & other)
throw ( )
inline

Another copy constructor.

◆ ~CSRefCounterPtr()

template<class T >
FixDictionary2::CSRefCounterPtr< T >::~CSRefCounterPtr ( )
throw ( )
inline

Destructor.

Member Function Documentation

◆ get() [1/2]

template<class T >
T * FixDictionary2::CSRefCounterPtr< T >::get ( )
throw ( )
inline

Returns pointer to the managed object.

◆ get() [2/2]

template<class T >
T const * FixDictionary2::CSRefCounterPtr< T >::get ( ) const
throw ( )
inline

Returns pointer to the managed object.

◆ operator*()

template<class T >
T & FixDictionary2::CSRefCounterPtr< T >::operator* ( ) const
throw ( )
inline

Dereference operator.

◆ operator->()

template<class T >
T * FixDictionary2::CSRefCounterPtr< T >::operator-> ( ) const
throw ( )
inline

Selector operator.

◆ operator=()

template<class T >
CSRefCounterPtr & FixDictionary2::CSRefCounterPtr< T >::operator= ( CSRefCounterPtr< T > const & rv)
throw ( )
inline

Assign operator.

References FixDictionary2::CSRefCounterPtr< T >::reset().

◆ release()

template<class T >
T * FixDictionary2::CSRefCounterPtr< T >::release ( )
throw ( )
inline

Returns pointer to the managed object and its ownership.

◆ reset()

template<class T >
void FixDictionary2::CSRefCounterPtr< T >::reset ( T * apI = NULL,
bool addRef = true )
throw ( )
inline

Releases managed object and assigns new one.

Referenced by FixDictionary2::CSRefCounterPtr< T >::operator=().