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

#include <TestClass.h>

Inheritance diagram for TestClass11:
Collaboration diagram for TestClass11:

Public Member Functions

 TestClass11 ()
 
 TestClass11 (const int i)
 
void Set (const int i)
 
 ~TestClass11 ()
 
void print () const
 
std::string getKey () const
 
bool isEqual (const TestClass *otherobj) const
 

Public Attributes

int ai
 
std::string key
 

Detailed Description

Definition at line 32 of file TestClass.h.

Constructor & Destructor Documentation

◆ TestClass11() [1/2]

TestClass11::TestClass11 ( )
inline

Definition at line 37 of file TestClass.h.

37 {}

◆ TestClass11() [2/2]

TestClass11::TestClass11 ( const int  i)
inline

Definition at line 38 of file TestClass.h.

38  {
39  Set(i);
40  }

◆ ~TestClass11()

TestClass11::~TestClass11 ( )
inline

Definition at line 45 of file TestClass.h.

45 {}

Member Function Documentation

◆ getKey()

std::string TestClass11::getKey ( ) const
inlinevirtual

Reimplemented from TestClass.

Definition at line 50 of file TestClass.h.

50  {
51  return("TestClass11");
52  }

◆ isEqual()

bool TestClass11::isEqual ( const TestClass otherobj) const
inlinevirtual

Implements TestClass.

Definition at line 54 of file TestClass.h.

54  {
55  TestClass11 *tc = (TestClass11 *)otherobj;
56  if(ai==tc->ai){
57  return true;
58  }
59  else{
60  return false;
61  }
62 
63  }

◆ print()

void TestClass11::print ( ) const
inlinevirtual

Implements TestClass.

Definition at line 46 of file TestClass.h.

46  { std::cout << "Output::TC11:Class of one integer = "<<"\t"
47  << ai << std:: endl;
48  }

◆ Set()

void TestClass11::Set ( const int  i)
inline

Definition at line 41 of file TestClass.h.

41  {
42  ai=i;
43  }

Member Data Documentation

◆ ai

int TestClass11::ai

Definition at line 34 of file TestClass.h.

◆ key

std::string TestClass::key
inherited

Definition at line 19 of file TestClass.h.


The documentation for this class was generated from the following file:
lumiFormat.i
int i
Definition: lumiFormat.py:85
TestClass11::ai
int ai
Definition: TestClass.h:34
TestClass11
Definition: TestClass.h:32
TestClass11::Set
void Set(const int i)
Definition: TestClass.h:41