All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistoryObj.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/HistoryObj.h,v 1.1 2004/07/14 18:13:56 leggett Exp $
2 
3 #ifndef GAUDIKERNEL_HISTORYOBJ_H
4 #define GAUDIKERNEL_HISTORYOBJ_H
5 
7 #include "GaudiKernel/ClassID.h"
8 #include <string>
9 #include <ostream>
10 #include <vector>
11 
12 class Property;
13 class IVersHistoryObj;
14 
25 public:
26  HistoryObj();
27  virtual ~HistoryObj();
28 
29  virtual const CLID& clID() const { return classID(); }
30  static const CLID& classID();
31  static std::string convert_string(const std::string&);
32 
33  virtual void dump(std::ostream&, const bool isXML=false,
34  int indent=0) const = 0;
35 
36  protected:
37  virtual void indent(std::ostream&, int) const;
38 
39 };
40 
41 // Output stream.
42 GAUDI_API std::ostream& operator<<(std::ostream& lhs, const HistoryObj& rhs);
43 
44 
45 #endif
GAUDI_API std::ostream & operator<<(std::ostream &lhs, const HistoryObj &rhs)
Definition: HistoryObj.cpp:73
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition: DataObject.cpp:63
Base class for History Objects.
Definition: HistoryObj.h:24
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
Property base class allowing Property* collections to be "homogeneous".
Definition: Property.h:43
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: HistoryObj.h:29
Interface for Versioned History Objects.
#define GAUDI_API
Definition: Kernel.h:108
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:31