Import Geant4 6.2.0 source tree
This commit is contained in:
@@ -38,6 +38,15 @@ public:
|
||||
/// Destructor.
|
||||
virtual ~HepRepWriter() { /* nop */; }
|
||||
|
||||
/**
|
||||
* Adds a property, to be written to the HepRep file when closed.
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
* @return false in case of a stream problem.
|
||||
*/
|
||||
virtual bool addProperty(std::string key, std::string value) = 0;
|
||||
|
||||
/**
|
||||
* Closes the writer and its underlying stream.
|
||||
*
|
||||
@@ -60,7 +69,7 @@ public:
|
||||
* @param layerOrder to be written.
|
||||
* @return false in case of a stream problem.
|
||||
*/
|
||||
virtual bool write(std::vector<std::string> * layerOrder) = 0;
|
||||
virtual bool write(std::vector<std::string> layerOrder) = 0;
|
||||
|
||||
/**
|
||||
* Writes a HepRepTypeTree.
|
||||
|
||||
Reference in New Issue
Block a user