ObjCryst++  1.5CVS
Public Member Functions | Private Attributes | Friends
ObjCryst::XMLCrystTag Class Reference

class to input or output a well-formatted xml beginning or ending tag. More...

List of all members.

Public Member Functions

 XMLCrystTag (istream &is)
 XMLCrystTag (const string &tagName, const bool isEndTag=false, const bool isEmptyTag=false)
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.

Detailed Description

class to input or output a well-formatted xml beginning or ending tag.


The documentation for this class was generated from the following file: