OpenMS  2.8.0
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
shared_xerces_ptr< T > Class Template Reference

#include <OpenMS/FORMAT/HANDLERS/XMLHandler.h>

Collaboration diagram for shared_xerces_ptr< T >:
[legend]

Public Member Functions

 shared_xerces_ptr ()=default
 
 shared_xerces_ptr (T *item)
 
shared_xerces_ptroperator= (T *item)
 
void reset ()
 
void assign (T *item)
 
T * get ()
 
const T * get () const
 
bool is_released () const
 

Static Private Member Functions

template<typename U >
static void doRelease_ (U *item)
 
static void doRelease_ (char *item)
 
static void doRelease_ (XMLCh *item)
 

Private Attributes

std::shared_ptr< T > item_
 

Constructor & Destructor Documentation

◆ shared_xerces_ptr() [1/2]

shared_xerces_ptr ( )
default

◆ shared_xerces_ptr() [2/2]

shared_xerces_ptr ( T *  item)
inline

Member Function Documentation

◆ assign()

void assign ( T *  item)
inline

◆ doRelease_() [1/3]

static void doRelease_ ( char *  item)
staticprivate

◆ doRelease_() [2/3]

static void doRelease_ ( U *  item)
inlinestaticprivate

◆ doRelease_() [3/3]

static void doRelease_ ( XMLCh *  item)
staticprivate

◆ get() [1/2]

T* get ( )
inline

◆ get() [2/2]

const T* get ( ) const
inline

◆ is_released()

bool is_released ( ) const
inline

◆ operator=()

shared_xerces_ptr& operator= ( T *  item)
inline

◆ reset()

void reset ( )
inline

Member Data Documentation

◆ item_

std::shared_ptr<T> item_
private