CLI
- Implemented A::unTagAll, to clear all tags.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user