gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
refcnt.hh File Reference

Classes for managing reference counted objects. More...

Go to the source code of this file.

Classes

class  RefCounted
 Derive from RefCounted if you want to enable reference counting of this class. More...
 
class  RefCountingPtr< T >
 If you want a reference counting pointer to a mutable object, create it like this: More...
 

Functions

template<class T >
bool operator== (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r)
 Check for equality of two reference counting pointers. More...
 
template<class T >
bool operator== (const RefCountingPtr< T > &l, const T *r)
 Check for equality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool operator== (const T *l, const RefCountingPtr< T > &r)
 Check for equality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool operator!= (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r)
 Check for inequality of two reference counting pointers. More...
 
template<class T >
bool operator!= (const RefCountingPtr< T > &l, const T *r)
 Check for inequality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool operator!= (const T *l, const RefCountingPtr< T > &r)
 Check for inequality of of a reference counting pointers and a regular pointer. More...
 

Detailed Description

Classes for managing reference counted objects.

Definition in file refcnt.hh.

Function Documentation

template<class T >
bool operator!= ( const RefCountingPtr< T > &  l,
const RefCountingPtr< T > &  r 
)
inline

Check for inequality of two reference counting pointers.

Definition at line 215 of file refcnt.hh.

References RefCountingPtr< T >::get().

Referenced by ArmISA::EndBitUnion().

template<class T >
bool operator!= ( const RefCountingPtr< T > &  l,
const T *  r 
)
inline

Check for inequality of of a reference counting pointers and a regular pointer.

Definition at line 221 of file refcnt.hh.

References RefCountingPtr< T >::get(), and MipsISA::r.

template<class T >
bool operator!= ( const T *  l,
const RefCountingPtr< T > &  r 
)
inline

Check for inequality of of a reference counting pointers and a regular pointer.

Definition at line 227 of file refcnt.hh.

References RefCountingPtr< T >::get().

template<class T >
bool operator== ( const RefCountingPtr< T > &  l,
const RefCountingPtr< T > &  r 
)
inline

Check for equality of two reference counting pointers.

Definition at line 198 of file refcnt.hh.

References RefCountingPtr< T >::get().

template<class T >
bool operator== ( const RefCountingPtr< T > &  l,
const T *  r 
)
inline

Check for equality of of a reference counting pointers and a regular pointer.

Definition at line 204 of file refcnt.hh.

References RefCountingPtr< T >::get(), and MipsISA::r.

template<class T >
bool operator== ( const T *  l,
const RefCountingPtr< T > &  r 
)
inline

Check for equality of of a reference counting pointers and a regular pointer.

Definition at line 210 of file refcnt.hh.

References RefCountingPtr< T >::get().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6