ATLAS Offline Software
Loading...
Searching...
No Matches
TestGaudiProperty.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: TestGaudiProperty.h,v 1.2 2005-12-15 17:39:36 cranshaw Exp $
6
7#ifndef ATLASHISTORY_TESTGAUDIPROPERTY_H
8#define ATLASHISTORY_TESTGAUDIPROPERTY_H
9
10//#include "GaudiKernel/HistoryObj.h"
11#include "Gaudi/Property.h"
12
13#include <string>
14#include <vector>
15#include <utility>
16#include <iosfwd>
17
25
27
28public:
29
30 //typedef std::vector< std::pair<std::string,const Gaudi::Details::PropertyBase*> > PropertyList;
31 //typedef std::vector< const Gaudi::Details::PropertyBase* > PropertyList;
32 //typedef const Gaudi::Details::PropertyBase* PropertyList;
33
34private: // data
35
36 //PropertyList m_props;
37 //Property m_p1;
38 Gaudi::Details::PropertyBase* m_pptr;
39 const Gaudi::Details::PropertyBase* m_cptr;
40 std::vector<Gaudi::Details::PropertyBase*> m_ncprops;
41
42public: // functions
43
44 // Constructor.
46
47 // Destructor.
49
50 //void addProperty( const std::string&, const Gaudi::Details::PropertyBase* );
51 //void addProperty( const Gaudi::Details::PropertyBase* );
52
53 //const PropertyList& properties() const { return m_props; }
54 const Gaudi::Details::PropertyBase* property() const { return m_cptr; }
55
56private:
57
58};
59
60// Output stream.
61std::ostream& operator<<(std::ostream& lhs, const TestGaudiProperty& rhs);
62
64CLASS_DEF( TestGaudiProperty, 241994533, 1 )
65#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
TestGaudiProperty class definition.
Gaudi::Details::PropertyBase * m_pptr
const Gaudi::Details::PropertyBase * property() const
const Gaudi::Details::PropertyBase * m_cptr
std::vector< Gaudi::Details::PropertyBase * > m_ncprops