All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PropertyAlg.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiPython/src/Test/PropertyAlg.h,v 1.1 2005/10/27 16:57:57 mato Exp $
2 #ifndef GAUDIEXAMPLE_PROPERTYALG_H
3 #define GAUDIEXAMPLE_PROPERTYALG_H
4 
5 // Include files
7 #include "GaudiKernel/Property.h"
9 
15 class PropertyAlg : public Algorithm {
16 public:
18  PropertyAlg(const std::string& name, ISvcLocator* pSvcLocator);
19 
24 
25 private:
28 
29  bool m_bool;
30  char m_char;
31  signed char m_schar;
32  unsigned char m_uchar;
33  short m_short;
34  unsigned short m_ushort;
35  int m_int;
36  unsigned int m_uint;
37  long m_long;
38  unsigned long m_ulong;
39  long long m_longlong;
40  unsigned long long m_ulonglong;
41  float m_float;
42  double m_double;
43  std::string m_string;
44 
45  std::vector<bool> m_boolarray;
46  std::vector<char> m_chararray;
47  std::vector<unsigned char> m_uchararray;
48  std::vector<signed char> m_schararray;
49  std::vector<short> m_shortarray;
50  std::vector<unsigned short> m_ushortarray;
51  std::vector<int> m_intarray;
52  std::vector<unsigned int> m_uintarray;
53  std::vector<long> m_longarray;
54  std::vector<unsigned long> m_ulongarray;
55  std::vector<long long> m_longlongarray;
56  std::vector<unsigned long long> m_ulonglongarray;
57  std::vector<float> m_floatarray;
58  std::vector<double> m_doublearray;
59  std::vector<std::string> m_stringarray;
60 
61 };
62 
63 #endif // GAUDIEXAMPLE_PROPERTYALG_H
std::vector< unsigned char > m_uchararray
Definition: PropertyAlg.h:47
double m_double
Definition: PropertyAlg.h:42
unsigned long long m_ulonglong
Definition: PropertyAlg.h:40
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
std::vector< int > m_intarray
Definition: PropertyAlg.h:51
PropertyAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition: PropertyAlg.cpp:16
short m_short
Definition: PropertyAlg.h:33
float m_float
Definition: PropertyAlg.h:41
unsigned char m_uchar
Definition: PropertyAlg.h:32
std::vector< unsigned int > m_uintarray
Definition: PropertyAlg.h:52
StatusCode initialize()
Three mandatory member functions of any algorithm.
Definition: PropertyAlg.h:21
std::vector< unsigned long long > m_ulonglongarray
Definition: PropertyAlg.h:56
std::vector< unsigned long > m_ulongarray
Definition: PropertyAlg.h:54
std::vector< short > m_shortarray
Definition: PropertyAlg.h:49
signed char m_schar
Definition: PropertyAlg.h:31
std::vector< bool > m_boolarray
Definition: PropertyAlg.h:45
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
StatusCode execute()
The action to be performed by the algorithm on an event.
Definition: PropertyAlg.h:22
std::string m_string
Definition: PropertyAlg.h:43
StatusCode finalize()
the default (empty) implementation of IStateful::finalize() method
Definition: PropertyAlg.h:23
virtual const std::string & name() const
The identifying name of the algorithm object.
Definition: Algorithm.cpp:837
bool m_bool
These data members are used in the execution of this algorithm They are set in the initialisation pha...
Definition: PropertyAlg.h:29
std::vector< long long > m_longlongarray
Definition: PropertyAlg.h:55
std::vector< signed char > m_schararray
Definition: PropertyAlg.h:48
std::vector< std::string > m_stringarray
Definition: PropertyAlg.h:59
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:61
unsigned short m_ushort
Definition: PropertyAlg.h:34
std::vector< long > m_longarray
Definition: PropertyAlg.h:53
long long m_longlong
Definition: PropertyAlg.h:39
std::vector< unsigned short > m_ushortarray
Definition: PropertyAlg.h:50
std::vector< double > m_doublearray
Definition: PropertyAlg.h:58
unsigned int m_uint
Definition: PropertyAlg.h:36
std::vector< float > m_floatarray
Definition: PropertyAlg.h:57
std::vector< char > m_chararray
Definition: PropertyAlg.h:46
Trivial Algorithm for tutotial purposes.
Definition: PropertyAlg.h:15
unsigned long m_ulong
Definition: PropertyAlg.h:38