/usr/include/CLHEP/GenericFunctions/RCBase.hh is in libclhep-dev 2.1.4.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | // -*- C++ -*-
// $Id:
//------------------RCBase--------------------------------------------------//
// //
// Class RCBase //
// Joe Boudreau //
// Base class for reference counting //
// //
//--------------------------------------------------------------------------//
#ifndef RCBase_h
#define RCBase_h 1
namespace Genfun {
/**
* @author
* @ingroup genfun
*/
class RCBase
{
public:
RCBase();
void ref() const;
void unref() const;
unsigned int refCount() const;
protected:
virtual ~RCBase();
private:
RCBase(const RCBase &right);
const RCBase & operator=(const RCBase &right);
mutable unsigned short int _count;
};
}
#endif
|