|
Public Member Functions |
| Facet () throw () |
| Facet (const Facet &f) throw () |
| ~Facet () throw () |
Facet & | operator= (const Facet &f) throw () |
bool | operator== (const Facet &f) const throw () |
bool | operator< (const Facet &f) const throw () |
| operator bool () const throw () |
| Return true if the facet is valid.
|
std::string | name () const throw () |
| Return the name of the facet.
|
std::string | sdesc () const throw () |
| Return the short description of the facet.
|
std::string | ldesc () const throw () |
| Return the long description of the facet.
|
std::string | fulldata () const throw () |
| Return the full data record about the facet.
|
std::string | field (const std::string &name) const throw () |
| Return the content of an arbitrary field.
|
bool | hasTag (const std::string &name) const throw () |
| Return true if the facet has a tag with the given name (name, not fullname).
|
Tagcoll::OpSet< Tag > | tags () const throw () |
| Return the list of tags in this facet.
|
Protected Member Functions |
| Facet (FacetImpl *impl) throw () |
Protected Attributes |
FacetImpl * | impl |
Friends |
class | Tag |
class | Vocabulary |
Facets can contain a "false" value, in which case using any of their methonds produce a null-pointer dereference segfault. The "null" facets are useful as "none" return values: