Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
value_ptr< T > Class Template Reference

Value pointer. More...

#include <smartptr.h>

Inheritance diagram for value_ptr< T >:
[legend]
Collaboration diagram for value_ptr< T >:
[legend]

Public Member Functions

 value_ptr (const T &obj)
 
 value_ptr (T *p=NULL)
 
 value_ptr (const value_ptr< T > &rhs)
 
value_ptr< T > & operator= (const value_ptr< T > &rhs)
 
bool operator== (const value_ptr< T > &rhs)
 
- Public Member Functions inherited from member_ptr< T >
 member_ptr (T *p=NULL)
 
 ~member_ptr ()
 
const Toperator* () const
 
Toperator* ()
 
const Toperator-> () const
 
Toperator-> ()
 
const Tget () const
 
Tget ()
 
Trelease ()
 
void reset (T *p=0)
 

Additional Inherited Members

- Protected Member Functions inherited from member_ptr< T >
 member_ptr (const member_ptr< T > &rhs)
 
void operator= (const member_ptr< T > &rhs)
 
- Protected Attributes inherited from member_ptr< T >
Tm_p
 

Detailed Description

template<class T>
class value_ptr< T >

Value pointer.

Template Parameters
Tclass or type

Definition at line 79 of file smartptr.h.

Constructor & Destructor Documentation

template<class T>
value_ptr< T >::value_ptr ( const T obj)
inline

Definition at line 82 of file smartptr.h.

template<class T>
value_ptr< T >::value_ptr ( T p = NULL)
inline

Definition at line 83 of file smartptr.h.

template<class T>
value_ptr< T >::value_ptr ( const value_ptr< T > &  rhs)
inline

Definition at line 84 of file smartptr.h.

Member Function Documentation

template<class T>
value_ptr< T > & value_ptr< T >::operator= ( const value_ptr< T > &  rhs)

Definition at line 94 of file smartptr.h.

template<class T>
bool value_ptr< T >::operator== ( const value_ptr< T > &  rhs)
inline

Definition at line 88 of file smartptr.h.


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