#include <IO.h>
Public Methods | |
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 |
unsigned int | mNbAttribute |
string | mAttributeName [20] |
string | mAttributeValue [20] |
Friends | |
ostream & | operator<< (ostream &, const XMLCrystTag &) |
Output an XMLCrystTag to a stream. | |
istream & | operator>> (istream &, XMLCrystTag &) |
Input an XMLCrystTag from a stream. |