Public Member Functions | |
XMLCrystTag () | |
XMLCrystTag (istream &is) | |
XMLCrystTag (const string &tagName, const bool isEndTag=false, const bool isEmptyTag=false) | |
~XMLCrystTag () | |
const string & | GetName () const |
const string & | GetClassName () const |
unsigned int | GetNbAttribute () const |
void | AddAttribute (const string &attName, const string &attValue) |
void | GetAttribute (const int attNum, string &attName, string &attValue) |
const string & | GetAttributeName (const int attNum) const |
const string & | GetAttributeValue (const int attNum) const |
void | SetIsEndTag (const bool isEndTag) |
bool | IsEndTag () const |
void | SetIsEmptyTag (const bool isEmptyTag) |
bool | IsEmptyTag () const |
void | Print () const |
Private Attributes | |
string | mName |
bool | mIsEndTag |
bool | mIsEmptyTag |
vector< pair< std::string, std::string > > | mvAttribute |
Friends | |
ostream & | operator<< (ostream &, const XMLCrystTag &) |
Output an XMLCrystTag to a stream. | |
istream & | operator>> (istream &, XMLCrystTag &) |
Input an XMLCrystTag from a stream. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Output an XMLCrystTag to a stream.
|
|
Input an XMLCrystTag from a stream.
|
|
|
|
|
|
|
|
|