cheshirekow  v0.1.0
fontconfig::ObjectSetDelegate Class Reference

holds a set of names and is used to specify which fields from fonts are placed in the the list of returned patterns when listing fonts. More...

#include <cpp_fontconfig/ObjectSet.h>

Public Member Functions

bool add (const char *obj)
 Add to an object set. More...
 
void destroy ()
 Destroy an object set. More...
 
ObjectSetDelegateoperator-> ()
 
const ObjectSetDelegateoperator-> () const
 

Private Member Functions

 ObjectSetDelegate (FcObjectSet *ptr)
 wrap constructor More...
 
 ObjectSetDelegate (const ObjectSetDelegate &other)
 not copy-constructable More...
 
ObjectSetDelegateoperator= (const ObjectSetDelegate &other)
 not assignable More...
 

Private Attributes

FcObjectSet * m_ptr
 

Friends

class RefPtr< ObjectSet >
 

Detailed Description

holds a set of names and is used to specify which fields from fonts are placed in the the list of returned patterns when listing fonts.

ObjectSet's are not reference counted. You may copy an object set but be sure to only destroy one of the copies.

Definition at line 45 of file ObjectSet.h.

Constructor & Destructor Documentation

fontconfig::ObjectSetDelegate::ObjectSetDelegate ( FcObjectSet *  ptr)
inlineexplicitprivate

wrap constructor

wraps the pointer with this interface, does nothing else, only called by RefPtr<Atomic>

Definition at line 58 of file ObjectSet.h.

fontconfig::ObjectSetDelegate::ObjectSetDelegate ( const ObjectSetDelegate other)
private

not copy-constructable

Member Function Documentation

bool fontconfig::ObjectSetDelegate::add ( const char *  obj)

Add to an object set.

Adds a property name to the set. Returns FcFalse if the property name cannot be inserted into the set (due to allocation failure). Otherwise returns FcTrue.

void fontconfig::ObjectSetDelegate::destroy ( )

Destroy an object set.

Destroys an object set.

ObjectSetDelegate* fontconfig::ObjectSetDelegate::operator-> ( )
inline

Definition at line 71 of file ObjectSet.h.

const ObjectSetDelegate* fontconfig::ObjectSetDelegate::operator-> ( ) const
inline

Definition at line 72 of file ObjectSet.h.

ObjectSetDelegate& fontconfig::ObjectSetDelegate::operator= ( const ObjectSetDelegate other)
private

not assignable

Friends And Related Function Documentation

friend class RefPtr< ObjectSet >
friend

Definition at line 69 of file ObjectSet.h.

Member Data Documentation

FcObjectSet* fontconfig::ObjectSetDelegate::m_ptr
private

Definition at line 48 of file ObjectSet.h.


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