ATLAS Offline Software
CoolLumiUtilsTest.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 #ifndef COOLLUMIUTILITIES_COOLLUMIUTILSTEST_H
6 #define COOLLUMIUTILITIES_COOLLUMIUTILSTEST_H
7 
8 class MyTestClass {
9 
10  public:
12 
13  void setValue(int);
14  int getValue() const;
15 
16  private:
17  int m_value;
18 
19 };
20 
21 #include <vector>
22 
24 
25  public:
27 
28  void setValue(float);
29  float getValue() const;
30 
31  void append(float);
32  const std::vector<float>& getList();
33 
34  private:
35  float m_value;
36  std::vector<float> m_list;
37 };
38 
39 class CoolLumiUtilsVector : public std::vector<double> {
40 
41  public:
43  void append(double);
44 
45 };
46 
47 #endif
MyTestClass::MyTestClass
MyTestClass()
MyTestClass::m_value
int m_value
Definition: CoolLumiUtilsTest.h:17
CoolLumiUtilsVector::CoolLumiUtilsVector
CoolLumiUtilsVector()
Definition: CoolLumiUtilsTest.cxx:47
CoolLumiUtilsTestObj::CoolLumiUtilsTestObj
CoolLumiUtilsTestObj()
Definition: CoolLumiUtilsTest.cxx:23
CoolLumiUtilsTestObj::getList
const std::vector< float > & getList()
Definition: CoolLumiUtilsTest.cxx:43
MyTestClass::getValue
int getValue() const
Definition: CoolLumiUtilsTest.cxx:19
CoolLumiUtilsVector
Definition: CoolLumiUtilsTest.h:39
CoolLumiUtilsTestObj::m_list
std::vector< float > m_list
Definition: CoolLumiUtilsTest.h:36
CoolLumiUtilsTestObj
Definition: CoolLumiUtilsTest.h:23
CoolLumiUtilsTestObj::getValue
float getValue() const
Definition: CoolLumiUtilsTest.cxx:33
MyTestClass::setValue
void setValue(int)
Definition: CoolLumiUtilsTest.cxx:14
CoolLumiUtilsTestObj::m_value
float m_value
Definition: CoolLumiUtilsTest.h:35
MyTestClass
Definition: MyTestClass.h:8
CoolLumiUtilsTestObj::setValue
void setValue(float)
Definition: CoolLumiUtilsTest.cxx:28
CoolLumiUtilsVector::append
void append(double)
Definition: CoolLumiUtilsTest.cxx:52
CoolLumiUtilsTestObj::append
void append(float)
Definition: CoolLumiUtilsTest.cxx:38