ATLAS Offline Software
Loading...
Searching...
No Matches
TestDataObject Class Reference

#include <MyDataObj.h>

Inheritance diagram for TestDataObject:
Collaboration diagram for TestDataObject:

Public Member Functions

 TestDataObject (int i=0)
void val (int i)
int val () const

Private Attributes

int m_val

Detailed Description

Definition at line 33 of file MyDataObj.h.

Constructor & Destructor Documentation

◆ TestDataObject()

TestDataObject::TestDataObject ( int i = 0)
inline

Definition at line 37 of file MyDataObj.h.

37: m_val(i) {};

Member Function Documentation

◆ val() [1/2]

int TestDataObject::val ( ) const
inline

Definition at line 40 of file MyDataObj.h.

40{ return m_val; }

◆ val() [2/2]

void TestDataObject::val ( int i)
inline

Definition at line 39 of file MyDataObj.h.

39{ m_val = i; }

Member Data Documentation

◆ m_val

int TestDataObject::m_val
private

Definition at line 43 of file MyDataObj.h.


The documentation for this class was generated from the following file: