Stxxl
1.3.2
|
Implemented as reference counting smart pointer. More...
#include <request_ptr.h>
Public Member Functions | |
request_ptr (request *ptr_=NULL) | |
Constructs an request_ptr from request pointer. More... | |
request_ptr (const request_ptr &p) | |
Constructs an request_ptr from a request_ptr object. More... | |
~request_ptr () | |
Destructor. More... | |
request_ptr & | operator= (const request_ptr &p) |
Assignment operator from request_ptr object. More... | |
request_ptr & | operator= (request *p) |
Assignment operator from request pointer. More... | |
request & | operator* () const |
"Star" operator More... | |
request * | operator-> () const |
"Arrow" operator More... | |
bool | operator== (const request_ptr &rp2) const |
request * | get () const |
Access to owned request object (synonym for operator->() ) More... | |
bool | valid () const |
Returns true if object is initialized. More... | |
bool | empty () const |
Returns true if object is not initialized. More... | |
Implemented as reference counting smart pointer.
|
inline |
Constructs an request_ptr
from request
pointer.
References STXXL_VERBOSE_request_ptr.
|
inline |
Constructs an request_ptr
from a request_ptr
object.
References STXXL_VERBOSE_request_ptr.
|
inline |
Destructor.
References STXXL_VERBOSE_request_ptr.
|
inline |
Returns true if object is not initialized.
|
inline |
Access to owned request
object (synonym for operator->()
)
request
object request_ptr
from the returned request
or deletion causes unpredictable behaviour. Do not do that!
|
inline |
"Star" operator
request
object
|
inline |
"Arrow" operator
request
object
|
inline |
Assignment operator from request_ptr
object.
|
inline |
Assignment operator from request
pointer.
References STXXL_VERBOSE_request_ptr.
|
inline |
Returns true if object is initialized.