The Gaudi Framework
v26r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
PropertyAlg.cpp
Go to the documentation of this file.
1
// Include files
2
#include "GaudiKernel/MsgStream.h"
3
#include "GaudiKernel/DataObject.h"
4
#include "GaudiKernel/IDataProviderSvc.h"
5
#include "GaudiKernel/IChronoStatSvc.h"
6
#include "GaudiKernel/IJobOptionsSvc.h"
7
#include "GaudiKernel/SmartIF.h"
8
#include "
PropertyAlg.h
"
9
10
11
// Static Factory declaration
12
DECLARE_COMPONENT
(
PropertyAlg
)
13
14
// Constructor
15
//------------------------------------------------------------------------------
16
PropertyAlg
::
PropertyAlg
(const
std
::
string
& name,
ISvcLocator
* ploc)
17
:
Algorithm
(name, ploc) {
18
//------------------------------------------------------------------------------
19
// Declare the algorithm's properties
20
21
declareProperty(
"Bool"
, m_bool =
true
);
22
declareProperty(
"Char"
, m_char = 100);
23
declareProperty(
"Uchar"
, m_uchar = 100);
24
declareProperty(
"Schar"
, m_schar = 100);
25
declareProperty(
"Short"
, m_short = 100);
26
declareProperty(
"Ushort"
, m_ushort = 100);
27
declareProperty(
"Int"
, m_int = 100);
28
declareProperty(
"Uint"
, m_uint = 100);
29
declareProperty(
"Long"
, m_long = 100L);
30
declareProperty(
"Ulong"
, m_ulong = 100L);
31
declareProperty(
"Longlong"
, m_longlong = 100LL);
32
declareProperty(
"Ulonglong"
, m_ulonglong = 100LL);
33
declareProperty(
"Float"
, m_float = 100.0F);
34
declareProperty(
"Double"
, m_double = 100.);
35
declareProperty(
"String"
, m_string =
"hundred"
);
36
37
declareProperty(
"BoolArray"
, m_boolarray );
38
declareProperty(
"CharArray"
, m_chararray );
39
declareProperty(
"UcharArray"
, m_uchararray );
40
declareProperty(
"ScharArray"
, m_schararray );
41
declareProperty(
"ShortArray"
, m_shortarray );
42
declareProperty(
"UshortArray"
, m_ushortarray );
43
declareProperty(
"IntArray"
, m_intarray );
44
declareProperty(
"UintArray"
, m_uintarray );
45
declareProperty(
"LongArray"
, m_longarray );
46
declareProperty(
"UlongArray"
, m_ulongarray );
47
declareProperty(
"LonglongArray"
, m_longlongarray );
48
declareProperty(
"UlonglongArray"
, m_ulonglongarray );
49
declareProperty(
"FloatArray"
, m_floatarray );
50
declareProperty(
"DoubleArray"
, m_doublearray );
51
declareProperty(
"StringArray"
, m_stringarray );
52
53
}
54
55
56
GaudiPython
src
Test
PropertyAlg.cpp
Generated on Mon Feb 16 2015 11:56:57 for The Gaudi Framework by
1.8.2