Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
cheprep::AbstractXMLWriter Class Referenceabstract

#include <AbstractXMLWriter.h>

+ Inheritance diagram for cheprep::AbstractXMLWriter:

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

◆ AbstractXMLWriter()

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

Definition at line 18 of file AbstractXMLWriter.h.

18 : defaultNameSpace(aDefaultNameSpace) {
19 }

◆ ~AbstractXMLWriter()

virtual cheprep::AbstractXMLWriter::~AbstractXMLWriter ( )
inlinevirtual

Definition at line 20 of file AbstractXMLWriter.h.

20 {
21 }

Member Function Documentation

◆ close()

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

◆ closeDoc()

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

◆ closeTag()

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

◆ openDoc()

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

◆ openTag() [1/2]

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

◆ openTag() [2/2]

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

◆ printTag() [1/2]

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

◆ printTag() [2/2]

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

◆ setAttribute() [1/9]

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

◆ setAttribute() [2/9]

virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
char *  value 
)
pure virtual

◆ setAttribute() [3/9]

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

◆ setAttribute() [4/9]

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

◆ setAttribute() [5/9]

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

◆ setAttribute() [6/9]

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

◆ setAttribute() [7/9]

virtual void cheprep::AbstractXMLWriter::setAttribute ( std::string  name,
std::vector< double >  value 
)
pure virtual

◆ setAttribute() [8/9]

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

◆ setAttribute() [9/9]

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

Member Data Documentation

◆ defaultNameSpace

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

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