ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Foo Class Reference

#include <FooBar.h>

Collaboration diagram for Foo:

Public Member Functions

 Foo ()
 
 Foo (double a)
 
 ~Foo ()
 
void setA (double a)
 
double a () const
 
void doNothing () const
 

Private Attributes

double m_a
 

Detailed Description

Definition at line 9 of file FooBar.h.

Constructor & Destructor Documentation

◆ Foo() [1/2]

Foo::Foo ( )
inline

Definition at line 13 of file FooBar.h.

13  : m_a(0.0) {
14  // std::cout << "Foo() called @" << this <<std::endl;
15  }

◆ Foo() [2/2]

Foo::Foo ( double  a)
inline

Definition at line 16 of file FooBar.h.

16  : m_a(a) {
17  // std::cout << "Foo() called @" << this << std::endl;
18  }

◆ ~Foo()

Foo::~Foo ( )
inline

Definition at line 19 of file FooBar.h.

19  {
20  // std::cout << "~Foo() called @" << this << std::endl;
21  }

Member Function Documentation

◆ a()

double Foo::a ( ) const
inline

Definition at line 23 of file FooBar.h.

23 { return m_a; }

◆ doNothing()

void Foo::doNothing ( ) const
inline

Definition at line 24 of file FooBar.h.

24 {};

◆ setA()

void Foo::setA ( double  a)
inline

Definition at line 22 of file FooBar.h.

22 { m_a=a; }

Member Data Documentation

◆ m_a

double Foo::m_a
private

Definition at line 11 of file FooBar.h.


The documentation for this class was generated from the following file:
Foo::a
double a() const
Definition: FooBar.h:23
Foo::m_a
double m_a
Definition: FooBar.h:11