Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
visualization
HepRep
include
cheprep
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
"
14
#include "
HEPREP/HepRepAttValue.h
"
15
#include "
HEPREP/HepRepWriter.h
"
16
17
#include "
DefaultHepRepDefinition.h
"
18
23
namespace
cheprep {
24
25
class
DefaultHepRepType
:
public
DefaultHepRepDefinition
,
public
virtual
HEPREP::HepRepType
{
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);
37
~DefaultHepRepType
();
38
39
HEPREP::HepRepType
*
getSuperType
();
40
HEPREP::HepRepAttDef
*
getAttDef
(std::string name);
41
HEPREP::HepRepAttValue
*
getAttValue
(std::string name);
42
HEPREP::HepRepType
*
copy
(
HEPREP::HepRepType
* parent);
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
Generated on Sat May 25 2013 14:34:14 for Geant4 by
1.8.4