Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofXMLwriter Class Reference

#include <oofxml.h>

Collaboration diagram for oofXMLwriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Generic class for writing XML.

Provides simple methods to handle the translation and bracketing.


Public Member Functions

 oofXMLwriter ()
 ~oofXMLwriter ()
void startElement (const char *, const char *otherAttributes=0, bool withID=false)
 avoid creating temp string if not necessary by using ternary operator in calls

void endElement ()
void addEmptyElement (const char *, const char *otherAttributes=0, bool withID=false)
void addSimpleElement (const char *inName, const char *inBody, const char *otherAttributes=0, bool withID=false)
void addSimpleElement (const char *inName, int, const char *otherAttributes=0, bool withID=false)
void addSimpleElement (const char *inName, double, const char *otherAttributes=0, bool withID=false)
const oofStringgeneratedXML () const
bool topLevelClosed () const

Static Public Member Functions

const char * xmlSimpleVersionString ()


Constructor & Destructor Documentation

oofXMLwriter::oofXMLwriter  ) 
 

oofXMLwriter::~oofXMLwriter  ) 
 


Member Function Documentation

void oofXMLwriter::addEmptyElement const char *  ,
const char *  otherAttributes = 0,
bool  withID = false
 

void oofXMLwriter::addSimpleElement const char *  inName,
double  ,
const char *  otherAttributes = 0,
bool  withID = false
[inline]
 

void oofXMLwriter::addSimpleElement const char *  inName,
int  ,
const char *  otherAttributes = 0,
bool  withID = false
[inline]
 

void oofXMLwriter::addSimpleElement const char *  inName,
const char *  inBody,
const char *  otherAttributes = 0,
bool  withID = false
 

void oofXMLwriter::endElement  ) 
 

const oofString & oofXMLwriter::generatedXML  )  const [inline]
 

void oofXMLwriter::startElement const char *  inName,
const char *  otherAttributes = 0,
bool  withID = false
 

avoid creating temp string if not necessary by using ternary operator in calls

bool oofXMLwriter::topLevelClosed  )  const
 

const char * oofXMLwriter::xmlSimpleVersionString  )  [static]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 22:10:39 2004 for OOFILE by doxygen 1.3.5