Qt 4.8
|
A smart pointer very similar to std::auto_ptr. More...
#include <qautoptr_p.h>
Public Functions | |
AutoPtr (T *pointer=0) | |
AutoPtr (AutoPtr< T > &other) | |
AutoPtr (AutoPtrRef< T > ref) | |
template<typename L > | |
AutoPtr (AutoPtr< L > &other) | |
T * | data () const |
template<typename L > | |
operator AutoPtr< L > () | |
template<typename L > | |
operator AutoPtrRef< L > () | |
operator bool () const | |
bool | operator! () const |
T & | operator* () const |
T * | operator-> () const |
AutoPtr & | operator= (AutoPtrRef< T > ref) |
AutoPtr & | operator= (AutoPtr &other) |
T * | release () |
void | reset (T *other=0) |
~AutoPtr () | |
Properties | |
T * | m_ptr |
A smart pointer very similar to std::auto_ptr.
Definition at line 73 of file qautoptr_p.h.
|
inlineexplicit |
Definition at line 76 of file qautoptr_p.h.
|
inline |
Definition at line 80 of file qautoptr_p.h.
|
inline |
Definition at line 84 of file qautoptr_p.h.
|
inline |
Definition at line 111 of file qautoptr_p.h.
|
inline |
Definition at line 138 of file qautoptr_p.h.
|
inline |
Definition at line 149 of file qautoptr_p.h.
Referenced by QXmlSchemaPrivate::load(), QPatternist::XsdValidatingInstanceReader::loadSchema(), QPatternist::XsdSchemaParser::parseImport(), QPatternist::XsdSchemaParser::parseInclude(), and QXmlSchemaValidator::validate().
|
inline |
Definition at line 132 of file qautoptr_p.h.
|
inline |
Definition at line 126 of file qautoptr_p.h.
|
inline |
Definition at line 106 of file qautoptr_p.h.
|
inline |
Definition at line 101 of file qautoptr_p.h.
|
inline |
Definition at line 89 of file qautoptr_p.h.
|
inline |
Definition at line 95 of file qautoptr_p.h.
|
inline |
Definition at line 115 of file qautoptr_p.h.
|
inline |
Definition at line 163 of file qautoptr_p.h.
|
inline |
Definition at line 142 of file qautoptr_p.h.
Referenced by QPatternist::AutoPtr< NodeBuilder >::operator=().
|
inline |
|
private |
Definition at line 170 of file qautoptr_p.h.