Psi4
Public Member Functions | Private Attributes | List of all members
psi::SimpleReferenceCount Class Reference

#include <ref.h>

Inheritance diagram for psi::SimpleReferenceCount:
psi::Ref< psi::DataType >

Public Member Functions

 SimpleReferenceCount ()
 
template<typename T >
void init (T *)
 
template<typename T >
void dispose (T *)
 
template<typename T >
void increment (T *)
 
template<typename T >
void decrement (T *)
 
template<typename T >
bool is_zero (T *)
 

Private Attributes

size_t * _counter
 

Constructor & Destructor Documentation

psi::SimpleReferenceCount::SimpleReferenceCount ( )
inline

Member Function Documentation

template<typename T >
void psi::SimpleReferenceCount::decrement ( T )
inline
template<typename T >
void psi::SimpleReferenceCount::dispose ( T )
inline
template<typename T >
void psi::SimpleReferenceCount::increment ( T )
inline
template<typename T >
void psi::SimpleReferenceCount::init ( T )
inline
template<typename T >
bool psi::SimpleReferenceCount::is_zero ( T )
inline

Member Data Documentation

size_t* psi::SimpleReferenceCount::_counter
private

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