Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepDefinition.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_DEFAULTHEPREPDEFINITION_H
3#define CHEPREP_DEFAULTHEPREPDEFINITION_H 1
4
5#include "cheprep/config.h"
6
7#include <string>
8#include <vector>
9#include <set>
10
12#include "HEPREP/HepRepWriter.h"
13
15
16/**
17 * @author Mark Donszelmann
18 */
19namespace cheprep {
20
22
23 private:
24 std::map<std::string, HEPREP::HepRepAttDef*> attDefs;
25
26 public:
29
30 void addAttDef(HEPREP::HepRepAttDef* hepRepAttDef);
31 void addAttDef(std::string name, std::string desc, std::string type, std::string extra);
32 std::set<HEPREP::HepRepAttDef *> getAttDefsFromNode();
33 HEPREP::HepRepAttDef* getAttDefFromNode(std::string lowerCaseName);
34
35 HEPREP::HepRepAttDef* getAttDef(std::string name) = 0;
36 HEPREP::HepRepAttValue* getAttValue(std::string name) = 0;
37};
38
39} // cheprep
40
41
42#endif
HEPREP::HepRepAttValue * getAttValue(std::string name)=0
HEPREP::HepRepAttDef * getAttDef(std::string name)=0
std::set< HEPREP::HepRepAttDef * > getAttDefsFromNode()
HEPREP::HepRepAttDef * getAttDefFromNode(std::string lowerCaseName)
void addAttDef(HEPREP::HepRepAttDef *hepRepAttDef)