CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
GenericFunctions
CLHEP
GenericFunctions
CLHEP/GenericFunctions/RCBase.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:
3
//------------------RCBase--------------------------------------------------//
4
// //
5
// Class RCBase //
6
// Joe Boudreau //
7
// Base class for reference counting //
8
// //
9
//--------------------------------------------------------------------------//
10
#ifndef RCBase_h
11
#define RCBase_h 1
12
namespace
Genfun
{
17
class
RCBase
18
{
19
20
public
:
21
22
RCBase
();
23
24
25
void
ref
()
const
;
26
27
void
unref
()
const
;
28
29
unsigned
int
refCount
()
const
;
30
31
32
protected
:
33
34
virtual
~RCBase
();
35
36
private
:
37
38
RCBase
(
const
RCBase
&right);
39
40
const
RCBase
& operator=(
const
RCBase
&right);
41
42
mutable
unsigned
short
int
_count;
43
44
45
46
};
47
48
49
50
}
51
52
53
#endif
54
55
Genfun::RCBase
Definition:
CLHEP/GenericFunctions/RCBase.hh:18
Genfun::RCBase::unref
void unref() const
Definition:
RCBase.cc:20
Genfun::RCBase::ref
void ref() const
Definition:
RCBase.cc:15
Genfun::RCBase::~RCBase
virtual ~RCBase()
Definition:
RCBase.cc:9
Genfun::RCBase::refCount
unsigned int refCount() const
Definition:
RCBase.cc:34
Genfun::RCBase::RCBase
RCBase()
Definition:
RCBase.cc:3
Genfun
Definition:
CLHEP/GenericFunctions/Abs.hh:14
Generated by
1.9.4