Project
Loading...
Searching...
No Matches
DataRef.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
#ifndef FRAMEWORK_DATAREF_H
12
#define FRAMEWORK_DATAREF_H
13
14
#include <cstddef>
// for size_t
15
#include <compare>
16
17
namespace
o2
18
{
19
namespace
framework
20
{
21
22
struct
InputSpec
;
23
24
struct
DataRef
{
25
// FIXME: had to remove the second 'const' in const T* const
26
// to allow assignment
27
const
InputSpec
*
spec
=
nullptr
;
28
const
char
*
header
=
nullptr
;
29
const
char
*
payload
=
nullptr
;
30
size_t
payloadSize
= 0;
31
};
32
35
struct
DataRefIndices
{
36
size_t
headerIdx
;
37
size_t
payloadIdx
;
38
bool
operator==
(
const
DataRefIndices
&)
const
=
default
;
39
auto
operator<=>
(
const
DataRefIndices
&)
const
=
default
;
40
};
41
42
}
// namespace framework
43
}
// namespace o2
44
45
#endif
framework
Definition
Cluster.h:90
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
FlattenRestore.h:23
o2::framework::DataRefIndices
Definition
DataRef.h:35
o2::framework::DataRefIndices::operator<=>
auto operator<=>(const DataRefIndices &) const =default
o2::framework::DataRefIndices::headerIdx
size_t headerIdx
Definition
DataRef.h:36
o2::framework::DataRefIndices::payloadIdx
size_t payloadIdx
Definition
DataRef.h:37
o2::framework::DataRefIndices::operator==
bool operator==(const DataRefIndices &) const =default
o2::framework::DataRef
Definition
DataRef.h:24
o2::framework::DataRef::header
const char * header
Definition
DataRef.h:28
o2::framework::DataRef::payloadSize
size_t payloadSize
Definition
DataRef.h:30
o2::framework::DataRef::payload
const char * payload
Definition
DataRef.h:29
o2::framework::DataRef::spec
const InputSpec * spec
Definition
DataRef.h:27
o2::framework::InputSpec
Definition
InputSpec.h:31
Framework
Core
include
Framework
DataRef.h
Generated on Sat Apr 11 2026 09:55:39 for Project by
1.9.8