Diana Software
pkg
base
QId.hh
Go to the documentation of this file.
1
2
#ifndef _QID_HH_
3
#define _QID_HH_
4
5
#include "
QDiana.hh
"
6
12
class
QId
13
{
14
public
:
15
QId
():
fId
(-1) {}
16
QId
(
int
id
):
fId
(id) {}
17
virtual
~QId
() {}
18
void
SetId
(
int
id
) {
fId
= id; }
19
int
GetId
()
const
{
return
fId
; }
20
21
private
:
22
int
fId
;
23
};
24
#endif
QDiana.hh
QId
base class for anything having an id
Definition:
QId.hh:13
QId::QId
QId(int id)
Definition:
QId.hh:16
QId::GetId
int GetId() const
Definition:
QId.hh:19
QId::~QId
virtual ~QId()
Definition:
QId.hh:17
QId::SetId
void SetId(int id)
Definition:
QId.hh:18
QId::QId
QId()
Definition:
QId.hh:15
QId::fId
int fId
Definition:
QId.hh:22
Generated by
1.9.1