PropertyAlg.h
Go to the documentation of this file.
1 #ifndef GAUDIEXAMPLE_PROPERTYALG_H
2 #define GAUDIEXAMPLE_PROPERTYALG_H
3 
4 // Include files
6 #include "GaudiKernel/Property.h"
8 
14 class PropertyAlg : public Algorithm {
15 public:
17  PropertyAlg(const std::string& name, ISvcLocator* pSvcLocator);
18 
23 
24 private:
27 
28  bool m_bool;
29  char m_char;
30  signed char m_schar;
31  unsigned char m_uchar;
32  short m_short;
33  unsigned short m_ushort;
34  int m_int;
35  unsigned int m_uint;
36  long m_long;
37  unsigned long m_ulong;
38  long long m_longlong;
39  unsigned long long m_ulonglong;
40  float m_float;
41  double m_double;
43 
59 
60 };
61 
62 #endif // GAUDIEXAMPLE_PROPERTYALG_H
std::vector< unsigned char > m_uchararray
Definition: PropertyAlg.h:46
double m_double
Definition: PropertyAlg.h:41
unsigned long long m_ulonglong
Definition: PropertyAlg.h:39
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
std::vector< int > m_intarray
Definition: PropertyAlg.h:50
PropertyAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition: PropertyAlg.cpp:16
short m_short
Definition: PropertyAlg.h:32
float m_float
Definition: PropertyAlg.h:40
unsigned char m_uchar
Definition: PropertyAlg.h:31
std::vector< unsigned int > m_uintarray
Definition: PropertyAlg.h:51
StatusCode initialize()
Three mandatory member functions of any algorithm.
Definition: PropertyAlg.h:20
STL class.
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:820
std::vector< unsigned long long > m_ulonglongarray
Definition: PropertyAlg.h:55
std::vector< unsigned long > m_ulongarray
Definition: PropertyAlg.h:53
std::vector< short > m_shortarray
Definition: PropertyAlg.h:48
signed char m_schar
Definition: PropertyAlg.h:30
std::vector< bool > m_boolarray
Definition: PropertyAlg.h:44
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
StatusCode execute()
Definition: PropertyAlg.h:21
std::string m_string
Definition: PropertyAlg.h:42
StatusCode finalize()
Definition: PropertyAlg.h:22
bool m_bool
These data members are used in the execution of this algorithm They are set in the initialisation pha...
Definition: PropertyAlg.h:28
std::vector< long long > m_longlongarray
Definition: PropertyAlg.h:54
std::vector< signed char > m_schararray
Definition: PropertyAlg.h:47
std::vector< std::string > m_stringarray
Definition: PropertyAlg.h:58
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:74
unsigned short m_ushort
Definition: PropertyAlg.h:33
std::vector< long > m_longarray
Definition: PropertyAlg.h:52
long long m_longlong
Definition: PropertyAlg.h:38
std::vector< unsigned short > m_ushortarray
Definition: PropertyAlg.h:49
std::vector< double > m_doublearray
Definition: PropertyAlg.h:57
unsigned int m_uint
Definition: PropertyAlg.h:35
std::vector< float > m_floatarray
Definition: PropertyAlg.h:56
std::vector< char > m_chararray
Definition: PropertyAlg.h:45
Trivial Algorithm for tutotial purposes.
Definition: PropertyAlg.h:14
unsigned long m_ulong
Definition: PropertyAlg.h:37