#include <refcntr.hpp>
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_type & | value () |
const value_type & | value () const |
const counter_type & | refs () const |
void | link (const counter_type &n=counter_type(1)) |
bool | unlink (const counter_type &n=counter_type(1)) |
void | unlink_all () |
Definition at line 31 of file refcntr.hpp.
typedef TC Arageli::refcntr< T, TC >::counter_type |
Definition at line 36 of file refcntr.hpp.
typedef T Arageli::refcntr< T, TC >::value_type |
Definition at line 35 of file refcntr.hpp.
Arageli::refcntr< T, TC >::refcntr | ( | const counter_type & | refs_a = counter_type(1) |
) | [inline] |
Definition at line 38 of file refcntr.hpp.
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.
void Arageli::refcntr< T, TC >::link | ( | const counter_type & | n = counter_type(1) |
) | [inline] |
Definition at line 53 of file refcntr.hpp.
const counter_type& Arageli::refcntr< T, TC >::refs | ( | ) | const [inline] |
Definition at line 51 of file refcntr.hpp.
bool Arageli::refcntr< T, TC >::unlink | ( | const counter_type & | n = counter_type(1) |
) | [inline] |
Definition at line 66 of file refcntr.hpp.
void Arageli::refcntr< T, TC >::unlink_all | ( | ) | [inline] |
Definition at line 74 of file refcntr.hpp.
const value_type& Arageli::refcntr< T, TC >::value | ( | ) | const [inline] |
Definition at line 49 of file refcntr.hpp.
value_type& Arageli::refcntr< T, TC >::value | ( | ) | [inline] |
Definition at line 48 of file refcntr.hpp.