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

#include <SimpleTestClass.h>

Collaboration diagram for SimpleTestClass:

Public Member Functions

 SimpleTestClass ()
 
 ~SimpleTestClass ()
 
void setNonZero ()
 
bool operator== (const SimpleTestClass &rhs) const
 
bool operator!= (const SimpleTestClass &rhs) const
 
std::ostream & streamOut (std::ostream &os) const
 

Public Attributes

int data
 

Detailed Description

Definition at line 10 of file SimpleTestClass.h.

Constructor & Destructor Documentation

◆ SimpleTestClass()

SimpleTestClass::SimpleTestClass ( )
inline

Definition at line 38 of file SimpleTestClass.h.

38  :
39  data( 0 )
40 {}

◆ ~SimpleTestClass()

SimpleTestClass::~SimpleTestClass ( )
inline

Definition at line 14 of file SimpleTestClass.h.

14 {}

Member Function Documentation

◆ operator!=()

bool SimpleTestClass::operator!= ( const SimpleTestClass rhs) const
inline

Definition at line 49 of file SimpleTestClass.h.

50 {
51  return ( ( (*this) == rhs ) ? false : true );
52 }

◆ operator==()

bool SimpleTestClass::operator== ( const SimpleTestClass rhs) const
inline

Definition at line 43 of file SimpleTestClass.h.

44 {
45  return ( data == rhs.data );
46 }

◆ setNonZero()

void SimpleTestClass::setNonZero ( )
inline

Definition at line 25 of file SimpleTestClass.h.

26 {
27  data = 1;
28 }

◆ streamOut()

std::ostream & SimpleTestClass::streamOut ( std::ostream &  os) const
inline

Definition at line 31 of file SimpleTestClass.h.

32 {
33  os << "data = " << data;
34  return os;
35 }

Member Data Documentation

◆ data

int SimpleTestClass::data

Definition at line 21 of file SimpleTestClass.h.


The documentation for this class was generated from the following file:
SimpleTestClass::data
int data
Definition: SimpleTestClass.h:21
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231