#include <own_ptr.h>
Public Types | |
typedef X | element_type |
Public Member Functions | |
X * | get () const |
X & | operator* () const |
X * | operator-> () const |
own_ptr & | operator= (const own_ptr &a) |
template<class T , typename Q > | |
own_ptr & | operator= (const own_ptr< T, Q > &a) |
own_ptr (X *p=0) | |
own_ptr (const own_ptr &a) | |
template<class T , typename Q > | |
own_ptr (const own_ptr< T, Q > &a) | |
X * | release () const |
void | reset (X *p=0) |
~own_ptr () | |
Private Attributes | |
X * | ptr |
a pointer which "owns" the pointed object
typedef X own_ptr< X, P >::element_type |
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 83 of file own_ptr.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), FileInPath::FileInPath(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), FileInPath::operator()(), and FileInPath::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 85 of file own_ptr.h.
Referenced by cuy.ValElement::__init__(), and FileInPath::init().
|
inline |
Definition at line 41 of file own_ptr.h.
Referenced by own_ptr< std::ifstream >::get(), own_ptr< std::ifstream >::operator*(), own_ptr< std::ifstream >::operator->(), own_ptr< std::ifstream >::release(), and own_ptr< std::ifstream >::reset().