cheshirekow  v0.1.0
fontconfig::ObjectTypeList::BuildToken Class Reference

#include <cpp_fontconfig/name.h>

Private Member Functions

void allocate ()
 allocates the object type buffer given the current value of m_nItems More...
 
 BuildToken ()
 can only be created by ObjectTypeList More...
 
 BuildToken (const BuildToken &other)
 cannot be copied More...
 
void incrementCount ()
 increments the item count More...
 
void init ()
 initializes fields to zero More...
 
BuildTokenoperator= (const BuildToken &other)
 cannot be copied More...
 
void write (const char *object, Type_t type)
 writes data and increments counter More...
 

Private Attributes

int m_iItem
 index of the current item to write More...
 
int m_nItems
 number of items More...
 
FcObjectType * m_ptr
 array of objects More...
 

Friends

class ObjectTypeList
 
class ObjectTypeList::Item
 

Detailed Description

Definition at line 97 of file name.h.

Constructor & Destructor Documentation

fontconfig::ObjectTypeList::BuildToken::BuildToken ( )
inlineexplicitprivate

can only be created by ObjectTypeList

Definition at line 105 of file name.h.

fontconfig::ObjectTypeList::BuildToken::BuildToken ( const BuildToken other)
inlineprivate

cannot be copied

Definition at line 108 of file name.h.

Member Function Documentation

void fontconfig::ObjectTypeList::BuildToken::allocate ( )
private

allocates the object type buffer given the current value of m_nItems

Called by Item::operator()()

void fontconfig::ObjectTypeList::BuildToken::incrementCount ( )
private

increments the item count

Called by Item constructor

void fontconfig::ObjectTypeList::BuildToken::init ( )
private

initializes fields to zero

BuildToken& fontconfig::ObjectTypeList::BuildToken::operator= ( const BuildToken other)
inlineprivate

cannot be copied

Definition at line 111 of file name.h.

void fontconfig::ObjectTypeList::BuildToken::write ( const char *  object,
Type_t  type 
)
private

writes data and increments counter

Called by Item d'tor

Friends And Related Function Documentation

friend class ObjectTypeList
friend

Definition at line 136 of file name.h.

friend class ObjectTypeList::Item
friend

Definition at line 137 of file name.h.

Member Data Documentation

int fontconfig::ObjectTypeList::BuildToken::m_iItem
private

index of the current item to write

Definition at line 101 of file name.h.

int fontconfig::ObjectTypeList::BuildToken::m_nItems
private

number of items

Definition at line 102 of file name.h.

FcObjectType* fontconfig::ObjectTypeList::BuildToken::m_ptr
private

array of objects

Definition at line 100 of file name.h.


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