- Implemented A::unTagAll, to clear all tags.
This commit is contained in:
Paul Beckingham 2014-10-23 01:17:54 -04:00
parent 5d790a07de
commit 371bb0a5b1
2 changed files with 7 additions and 0 deletions

View file

@ -135,6 +135,12 @@ void A::unTag (const std::string& tag)
}
}
////////////////////////////////////////////////////////////////////////////////
void A::unTagAll ()
{
_tags.clear ();
}
////////////////////////////////////////////////////////////////////////////////
// Accessor for attributes.
void A::attribute (const std::string& name, const std::string& value)

View file

@ -45,6 +45,7 @@ public:
bool hasTag (const std::string&) const;
void tag (const std::string&);
void unTag (const std::string&);
void unTagAll ();
void attribute (const std::string&, const std::string&);
void attribute (const std::string&, const int);
void attribute (const std::string&, const double);