27 #ifndef CPPFONTCONFIG_NAME_H_ 
   28 #define CPPFONTCONFIG_NAME_H_ 
   35 namespace fontconfig {
 
   84         const FcObjectType* 
get_ptr() 
const;
 
  209         const FcConstant* 
get_ptr() 
const;
 
  260         void write( 
const Char8_t* name, 
const char* 
object, 
int value );
 
void init()
initializes fields to zero 
void write(const Char8_t *name, const char *object, int value)
writes data and increments counter, returns true if this is the last item 
bool unregisterConstants(const ConstantList &list)
Unregister symbolic constants. 
utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcOb...
BuildToken(const BuildToken &other)
cannot be copied 
BuildToken & operator=(const BuildToken &other)
cannot be copied 
bool constant(Char8_t *string, int *result)
Get the value for a symbolic constant. 
FcObjectType * m_ptr
array of objects 
void allocate()
allocates the object type buffer given the current value of m_nItems 
void incrementCount()
increments the item count 
ConstantList::BuildToken & m_token
void init()
initializes fields to zero 
int m_nItems
number of items 
static Item create()
creates a new Object type list, and returns an item which points to it 
void write(const char *object, Type_t type)
writes data and increments counter 
BuildToken()
can only be created by ObjectTypeList 
ObjectTypeList::BuildToken & operator()()
finalizes the initialization by signaling the list to allocate data, the data is filled by ~Item() ...
int m_nItems
number of items 
bool registerConstants(const ConstantList &list)
Register symbolic constants. 
FcConstant * m_ptr
array of objects 
void destroy()
destroy underlying data 
void incrementCount()
increments the item count 
int m_iItem
index of the current item to write 
ConstantList()
private constructor, use ObjectTypeList::create() instead 
BuildToken & operator=(const BuildToken &other)
cannot be copied 
FcConstant * get_ptr()
return a c-array of constants 
ConstantList::BuildToken & operator()()
finalizes the initialization by signaling the list to allocate data, the data is filled by ~Item() ...
FcObjectType * get_ptr()
return the c-array of objects 
static Item create()
creates a new Object type list, and returns an item which points to it 
utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcOb...
static BuildToken sm_seed
void destroy()
destroy underlying data 
void allocate()
allocates the object type buffer given the current value of m_nItems 
static BuildToken sm_seed
bool registerObjectTypes(const ObjectTypeList &list)
Register object types. 
bool unregisterObjectTypes(const ObjectTypeList &list)
Unregister object types. 
BinaryKey other(const BinaryKey &key)
int m_nItems
number of items 
BuildToken()
can only be created by ObjectTypeList 
~Item()
writes the item data to the list 
Item(ConstantList::BuildToken &token)
initializes the item as an empty last item and increments the number of items in the list ...
~Item()
writes the item data to the list 
FcObjectType * m_ptr
array of objects 
RefPtr< ObjectType > getObjectType(const char *object)
Lookup an object type. 
int get_nItems() const 
return the number of objects 
ObjectTypeList::BuildToken & m_token
BuildToken(const BuildToken &other)
cannot be copied 
ObjectTypeList()
private constructor, use ObjectTypeList::create() instead 
Item(ObjectTypeList::BuildToken &token)
initializes the item as an empty last item and increments the number of items in the list ...
int m_iItem
index of the current item to write 
RefPtr< Constant > getConstant(Char8_t *string)
Lookup symbolic constant. 
int get_nItems() const 
return the number of constants 
object which acts like a c-pointer, but when dereferenced returns a delegate object which adds method...