cheshirekow  v0.1.0
fontconfig::ConstCPtr< Traits > Class Template Reference

acts like a const c-pointer by overloading the ->() operator, but is not copyable and doesn't allow the underlying c-pointer to be copied More...

#include <cpp_fontconfig/CPtr.h>

Public Types

typedef Traits::cobjptr cobjptr
 

Public Member Functions

const cobjptr operator-> () const
 

Private Member Functions

 ConstCPtr (const cobjptr ptr=0)
 may only be constructed by a RefPtr More...
 
 ConstCPtr (const ConstCPtr< Traits > &other)
 not construction-copyable More...
 
ConstCPtr< Traits > & operator= (const ConstCPtr< Traits > &)
 not copyable More...
 

Private Attributes

const cobjptr m_ptr
 

Friends

class RefPtr< Traits >
 

Detailed Description

template<class Traits>
class fontconfig::ConstCPtr< Traits >

acts like a const c-pointer by overloading the ->() operator, but is not copyable and doesn't allow the underlying c-pointer to be copied

Definition at line 75 of file CPtr.h.

Member Typedef Documentation

template<class Traits>
typedef Traits::cobjptr fontconfig::ConstCPtr< Traits >::cobjptr

Definition at line 78 of file CPtr.h.

Constructor & Destructor Documentation

template<class Traits>
fontconfig::ConstCPtr< Traits >::ConstCPtr ( const cobjptr  ptr = 0)
inlineexplicitprivate

may only be constructed by a RefPtr

Definition at line 84 of file CPtr.h.

template<class Traits>
fontconfig::ConstCPtr< Traits >::ConstCPtr ( const ConstCPtr< Traits > &  other)
private

not construction-copyable

Member Function Documentation

template<class Traits>
const cobjptr fontconfig::ConstCPtr< Traits >::operator-> ( ) const
inline

Definition at line 97 of file CPtr.h.

template<class Traits>
ConstCPtr<Traits>& fontconfig::ConstCPtr< Traits >::operator= ( const ConstCPtr< Traits > &  )
private

not copyable

Friends And Related Function Documentation

template<class Traits>
friend class RefPtr< Traits >
friend

Definition at line 95 of file CPtr.h.

Member Data Documentation

template<class Traits>
const cobjptr fontconfig::ConstCPtr< Traits >::m_ptr
private

Definition at line 81 of file CPtr.h.


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