Geant4 9.6.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 * @version $Id: DefaultHepRepType.h,v 1.3 2005-06-02 21:28:45 duns Exp $
22 */
23namespace cheprep {
24
26
27 private:
28 HEPREP::HepRepType* parent;
29 std::vector<HEPREP::HepRepType*> types;
30 std::string name;
31 std::string description;
32 std::string infoURL;
33
34 public:
35 DefaultHepRepType(HEPREP::HepRepType* parent, std::string name);
36 DefaultHepRepType(HEPREP::HepRepTypeTree* parent, std::string name);
38
40 HEPREP::HepRepAttDef* getAttDef(std::string name);
41 HEPREP::HepRepAttValue* getAttValue(std::string name);
43 std::string getName();
44 std::string getFullName();
45 std::string getDescription();
46 void setDescription(std::string description);
47 std::string getInfoURL();
48 void setInfoURL(std::string infoURL);
49 void addType(HEPREP::HepRepType* type);
50 std::vector<HEPREP::HepRepType*> getTypeList();
51};
52
53} // cheprep
54
55
56#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()