Main Page
Namespaces
Classes
Package Documentation
FWCore
SOA
interface
ColumnValues.h
Go to the documentation of this file.
1
#ifndef FWCore_SOA_ColumnValues_h
2
#define FWCore_SOA_ColumnValues_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/SOA
6
// Class : ColumnValues
7
//
15
//
16
// Original Author: Chris Jones
17
// Created: Thu, 24 Aug 2017 18:13:38 GMT
18
//
19
20
// system include files
21
22
// user include files
23
24
// forward declarations
25
#include <cstddef>
26
namespace
edm
{
27
namespace
soa {
28
29
30
template
<
typename
T>
31
class
ColumnValues
{
32
public
:
33
ColumnValues
(
T
const
* iBegin,
size_t
iSize):
34
m_begin
(iBegin),
m_end
(iBegin+iSize) {}
35
36
T
const
*
begin
()
const
{
return
m_begin
; }
37
T
const
*
end
()
const
{
return
m_end
; }
38
39
private
:
40
T
const
*
m_begin
=
nullptr
;
41
T
const
*
m_end
=
nullptr
;
42
};
43
44
template
<
typename
T>
45
class
MutableColumnValues
{
46
public
:
47
MutableColumnValues
(
T
* iBegin,
size_t
iSize):
48
m_begin
(iBegin),
m_end
(iBegin+iSize) {}
49
50
T
*
begin
()
const
{
return
m_begin
; }
51
T
*
end
()
const
{
return
m_end
; }
52
53
private
:
54
T
*
m_begin
=
nullptr
;
55
T
*
m_end
=
nullptr
;
56
};
57
58
}
59
}
60
61
#endif
edm::soa::ColumnValues::begin
T const * begin() const
Definition:
ColumnValues.h:36
edm::soa::MutableColumnValues
Definition:
ColumnValues.h:45
edm::soa::ColumnValues
Definition:
ColumnValues.h:31
edm::soa::MutableColumnValues::MutableColumnValues
MutableColumnValues(T *iBegin, size_t iSize)
Definition:
ColumnValues.h:47
edm::soa::MutableColumnValues::end
T * end() const
Definition:
ColumnValues.h:51
edm::soa::ColumnValues::m_begin
T const * m_begin
Definition:
ColumnValues.h:40
edm::soa::MutableColumnValues::begin
T * begin() const
Definition:
ColumnValues.h:50
edm::soa::ColumnValues::ColumnValues
ColumnValues(T const *iBegin, size_t iSize)
Definition:
ColumnValues.h:33
edm::soa::ColumnValues::m_end
T const * m_end
Definition:
ColumnValues.h:41
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::soa::ColumnValues::end
T const * end() const
Definition:
ColumnValues.h:37
T
long double T
Definition:
Basic3DVectorLD.h:66
Generated for CMSSW Reference Manual by
1.8.11