ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
AthPyEx::MyObj Class Reference

#include <MyObj.h>

Collaboration diagram for AthPyEx::MyObj:

Public Member Functions

 MyObj (const std::string &name)
 
virtual ~MyObj ()
 
const std::string name ()
 
template<class T >
void setA (T a)
 
int getA ()
 

Private Attributes

std::string m_name
 
int m_a
 

Detailed Description

Definition at line 16 of file MyObj.h.

Constructor & Destructor Documentation

◆ MyObj()

AthPyEx::MyObj::MyObj ( const std::string &  name)
inline

Definition at line 19 of file MyObj.h.

19 : m_name(name), m_a(0) { }

◆ ~MyObj()

virtual AthPyEx::MyObj::~MyObj ( )
inlinevirtual

Definition at line 20 of file MyObj.h.

20 {}

Member Function Documentation

◆ getA()

int AthPyEx::MyObj::getA ( )
inline

Definition at line 29 of file MyObj.h.

29 { return m_a;}

◆ name()

const std::string AthPyEx::MyObj::name ( )
inline

Definition at line 22 of file MyObj.h.

22 { return m_name; }

◆ setA()

template<class T >
void AthPyEx::MyObj::setA ( a)
inline

Definition at line 23 of file MyObj.h.

24  {
25  std::cout << " C++ setA " << typeid(a).name() << " " << a << std::endl;
26  m_a = (int)a;
27  }

Member Data Documentation

◆ m_a

int AthPyEx::MyObj::m_a
private

Definition at line 33 of file MyObj.h.

◆ m_name

std::string AthPyEx::MyObj::m_name
private

Definition at line 32 of file MyObj.h.


The documentation for this class was generated from the following file:
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
AthPyEx::MyObj::m_a
int m_a
Definition: MyObj.h:33
a
TList * a
Definition: liststreamerinfos.cxx:10
AthPyEx::MyObj::name
const std::string name()
Definition: MyObj.h:22
AthPyEx::MyObj::m_name
std::string m_name
Definition: MyObj.h:32