Public Member Functions | Protected Attributes | List of all members
cheprep::AbstractXMLWriter Class Referenceabstract

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/visualization/HepRep/include/cheprep/AbstractXMLWriter.h"

Inheritance diagram for cheprep::AbstractXMLWriter:
cheprep::BHepRepWriter cheprep::XMLWriter

Public Member Functions

 AbstractXMLWriter (std::string aDefaultNameSpace)
 
virtual ~AbstractXMLWriter ()
 
virtual void openTag (std::string ns, std::string name)=0
 
virtual void printTag (std::string ns, std::string name)=0
 
virtual void setAttribute (std::string ns, std::string name, std::string value)=0
 
virtual void setAttribute (std::string ns, std::string name, double value)=0
 
virtual void close ()=0
 
virtual void openDoc (std::string version="1.0", std::string encoding="", bool standalone=false)=0
 
virtual void closeDoc (bool force=false)=0
 
virtual void openTag (std::string name)=0
 
virtual void closeTag ()=0
 
virtual void printTag (std::string name)=0
 
virtual void setAttribute (std::string name, char *value)=0
 
virtual void setAttribute (std::string name, std::string value)=0
 
virtual void setAttribute (std::string name, std::vector< double > value)=0
 
virtual void setAttribute (std::string name, int64 value)=0
 
virtual void setAttribute (std::string name, int value)=0
 
virtual void setAttribute (std::string name, bool value)=0
 
virtual void setAttribute (std::string name, double value)=0
 

Protected Attributes

std::string defaultNameSpace
 

Detailed Description

Definition at line 15 of file AbstractXMLWriter.h.

Constructor & Destructor Documentation

cheprep::AbstractXMLWriter::AbstractXMLWriter ( std::string  aDefaultNameSpace)
inline

Definition at line 18 of file AbstractXMLWriter.h.

18  : defaultNameSpace(aDefaultNameSpace) {
19  }
virtual cheprep::AbstractXMLWriter::~AbstractXMLWriter ( )
inlinevirtual

Definition at line 20 of file AbstractXMLWriter.h.

References close(), closeDoc(), closeTag(), ns, openDoc(), openTag(), printTag(), setAttribute(), and string.

20  {
21  }

Member Function Documentation

virtual void cheprep::AbstractXMLWriter::close ( )
pure virtual

Implemented in cheprep::BHepRepWriter, and cheprep::XMLWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::closeDoc ( bool  force = false)
pure virtual

Implemented in cheprep::XMLWriter, and cheprep::BHepRepWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::closeTag ( )
pure virtual

Implemented in cheprep::XMLWriter, and cheprep::BHepRepWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::openDoc ( std::string  version = "1.0",
std::string  encoding = "",
bool  standalone = false 
)
pure virtual

Implemented in cheprep::BHepRepWriter, and cheprep::XMLWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::openTag ( std::string  ns,
std::string  name 
)
pure virtual

Implemented in cheprep::XMLWriter, and cheprep::BHepRepWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::openTag ( std::string  name)
pure virtual
virtual void cheprep::AbstractXMLWriter::printTag ( std::string  ns,
std::string  name 
)
pure virtual

Implemented in cheprep::XMLWriter, and cheprep::BHepRepWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::printTag ( std::string  name)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  ns,
std::string  name,
std::string  value 
)
pure virtual

Implemented in cheprep::XMLWriter, and cheprep::BHepRepWriter.

Referenced by ~AbstractXMLWriter().

virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  ns,
std::string  name,
double  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
char *  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
std::string  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
std::vector< double >  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
int64  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
int  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
bool  value 
)
pure virtual
virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
double  value 
)
pure virtual

Member Data Documentation

std::string cheprep::AbstractXMLWriter::defaultNameSpace
protected

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