Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Persistency
Common
ConstPtrCache.h
Go to the documentation of this file.
1
#ifndef canvas_Persistency_Common_ConstPtrCache_h
2
#define canvas_Persistency_Common_ConstPtrCache_h
3
// -*- C++ -*-
4
//
5
// Package: Common
6
// Class : PtrCache
7
//
8
/**\class ConstPtrCache ConstPtrCache.h
9
DataFormats/Common/interface/ConstPtrCache.h
10
11
Description: ROOT safe cache of a pointer
12
13
Usage:
14
We define an external TStreamer for this class in order to guarantee that ptr_
15
is always reset to 0 when ever a new instance of this class is read from a file
16
17
*/
18
//
19
// Original Author: Chris Jones
20
// Created: Sat Aug 18 17:30:04 EDT 2007
21
//
22
//
23
24
// system include files
25
26
// user include files
27
28
// forward declarations
29
namespace
art
{
30
class
ConstPtrCache
{
31
32
public
:
33
ConstPtrCache
() :
ptr_
(0) {}
34
ConstPtrCache
(
const
void
* iPtr) :
ptr_
(iPtr) {}
35
36
const
void
*
ptr_
;
37
};
38
}
39
#endif
/* canvas_Persistency_Common_ConstPtrCache_h */
40
41
// Local Variables:
42
// mode: c++
43
// End:
art::ConstPtrCache::ConstPtrCache
ConstPtrCache(const void *iPtr)
Definition:
ConstPtrCache.h:34
art::ConstPtrCache
Definition:
ConstPtrCache.h:30
art::ConstPtrCache::ptr_
const void * ptr_
Definition:
ConstPtrCache.h:36
art
Definition:
BasicOptionsHandler.h:9
art::ConstPtrCache::ConstPtrCache
ConstPtrCache()
Definition:
ConstPtrCache.h:33
Generated by
1.8.11