Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ObjCryst::XMLCrystTag Class Reference

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

#include <IO.h>

List of all members.

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.


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:
Generated on Wed Nov 14 19:48:39 2001 for ObjCryst++ by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001