Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepType.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_DEFAULTHEPREPTYPE_H
3#define CHEPREP_DEFAULTHEPREPTYPE_H 1
4
5#include "cheprep/config.h"
6
7#include <string>
8#include <vector>
9#include <set>
10
11#include "HEPREP/HepRep.h"
12#include "HEPREP/HepRepType.h"
13#include "HEPREP/HepRepAttDef.h"
15#include "HEPREP/HepRepWriter.h"
16
18
19/**
20 * @author Mark Donszelmann
21 */
22namespace cheprep {
23
25
26 private:
27 HEPREP::HepRepType* parent;
28 std::vector<HEPREP::HepRepType*> types;
29 std::string name;
30 std::string description;
31 std::string infoURL;
32
33 public:
34 DefaultHepRepType(HEPREP::HepRepType* parent, std::string name);
35 DefaultHepRepType(HEPREP::HepRepTypeTree* parent, std::string name);
37
39 HEPREP::HepRepAttDef* getAttDef(std::string name);
40 HEPREP::HepRepAttValue* getAttValue(std::string name);
42 std::string getName();
43 std::string getFullName();
44 std::string getDescription();
45 void setDescription(std::string description);
46 std::string getInfoURL();
47 void setInfoURL(std::string infoURL);
48 void addType(HEPREP::HepRepType* type);
49 std::vector<HEPREP::HepRepType*> getTypeList();
50};
51
52} // cheprep
53
54
55#endif
HEPREP::HepRepType * copy(HEPREP::HepRepType *parent)
void addType(HEPREP::HepRepType *type)
void setInfoURL(std::string infoURL)
HEPREP::HepRepAttValue * getAttValue(std::string name)
HEPREP::HepRepType * getSuperType()
HEPREP::HepRepAttDef * getAttDef(std::string name)
void setDescription(std::string description)
std::vector< HEPREP::HepRepType * > getTypeList()