#include <shared_object.hpp>
Public Types | |
typedef T | type |
Public Member Functions | |
shared_object () | |
shared_object (const T &o) | |
shared_object (const shared_object &o) | |
operator const T & () const | |
shared_object & | operator= (const shared_object &o) |
shared_object & | operator= (const T &o) |
Assignment from the template type is supported. More... | |
~shared_object () | |
void | set (const T &o) |
const T & | get () const |
void | swap (shared_object &o) |
const node * | ptr () const |
Static Public Member Functions | |
static const node * | insert_into_index (const node &) |
static void | erase_from_index (const node *) |
Protected Member Functions | |
bool | valid () const |
void | clear () |
Protected Attributes | |
const node * | val_ |
Definition at line 34 of file shared_object.hpp.
typedef T shared_object< T, node >::type |
Definition at line 36 of file shared_object.hpp.
|
inline |
Definition at line 41 of file shared_object.hpp.
References shared_object< T, node >::set().
|
inlineexplicit |
Definition at line 43 of file shared_object.hpp.
References shared_object< T, node >::set().
|
inline |
Definition at line 45 of file shared_object.hpp.
References shared_object< T, node >::val_, and shared_object< T, node >::valid().
|
inline |
Definition at line 69 of file shared_object.hpp.
References shared_object< T, node >::clear().
|
inlineprotected |
Definition at line 102 of file shared_object.hpp.
References shared_object< T, node >::erase_from_index(), and shared_object< T, node >::valid().
Referenced by shared_object< T, node >::set(), and shared_object< T, node >::~shared_object().
|
static |
Referenced by shared_object< T, node >::clear().
|
inline |
Definition at line 81 of file shared_object.hpp.
References shared_object< T, node >::val_, and shared_object< T, node >::valid().
Referenced by operator==().
|
static |
Referenced by shared_object< T, node >::set().
|
inline |
Definition at line 50 of file shared_object.hpp.
References shared_object< T, node >::val_, and shared_object< T, node >::valid().
|
inline |
Definition at line 55 of file shared_object.hpp.
References shared_object< T, node >::swap(), and shared_object< T, node >::val_.
|
inline |
Assignment from the template type is supported.
Definition at line 63 of file shared_object.hpp.
References shared_object< T, node >::swap().
|
inline |
Definition at line 90 of file shared_object.hpp.
References shared_object< T, node >::val_.
Referenced by operator==().
|
inline |
Definition at line 71 of file shared_object.hpp.
References shared_object< T, node >::clear(), shared_object< T, node >::insert_into_index(), shared_object< T, node >::val_, and shared_object< T, node >::valid().
Referenced by operator>>(), and shared_object< T, node >::shared_object().
|
inline |
Definition at line 86 of file shared_object.hpp.
References swap(), and shared_object< T, node >::val_.
Referenced by shared_object< T, node >::operator=().
|
inlineprotected |
Definition at line 98 of file shared_object.hpp.
Referenced by shared_object< T, node >::clear(), shared_object< T, node >::get(), shared_object< T, node >::operator const T &(), shared_object< T, node >::set(), and shared_object< T, node >::shared_object().
|
protected |
Definition at line 96 of file shared_object.hpp.
Referenced by shared_object< T, node >::get(), shared_object< T, node >::operator const T &(), shared_object< T, node >::operator=(), shared_object< T, node >::ptr(), shared_object< T, node >::set(), shared_object< T, node >::shared_object(), and shared_object< T, node >::swap().