cheshirekow
v0.1.0
|
holds a list of Unicode chars which are expected to be blank More...
#include <cpp_fontconfig/Blanks.h>
Public Member Functions | |
bool | add (Char32_t ucs4) |
Add a character to an FcBlanks. More... | |
void | destroy () |
Destroys an FcBlanks object, freeing any associated memory. More... | |
bool | isMember (Char32_t ucs4) |
Query membership in an FcBlanks. More... | |
BlanksDelegate * | operator-> () |
const BlanksDelegate * | operator-> () const |
Private Member Functions | |
BlanksDelegate (FcBlanks *ptr) | |
wrap constructor More... | |
BlanksDelegate (const BlanksDelegate &other) | |
not copy-constructable More... | |
BlanksDelegate & | operator= (const BlanksDelegate &other) |
not assignable More... | |
Private Attributes | |
FcBlanks * | m_ptr |
Friends | |
class | RefPtr< Blanks > |
holds a list of Unicode chars which are expected to be blank
unexpectedly blank chars are assumed to be invalid and are elided from the charset associated with the font.
Blanks structures are not reference counted. It is safe to pass around copies of this object, however you must remember to call destroy on one and only one copy when you're done with it
It contains only one data member which is a pointer and the copy constructor will simply copy that pointer so there is no reason to allocate a Blank on the heap.
|
inlineexplicitprivate |
|
private |
not copy-constructable
bool fontconfig::BlanksDelegate::add | ( | Char32_t | ucs4 | ) |
Add a character to an FcBlanks.
Adds a single character to an FcBlanks object, returning FcFalse if this process ran out of memory.
void fontconfig::BlanksDelegate::destroy | ( | ) |
Destroys an FcBlanks object, freeing any associated memory.
bool fontconfig::BlanksDelegate::isMember | ( | Char32_t | ucs4 | ) |
Query membership in an FcBlanks.
Returns whether the specified FcBlanks object contains the indicated Unicode value.
|
inline |
|
inline |
|
private |
not assignable