digiKam
DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn > Class Template Reference

Public Member Functions

void assign (Ptr ptr)
 
 CWrapper ()
 
 CWrapper (Ptr ptr)
 
 operator Ptr () const
 
bool operator! () const
 
 ~CWrapper ()
 

Detailed Description

template<class Ptr, void(*)(Ptr) freeFcn>
class DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >

A simple wrapper for a C structure pointed to by Ptr, which must be freed with freeFcn

Constructor & Destructor Documentation

◆ CWrapper() [1/2]

template<class Ptr , void(*)(Ptr) freeFcn>
DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::CWrapper ( )
inline

◆ CWrapper() [2/2]

template<class Ptr , void(*)(Ptr) freeFcn>
DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::CWrapper ( Ptr  ptr)
inline

◆ ~CWrapper()

template<class Ptr , void(*)(Ptr) freeFcn>
DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::~CWrapper ( )
inline

Member Function Documentation

◆ assign()

template<class Ptr , void(*)(Ptr) freeFcn>
void DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::assign ( Ptr  ptr)
inline

◆ operator Ptr()

template<class Ptr , void(*)(Ptr) freeFcn>
DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::operator Ptr ( ) const
inline

◆ operator!()

template<class Ptr , void(*)(Ptr) freeFcn>
bool DigikamGenericHtmlGalleryPlugin::CWrapper< Ptr, freeFcn >::operator! ( ) const
inline

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