7 #ifndef HEPREP_HEPREPWRITER_H     8 #define HEPREP_HEPREPWRITER_H 1    21 class HepRepAttribute;
    22 class HepRepDefinition;
    24 class HepRepInstanceTree;
    48     virtual bool addProperty(std::string key, std::string value) = 0;
    55     virtual bool close() = 0;
    72     virtual bool write(std::vector<std::string>  layerOrder) = 0;
 virtual bool write(HepRep *heprep, std::string name)=0
 
virtual bool addProperty(std::string key, std::string value)=0
 
virtual ~HepRepWriter()
Destructor. 
 
static MCTruthManager * instance