Fireworks
Core
interface
FWParameterizable.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWParameterizable_h
2
#define Fireworks_Core_FWParameterizable_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWParameterizable
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Sat Feb 23 13:35:23 EST 2008
19
//
20
21
// system include files
22
#include <vector>
23
24
// user include files
25
26
// forward declarations
27
class
FWParameterBase
;
28
29
class
FWParameterizable
{
30
public
:
31
FWParameterizable
();
32
virtual
~FWParameterizable
();
33
34
typedef
std::vector<FWParameterBase*>::const_iterator
const_iterator
;
35
// ---------- const member functions ---------------------
36
const_iterator
begin
()
const
{
return
m_parameters
.begin(); }
37
38
const_iterator
end
()
const
{
return
m_parameters
.end(); }
39
40
// ---------- static member functions --------------------
41
42
// ---------- member functions ---------------------------
43
//base class implementation does not take ownership of added parameters
44
void
add
(
FWParameterBase
*);
45
46
private
:
47
FWParameterizable
(
const
FWParameterizable
&) =
delete
;
// stop default
48
49
const
FWParameterizable
&
operator=
(
const
FWParameterizable
&) =
delete
;
// stop default
50
51
// ---------- member data --------------------------------
52
std::vector<FWParameterBase*>
m_parameters
;
53
};
54
55
#endif
FWParameterizable::const_iterator
std::vector< FWParameterBase * >::const_iterator const_iterator
Definition:
FWParameterizable.h:34
FWParameterBase
Definition:
FWParameterBase.h:31
FWParameterizable::end
const_iterator end() const
Definition:
FWParameterizable.h:38
FWParameterizable::begin
const_iterator begin() const
Definition:
FWParameterizable.h:36
FWParameterizable::FWParameterizable
FWParameterizable()
Definition:
FWParameterizable.cc:29
FWParameterizable
Definition:
FWParameterizable.h:29
FWParameterizable::~FWParameterizable
virtual ~FWParameterizable()
Definition:
FWParameterizable.cc:36
FWParameterizable::m_parameters
std::vector< FWParameterBase * > m_parameters
Definition:
FWParameterizable.h:52
FWParameterizable::add
void add(FWParameterBase *)
Definition:
FWParameterizable.cc:53
FWParameterizable::operator=
const FWParameterizable & operator=(const FWParameterizable &)=delete
Generated for CMSSW Reference Manual by
1.8.16