|
Public Types |
typedef tagsets_t::const_iterator | const_iterator |
typedef tagsets_t::iterator | iterator |
Public Member Functions |
| TagCollection () throw () |
| TagCollection (const TagCollection &tc) throw () |
virtual | ~TagCollection () throw () |
TagCollection & | operator= (const TagCollection &tc) throw () |
iterator | begin () throw () |
iterator | end () throw () |
const_iterator | begin () const throw () |
const_iterator | end () const throw () |
int | tagCount () const throw () |
int | tagsetCount () const throw () |
int | untaggedCount () const throw () |
int | totalCount () const throw () |
OpSet< ITEM > | getUntaggedItems () const throw () |
OpSet< ITEM > | getItemsForTagset (const OpSet< TAG > &ts) const throw () |
OpSet< TAG > | getTagsetForItem (const ITEM &item) const throw () |
OpSet< TAG > | getAllTags () const throw () |
OpSet< TAG > | getCompanionTags (const OpSet< TAG > &ts) const throw () |
OpSet< ITEM > | getAllItems () const throw () |
OpSet< ITEM > | getCompanionItems (const OpSet< TAG > &ts) const throw () |
std::map< ITEM, OpSet< TAG > > | getCompanionItemsAndTagsets (const OpSet< TAG > &ts) const throw () |
std::list< OpSet< TAG > > | getRelatedTagsets (const OpSet< TAG > &ts, int maxdistance=1) const throw () |
Change | applyChange (const Change &change) throw () |
TagcollChange< ITEM, TAG > | applyChange (const TagcollChange< ITEM, TAG > &change) throw () |
void | add (const ITEM &item) throw () |
void | add (const OpSet< ITEM > &items) throw () |
void | add (const OpSet< TAG > &tagset, const ITEM &item) throw () |
void | add (const OpSet< TAG > &tagset, const OpSet< ITEM > &items) throw () |
void | consume (const ITEM &item) throw () |
void | consume (const OpSet< ITEM > &items) throw () |
void | consume (const ITEM &item, const OpSet< TAG > &tagset) throw () |
void | consume (const OpSet< ITEM > &items, const OpSet< TAG > &tagset) throw () |
TagCollection< ITEM, TAG > | getChildCollection (const TAG &tag) const throw () |
TagCollection< ITEM, TAG > | getCollectionWithoutTags (const OpSet< TAG > &tag) const throw () |
TagCollection< ITEM, TAG > | getCollectionWithoutTagsetsHaving (const TAG &tag) const throw () |
TagCollection< ITEM, TAG > | getCollectionWithoutTagsetsHavingAnyOf (const OpSet< TAG > &tag) const throw () |
TAG | findTagWithMaxCardinalityNotIn (const OpSet< TAG > &tags, int *card=0) const throw () |
OpSet< TAG > | getImpliedBy (const TAG &tag) const throw () |
void | mergeEquivalentTags () throw () |
void | removeTagsWithCardinalityLessThan (int card) throw () |
void | output (TagcollConsumer< ITEM, TAG > &cons) const throw () |
Protected Types |
typedef std::map< OpSet< TAG >,
OpSet< ITEM > > | tagsets_t |
Protected Member Functions |
OpSet< TAG > | getImplyingOneOf (const OpSet< TAG > &tags) const throw () |
Protected Attributes |
TagContainer | tags |
tagsets_t | tagsets |
OpSet< ITEM > | untagged |
Classes |
class | Change |
class | TagContainer |