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

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

Collaboration diagram for unique_xerces_ptr< T >:
[legend]

Public Member Functions

 unique_xerces_ptr (const unique_xerces_ptr< T > &)=delete
 
unique_xerces_ptroperator= (const unique_xerces_ptr< T > &)=delete
 
 unique_xerces_ptr ()
 
 unique_xerces_ptr (T *i)
 
 ~unique_xerces_ptr ()
 
 unique_xerces_ptr (unique_xerces_ptr< T > &&other) noexcept
 
void swap (unique_xerces_ptr< T > &other) noexcept
 
void operator= (T *i)
 
void xerces_release ()
 
T * yield ()
 
void assign (T *i)
 
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

T * item_
 

Constructor & Destructor Documentation

◆ unique_xerces_ptr() [1/4]

unique_xerces_ptr ( const unique_xerces_ptr< T > &  )
delete

◆ unique_xerces_ptr() [2/4]

unique_xerces_ptr ( )
inline

◆ unique_xerces_ptr() [3/4]

unique_xerces_ptr ( T *  i)
inlineexplicit

◆ ~unique_xerces_ptr()

~unique_xerces_ptr ( )
inline

◆ unique_xerces_ptr() [4/4]

unique_xerces_ptr ( unique_xerces_ptr< T > &&  other)
inlinenoexcept

Member Function Documentation

◆ assign()

void assign ( T *  i)
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()

T* get ( ) const
inline

◆ is_released()

bool is_released ( ) const
inline

◆ operator=() [1/2]

unique_xerces_ptr& operator= ( const unique_xerces_ptr< T > &  )
delete

◆ operator=() [2/2]

void operator= ( T *  i)
inline

◆ swap()

void swap ( unique_xerces_ptr< T > &  other)
inlinenoexcept

◆ xerces_release()

void xerces_release ( )
inline

◆ yield()

T* yield ( )
inline

Member Data Documentation

◆ item_

T* item_
private