CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
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
Generated on Sun Jun 17 2012 08:08:27 for CLHEP by
1.8.1.1