OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::RefCount< T > Class Template Reference

Public Member Functions

 RefCount (T *p=0)
 
 RefCount (const RefCount< T > &other)
 
RefCount< T > & operator= (const RefCount< T > &other)
 
 operator T* () const
 
T * operator-> () const
 
T * get () const
 
template<class newType >
 operator RefCount< newType > ()
 

Detailed Description

template<class T>
class antlr::RefCount< T >

Definition at line 17 of file RefCount.hpp.

Constructor & Destructor Documentation

◆ RefCount() [1/2]

template<class T >
antlr::RefCount< T >::RefCount ( T * p = 0)
inlineexplicit

Definition at line 33 of file RefCount.hpp.

◆ RefCount() [2/2]

template<class T >
antlr::RefCount< T >::RefCount ( const RefCount< T > & other)
inline

Definition at line 37 of file RefCount.hpp.

◆ ~RefCount()

template<class T >
antlr::RefCount< T >::~RefCount ( )
inline

Definition at line 41 of file RefCount.hpp.

Member Function Documentation

◆ get()

template<class T >
T * antlr::RefCount< T >::get ( ) const
inline

Definition at line 65 of file RefCount.hpp.

◆ operator RefCount< newType >()

template<class T >
template<class newType >
antlr::RefCount< T >::operator RefCount< newType > ( )
inline

Definition at line 70 of file RefCount.hpp.

◆ operator T*()

template<class T >
antlr::RefCount< T >::operator T* ( ) const
inline

Definition at line 55 of file RefCount.hpp.

◆ operator->()

template<class T >
T * antlr::RefCount< T >::operator-> ( ) const
inline

Definition at line 60 of file RefCount.hpp.

◆ operator=()

template<class T >
RefCount< T > & antlr::RefCount< T >::operator= ( const RefCount< T > & other)
inline

Definition at line 46 of file RefCount.hpp.


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