Arageli::refcntr< T, TC > Class Template Reference

#include <refcntr.hpp>

List of all members.

Public Types

typedef T value_type
typedef TC counter_type

Public Member Functions

 refcntr (const counter_type &refs_a=counter_type(1))
 refcntr (const value_type &value_a, const counter_type &refs_a=counter_type(1))
value_typevalue ()
const value_typevalue () const
const counter_typerefs () const
void link (const counter_type &n=counter_type(1))
bool unlink (const counter_type &n=counter_type(1))
void unlink_all ()


Detailed Description

template<typename T, typename TC = std::size_t>
class Arageli::refcntr< T, TC >

Definition at line 31 of file refcntr.hpp.


Member Typedef Documentation

template<typename T, typename TC = std::size_t>
typedef TC Arageli::refcntr< T, TC >::counter_type

Definition at line 36 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
typedef T Arageli::refcntr< T, TC >::value_type

Definition at line 35 of file refcntr.hpp.


Constructor & Destructor Documentation

template<typename T, typename TC = std::size_t>
Arageli::refcntr< T, TC >::refcntr ( const counter_type refs_a = counter_type(1)  )  [inline]

Definition at line 38 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
Arageli::refcntr< T, TC >::refcntr ( const value_type value_a,
const counter_type refs_a = counter_type(1) 
) [inline]

Definition at line 42 of file refcntr.hpp.


Member Function Documentation

template<typename T, typename TC = std::size_t>
void Arageli::refcntr< T, TC >::link ( const counter_type n = counter_type(1)  )  [inline]

Definition at line 53 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
const counter_type& Arageli::refcntr< T, TC >::refs (  )  const [inline]

Definition at line 51 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
bool Arageli::refcntr< T, TC >::unlink ( const counter_type n = counter_type(1)  )  [inline]

Definition at line 66 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
void Arageli::refcntr< T, TC >::unlink_all (  )  [inline]

Definition at line 74 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
const value_type& Arageli::refcntr< T, TC >::value (  )  const [inline]

Definition at line 49 of file refcntr.hpp.

template<typename T, typename TC = std::size_t>
value_type& Arageli::refcntr< T, TC >::value (  )  [inline]

Definition at line 48 of file refcntr.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Aug 31 17:38:27 2006 for Arageli by  doxygen 1.4.7