InspIRCd
3.0
|
#include <clientprotocol.h>
Public Member Functions | |
bool | IsSelected (const TagMap &tags, TagMap::const_iterator it) const |
void | Select (const TagMap &tags, TagMap::const_iterator it) |
bool | operator== (const TagSelection &other) const |
A selection of zero or more tags in a TagMap.
|
inline |
Check if a tag is selected.
tags | TagMap the tag is in. The TagMap must contain the same tags as it had when the tag was selected with Select(), otherwise the result is not meaningful. |
it | Iterator to the tag to check. |
|
inline |
Check if a TagSelection is equivalent to this object.
other | Other TagSelection object to compare this with. |
|
inline |
Select a tag.
tags | TagMap the tag is in. This parameter must be the same every time the method is called. The TagMap must not be altered otherwise the results of IsSelected() is not meaningful. |
it | Iterator to the tag to mark as selected. |