ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
AthenaPoolTestData
AthenaPoolTestData
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
26
class
TestGaudiProperty
{
27
28
public
:
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
34
private
:
// 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
42
public
:
// functions
43
44
// Constructor.
45
TestGaudiProperty
();
46
47
// Destructor.
48
~TestGaudiProperty
();
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
56
private
:
57
58
};
59
60
// Output stream.
61
std::ostream&
operator<<
(std::ostream& lhs,
const
TestGaudiProperty
& rhs);
62
63
#include "
AthenaKernel/CLASS_DEF.h
"
64
CLASS_DEF
(
TestGaudiProperty
, 241994533, 1 )
65
#endif
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition
TestGaudiProperty.cxx:69
TestGaudiProperty
TestGaudiProperty class definition.
Definition
TestGaudiProperty.h:26
TestGaudiProperty::m_pptr
Gaudi::Details::PropertyBase * m_pptr
Definition
TestGaudiProperty.h:38
TestGaudiProperty::property
const Gaudi::Details::PropertyBase * property() const
Definition
TestGaudiProperty.h:54
TestGaudiProperty::TestGaudiProperty
TestGaudiProperty()
Definition
TestGaudiProperty.cxx:37
TestGaudiProperty::m_cptr
const Gaudi::Details::PropertyBase * m_cptr
Definition
TestGaudiProperty.h:39
TestGaudiProperty::~TestGaudiProperty
~TestGaudiProperty()
Definition
TestGaudiProperty.cxx:46
TestGaudiProperty::m_ncprops
std::vector< Gaudi::Details::PropertyBase * > m_ncprops
Definition
TestGaudiProperty.h:40
Generated on
for ATLAS Offline Software by
1.17.0