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

#include <TestClass.h>

Inheritance diagram for TestClass14:
Collaboration diagram for TestClass14:

Public Member Functions

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

Public Attributes

TestClass11p
 
std::string key
 

Detailed Description

Definition at line 167 of file TestClass.h.

Constructor & Destructor Documentation

◆ TestClass14() [1/2]

TestClass14::TestClass14 ( )
inline

Definition at line 173 of file TestClass.h.

173  {
174  p=new TestClass11;
175  }

◆ TestClass14() [2/2]

TestClass14::TestClass14 ( const int  i)
inline

Definition at line 176 of file TestClass.h.

176  {
177 
178  p=new TestClass11(i);
179 
180  }

◆ ~TestClass14()

TestClass14::~TestClass14 ( )
inline

Definition at line 182 of file TestClass.h.

182 {delete p;}

Member Function Documentation

◆ getKey()

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

Reimplemented from TestClass.

Definition at line 194 of file TestClass.h.

194  {
195  return("TestClass14");
196  }

◆ isEqual()

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

Implements TestClass.

Definition at line 188 of file TestClass.h.

188  {
189  TestClass14 *tc = (TestClass14 *)otherobj;
190  return p->isEqual(tc->p);
191 
192  }

◆ print()

void TestClass14::print ( ) const
inlinevirtual

Implements TestClass.

Definition at line 183 of file TestClass.h.

183  {
184  std::cout << "Output::TC14: Pointer to TestClass11(integer) "<<std::endl;
185  p->print();
186  }

Member Data Documentation

◆ key

std::string TestClass14::key

Definition at line 170 of file TestClass.h.

◆ p

TestClass11* TestClass14::p

Definition at line 169 of file TestClass.h.


The documentation for this class was generated from the following file:
TestClass14::p
TestClass11 * p
Definition: TestClass.h:169
TestClass11::isEqual
bool isEqual(const TestClass *otherobj) const
Definition: TestClass.h:54
TestClass14
Definition: TestClass.h:167
lumiFormat.i
int i
Definition: lumiFormat.py:85
TestClass11
Definition: TestClass.h:32
TestClass11::print
void print() const
Definition: TestClass.h:46