OpenMD  2.5
Molecular Dynamics in the Open
antlr::TokenRefCount< T > Class Template Reference

#include <TokenRefCount.hpp>

Public Member Functions

 TokenRefCount (const Token *p=0)
 
 TokenRefCount (const TokenRefCount< T > &other)
 
 ~TokenRefCount ()
 
TokenRefCount< T > & operator= (Token *other)
 
TokenRefCount< T > & operator= (const TokenRefCount< T > &other)
 
 operator T* () const
 
T * operator-> () const
 
T * get () const
 

Private Attributes

TokenRefref
 

Detailed Description

template<class T>
class antlr::TokenRefCount< T >

Definition at line 43 of file TokenRefCount.hpp.

Constructor & Destructor Documentation

◆ TokenRefCount() [1/2]

template<class T>
antlr::TokenRefCount< T >::TokenRefCount ( const Token p = 0)
inline

Definition at line 49 of file TokenRefCount.hpp.

◆ TokenRefCount() [2/2]

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

Definition at line 53 of file TokenRefCount.hpp.

◆ ~TokenRefCount()

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

Definition at line 57 of file TokenRefCount.hpp.

Member Function Documentation

◆ get()

◆ operator T*()

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

Definition at line 87 of file TokenRefCount.hpp.

◆ operator->()

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

Definition at line 88 of file TokenRefCount.hpp.

◆ operator=() [1/2]

template<class T>
TokenRefCount<T>& antlr::TokenRefCount< T >::operator= ( Token other)
inline

Definition at line 62 of file TokenRefCount.hpp.

◆ operator=() [2/2]

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

Definition at line 73 of file TokenRefCount.hpp.

Member Data Documentation

◆ ref

template<class T>
TokenRef* antlr::TokenRefCount< T >::ref
private

Definition at line 46 of file TokenRefCount.hpp.

Referenced by antlr::TokenRefCount< Token >::operator=().


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