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

#include <TestClass.h>

Inheritance diagram for TCIn1:
Collaboration diagram for TCIn1:

Public Member Functions

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

Public Attributes

int ai
 
std::string key
 

Detailed Description

Definition at line 344 of file TestClass.h.

Constructor & Destructor Documentation

◆ TCIn1() [1/2]

TCIn1::TCIn1 ( )
inline

Definition at line 348 of file TestClass.h.

348 {}

◆ TCIn1() [2/2]

TCIn1::TCIn1 ( const int  i)
inline

Definition at line 349 of file TestClass.h.

349 :TCBase(i){}

◆ ~TCIn1()

virtual TCIn1::~TCIn1 ( )
inlinevirtual

Definition at line 351 of file TestClass.h.

351 {}

Member Function Documentation

◆ getKey()

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

Reimplemented from TCBase.

Definition at line 365 of file TestClass.h.

365  {
366  return("TCIn1");
367 
368  }

◆ isEqual()

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

Reimplemented from TCBase.

Definition at line 353 of file TestClass.h.

353  {
354  TCIn1 *tc=(TCIn1 *)otherobj;
355  if(ai==tc->ai){
356 
357  }
358  else{
359  return false;
360  }
361 
362  return true;
363  }

◆ print()

void TCBase::print ( ) const
inlinevirtualinherited

Implements TestClass.

Reimplemented in TCIn.

Definition at line 289 of file TestClass.h.

289  {
290  std::cout<<"Output:base class member:"<<ai<<std::endl;
291  }

◆ Set()

void TCBase::Set ( const int  i)
inlineinherited

Definition at line 283 of file TestClass.h.

283  {
284  ai=i;
285  }

Member Data Documentation

◆ ai

int TCBase::ai
inherited

Definition at line 278 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:
TCBase::ai
int ai
Definition: TestClass.h:278
TCIn1
Definition: TestClass.h:344
lumiFormat.i
int i
Definition: lumiFormat.py:92
TCBase::TCBase
TCBase()
Definition: TestClass.h:281