Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HepRepTypeTree.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef HEPREP_HEPREPTYPETREE_H
8 #define HEPREP_HEPREPTYPETREE_H 1
9 
10 // Copyright 2000-2005, FreeHEP.
11 
12 #include <string>
13 #include <vector>
14 
15 #include "HEPREP/HepRepTreeID.h"
16 
17 namespace HEPREP {
18 
19 class HepRepType;
20 
26 class HepRepTypeTree : virtual public HepRepTreeID {
27 
28 public:
30  virtual ~HepRepTypeTree() { /* nop */; }
31 
37  virtual void addType(HepRepType * type) = 0;
38 
44  virtual std::vector<HepRepType *> getTypeList() = 0;
45 
49  virtual HepRepType * getType(std::string fullName) = 0;
50 
56  virtual HepRepTypeTree * copy() = 0;
57 
58 //
59 // To be enable in g++ 3.0
60 // using HepRep::HepRepTreeID::copy;
61 // To be disabled in g++ 3.0
62 // HepRepTreeID * copy();
63 //
64 }; // class
65 } // namespace HEPREP
66 #endif /* ifndef HEPREP_HEPREPTYPETREE_H */
virtual void addType(HepRepType *type)=0
virtual HepRepTypeTree * copy()=0
virtual HepRepType * getType(std::string fullName)=0
virtual std::vector< HepRepType * > getTypeList()=0
virtual ~HepRepTypeTree()
Destructor.