cheshirekow  v0.1.0
fontconfig::ConstantList::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 Char8_t *name, const char *object, int value)
 writes data and increments counter, returns true if this is the last item More...
 

Private Attributes

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

Friends

class ConstantList
 
class ConstantList::Item
 

Detailed Description

Definition at line 223 of file name.h.

Constructor & Destructor Documentation

fontconfig::ConstantList::BuildToken::BuildToken ( )
inlineexplicitprivate

can only be created by ObjectTypeList

Definition at line 231 of file name.h.

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

cannot be copied

Definition at line 234 of file name.h.

Member Function Documentation

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

allocates the object type buffer given the current value of m_nItems

Called by Item::operator()()

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

increments the item count

Called by Item constructor

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

initializes fields to zero

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

cannot be copied

Definition at line 237 of file name.h.

void fontconfig::ConstantList::BuildToken::write ( const Char8_t name,
const char *  object,
int  value 
)
private

writes data and increments counter, returns true if this is the last item

Called by Item d'tor

Friends And Related Function Documentation

friend class ConstantList
friend

Definition at line 263 of file name.h.

friend class ConstantList::Item
friend

Definition at line 264 of file name.h.

Member Data Documentation

int fontconfig::ConstantList::BuildToken::m_iItem
private

index of the current item to write

Definition at line 227 of file name.h.

int fontconfig::ConstantList::BuildToken::m_nItems
private

number of items

Definition at line 228 of file name.h.

FcConstant* fontconfig::ConstantList::BuildToken::m_ptr
private

array of objects

Definition at line 226 of file name.h.


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