Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::AutoPtr< Pointer, Lock > Class Template Reference

#include <AutoPtr.h>

Inheritance diagram for Skyfire::AutoPtr< Pointer, Lock >:
Collaboration diagram for Skyfire::AutoPtr< Pointer, Lock >:

Public Member Functions

 AutoPtr ()
 AutoPtr (Pointer *x)
bool null () const
 operator bool () const
bool operator! () const

Private Types

typedef std::shared_ptr< Pointer > Base

Detailed Description

template<class Pointer, class Lock>
class Skyfire::AutoPtr< Pointer, Lock >

Definition at line 15 of file AutoPtr.h.

Member Typedef Documentation

◆ Base

template<class Pointer, class Lock>
typedef std::shared_ptr<Pointer> Skyfire::AutoPtr< Pointer, Lock >::Base
private

Definition at line 17 of file AutoPtr.h.

Constructor & Destructor Documentation

◆ AutoPtr() [1/2]

template<class Pointer, class Lock>
Skyfire::AutoPtr< Pointer, Lock >::AutoPtr ( )
inline

Definition at line 20 of file AutoPtr.h.

◆ AutoPtr() [2/2]

template<class Pointer, class Lock>
Skyfire::AutoPtr< Pointer, Lock >::AutoPtr ( Pointer * x)
inline

Definition at line 22 of file AutoPtr.h.

Member Function Documentation

◆ null()

◆ operator bool()

template<class Pointer, class Lock>
Skyfire::AutoPtr< Pointer, Lock >::operator bool ( ) const
inline

Definition at line 24 of file AutoPtr.h.

◆ operator!()

template<class Pointer, class Lock>
bool Skyfire::AutoPtr< Pointer, Lock >::operator! ( ) const
inline

Definition at line 29 of file AutoPtr.h.


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