Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DetectorDescription
Base
interface
Singleton.h
Go to the documentation of this file.
1
#ifndef DDI_Singleton_h
2
#define DDI_Singleton_h
3
4
namespace
DDI {
5
template
<
class
I>
6
class
Singleton
7
{
8
public
:
9
typedef
I
value_type
;
10
virtual
~Singleton
() {}
11
static
value_type
&
instance
();
12
13
private
:
14
Singleton
(
void
) =
delete
;
15
Singleton
(
const
Singleton
&) =
delete
;
16
Singleton
&
operator=
(
const
Singleton
&) =
delete
;
17
};
18
}
19
#endif
DDI::Singleton::operator=
Singleton & operator=(const Singleton &)=delete
DDI::Singleton::value_type
I value_type
Definition:
Singleton.h:9
DDI::Singleton::instance
static value_type & instance()
Exhume::I
const std::complex< double > I
Definition:
I.h:8
DDI::Singleton
Definition:
Singleton.h:6
DDI::Singleton::Singleton
Singleton(void)=delete
DDI::Singleton::~Singleton
virtual ~Singleton()
Definition:
Singleton.h:10
Generated for CMSSW Reference Manual by
1.8.5