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

#include <TestClass.h>

Inheritance diagram for TCIn:
Collaboration diagram for TCIn:

Public Member Functions

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

Public Attributes

int ai
 
std::string key
 

Detailed Description

Definition at line 308 of file TestClass.h.

Constructor & Destructor Documentation

◆ TCIn() [1/2]

TCIn::TCIn ( )
inline

Definition at line 313 of file TestClass.h.

313 {}

◆ TCIn() [2/2]

TCIn::TCIn ( const int  i)
inline

Definition at line 314 of file TestClass.h.

314  :TCBase((i-1)){Set(i);
315  }

◆ ~TCIn()

virtual TCIn::~TCIn ( )
inlinevirtual

Definition at line 321 of file TestClass.h.

321 {}

Member Function Documentation

◆ getKey()

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

Reimplemented from TCBase.

Definition at line 337 of file TestClass.h.

337  {
338  return("TCIn");
339  }

◆ isEqual()

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

Reimplemented from TCBase.

Definition at line 327 of file TestClass.h.

327  {
328  TCIn *tc=(TCIn *)otherobj;
329  if(ai==tc->ai){
330  }
331  else{
332  return false;
333  }
334  return true;
335  }

◆ print()

void TCIn::print ( ) const
inlinevirtual

Reimplemented from TCBase.

Definition at line 323 of file TestClass.h.

323  {
324  std::cout<<"Output::inherited class member from TCBase:"<<ai<<std::endl;
325  }

◆ Set()

void TCIn::Set ( const int  i)
inline

Definition at line 316 of file TestClass.h.

316  {
317  ai=i;
318 
319  }

Member Data Documentation

◆ ai

int TCIn::ai

Definition at line 310 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:
TCIn::Set
void Set(const int i)
Definition: TestClass.h:316
TCIn::ai
int ai
Definition: TestClass.h:310
lumiFormat.i
int i
Definition: lumiFormat.py:92
TCBase::TCBase
TCBase()
Definition: TestClass.h:281
TCIn
Definition: TestClass.h:308