CLI2: Implemented A2::tag/hasTag

This commit is contained in:
Paul Beckingham
2015-06-13 15:09:20 -04:00
parent 657d5b8310
commit 59429e9af8
2 changed files with 10 additions and 5 deletions

View File

@@ -38,16 +38,20 @@
class A2
{
public:
/*
A2 ();
*/
A2 (const std::string&, const std::string&, Lexer::Type);
/*
A2 (const std::string&, const int);
A2 (const std::string&, const double);
*/
~A2 ();
A2 (const A&);
A2 (const A2&);
A2& operator= (const A2&);
bool hasTag (const std::string&) const;
void tag (const std::string&);
/*
void unTag (const std::string&);
void unTagAll ();
*/
@@ -63,9 +67,7 @@ public:
public:
std::string _name;
Lexer::Type _lextype;
/*
std::vector <std::string> _tags;
*/
std::map <std::string, std::string> _attributes;
};