forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFoo.cxx
More file actions
45 lines (37 loc) · 1.22 KB
/
Foo.cxx
File metadata and controls
45 lines (37 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
///
/// @file Foo.cxx
/// @author Barthelemy von Haller
///
#include "ExampleModule2/Foo.h"
#include "ExampleModule1/Foo.h"
#include "Bar.h" // private class, not in the api
#include <iostream>
namespace o2 {
namespace Examples {
namespace ExampleModule2 {
void Foo::greet()
{
std::cout << "Hello world from ExampleModule2::Foo" << std::endl;
o2::Examples::ExampleModule1::Foo otherFoo;
otherFoo.greet();
o2::Examples::ExampleModule2::Bar bar;
bar.greet();
}
int Foo::returnsN(int n)
{
/// \todo This is how you can markup a todo in your code that will show up in the documentation of your project.
/// \bug This is how you annotate a bug in your code.
return n;
}
} // namespace ExampleModule2
} // namespace Examples
} // namespace AliceO2