![]() |
![]() |
Inheritance diagram for Glib::QueryQuark:
Public Member Functions | |
QueryQuark (const GQuark& q) | |
QueryQuark (const ustring& s) | |
QueryQuark (const char* s) | |
~QueryQuark () | |
QueryQuark& | operator= (const QueryQuark& q) |
operator ustring () const | |
operator GQuark () const | |
GQuark | id () const |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const QueryQuark& a, const QueryQuark& b) |
bool | operator!= (const QueryQuark& a, const QueryQuark& b) |
Each Quark is unique but may change between runs.
QueryQuark is a converter class for looking up but not allocating an ID. An id means the quark lookup failed.
Quark is used for actions for which the id should live on While QueryQuark should be used for queries. ie. void set_data (const Quark&, void* data); void* get_data (const QueryQuark&);
Glib::QueryQuark::QueryQuark | ( | const GQuark & | q | ) |
Glib::QueryQuark::QueryQuark | ( | const ustring& | s | ) |
Glib::QueryQuark::QueryQuark | ( | const char * | s | ) |
Glib::QueryQuark::~QueryQuark | ( | ) | [inline] |
QueryQuark& Glib::QueryQuark::operator= | ( | const QueryQuark& | q | ) |
Glib::QueryQuark::operator ustring | ( | ) | const |
Glib::QueryQuark::operator GQuark | ( | ) | const [inline] |
GQuark Glib::QueryQuark::id | ( | ) | const [inline] |
bool operator== | ( | const QueryQuark& | a, | |
const QueryQuark& | b | |||
) | [related] |
bool operator!= | ( | const QueryQuark& | a, | |
const QueryQuark& | b | |||
) | [related] |