test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TopQuarkAnalysis
TopHitFit
src
Refcount.cc
Go to the documentation of this file.
1
//
2
//
3
// File: Refcount.cc
4
// Purpose: Reference count implementation.
5
// Created: Aug 2000, sss, from the version that used to be in d0om.
6
//
7
// CMSSW File : src/Refcount.cc
8
// Original Author : Scott Stuart Snyder <snyder@bnl.gov> for D0
9
// Imported to CMSSW by Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>
10
//
11
12
35
#include "
TopQuarkAnalysis/TopHitFit/interface/Refcount.h
"
36
37
38
namespace
hitfit {
39
40
41
void
Refcount::nuke_refcount
()
42
//
43
// Purpose: Reset the refcount to zero.
44
// This should only be used in the context of a dtor of a derived
45
// class which wants to throw an exception.
46
//
47
{
48
_refcount
= 0;
49
}
50
51
52
}
// namespace hitfit
Refcount.h
A base class for simple reference-counted object.
hitfit::Refcount::nuke_refcount
void nuke_refcount()
Reset the reference count to zero. This should only be used in the context of a destructor of a deriv...
Definition:
Refcount.cc:41
hitfit::Refcount::_refcount
unsigned _refcount
Definition:
Refcount.h:131
Generated for CMSSW Reference Manual by
1.8.5