utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcObjectType objects
More...
#include <cpp_fontconfig/name.h>
|
static Item | create () |
| creates a new Object type list, and returns an item which points to it More...
|
|
utility class for building a static list of ObjectTypes, replaces static allocation of a list of FcObjectType objects
Example usage:
- Note
- an ObjectTypeList is not copyable or publicly constructable. It can only be constructed in the manner of the above example. We take advantage of this by setting
m_selfDestruct
of the list returned by ObjectTypeList::create() to false, which means that the m_selfDestruct
bit of the created list is true
Definition at line 58 of file name.h.
fontconfig::ObjectTypeList::ObjectTypeList |
( |
| ) |
|
|
private |
fontconfig::ObjectTypeList::ObjectTypeList |
( |
BuildToken & |
token | ) |
|
construct an object from a token
fontconfig::ObjectTypeList::ObjectTypeList |
( |
const ObjectTypeList & |
other | ) |
|
static Item fontconfig::ObjectTypeList::create |
( |
| ) |
|
|
static |
creates a new Object type list, and returns an item which points to it
void fontconfig::ObjectTypeList::destroy |
( |
| ) |
|
int fontconfig::ObjectTypeList::get_nItems |
( |
| ) |
const |
return the number of objects
FcObjectType* fontconfig::ObjectTypeList::get_ptr |
( |
| ) |
|
return the c-array of objects
const FcObjectType* fontconfig::ObjectTypeList::get_ptr |
( |
| ) |
const |
return a const c-array of objects
int fontconfig::ObjectTypeList::m_nItems |
|
private |
number of items
Definition at line 66 of file name.h.
FcObjectType* fontconfig::ObjectTypeList::m_ptr |
|
private |
array of objects
Definition at line 62 of file name.h.
The documentation for this class was generated from the following file: