|
cheshirekow
v0.1.0
|
utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcObjectType objects More...
#include <cpp_fontconfig/name.h>
Classes | |
| class | BuildToken |
| class | Item |
Public Member Functions | |
| ConstantList (ConstantList::BuildToken &token) | |
| construct an object from a token More... | |
| ConstantList (const ConstantList &other) | |
| copy a list More... | |
| void | destroy () |
| destroy underlying data More... | |
| int | get_nItems () const |
| return the number of constants More... | |
| FcConstant * | get_ptr () |
| return a c-array of constants More... | |
| const FcConstant * | get_ptr () const |
| return a const c-array of constants More... | |
Static Public Member Functions | |
| static Item | create () |
| creates a new Object type list, and returns an item which points to it More... | |
Private Member Functions | |
| ConstantList () | |
| private constructor, use ObjectTypeList::create() instead More... | |
Private Attributes | |
| int | m_nItems |
| FcConstant * | m_ptr |
Static Private Attributes | |
| static BuildToken | sm_seed |
utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcObjectType objects
Example usage:
|
private |
private constructor, use ObjectTypeList::create() instead
| fontconfig::ConstantList::ConstantList | ( | ConstantList::BuildToken & | token | ) |
construct an object from a token
| fontconfig::ConstantList::ConstantList | ( | const ConstantList & | other | ) |
copy a list
|
static |
creates a new Object type list, and returns an item which points to it
| void fontconfig::ConstantList::destroy | ( | ) |
destroy underlying data
| int fontconfig::ConstantList::get_nItems | ( | ) | const |
return the number of constants
| FcConstant* fontconfig::ConstantList::get_ptr | ( | ) |
return a c-array of constants
| const FcConstant* fontconfig::ConstantList::get_ptr | ( | ) | const |
return a const c-array of constants
|
staticprivate |