CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
autoptr< T > Class Template Reference

Public Member Functions

 autoptr (T *p)
T & operator* ()
T * operator-> ()
T * release ()
void reset (T *p)

Private Member Functions

 autoptr (const autoptr &)
autoptroperator= (const autoptr &)

Private Attributes

T * _p

Detailed Description

template<class T>
class autoptr< T >

Definition at line 49 of file mythwsapi.cpp.

Constructor & Destructor Documentation

◆ autoptr()

template<class T>
autoptr< T >::autoptr ( T * p)
inlineexplicit

Definition at line 55 of file mythwsapi.cpp.

◆ ~autoptr()

template<class T>
autoptr< T >::~autoptr ( )
inline

Definition at line 56 of file mythwsapi.cpp.

Member Function Documentation

◆ operator*()

template<class T>
T & autoptr< T >::operator* ( )
inline

Definition at line 57 of file mythwsapi.cpp.

◆ operator->()

template<class T>
T * autoptr< T >::operator-> ( )
inline

Definition at line 58 of file mythwsapi.cpp.

◆ release()

template<class T>
T * autoptr< T >::release ( )
inline

Definition at line 59 of file mythwsapi.cpp.

◆ reset()

template<class T>
void autoptr< T >::reset ( T * p)
inline

Definition at line 60 of file mythwsapi.cpp.

Field Documentation

◆ _p

template<class T>
T* autoptr< T >::_p
private

Definition at line 51 of file mythwsapi.cpp.


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