ChimeraTK-DeviceAccess  03.18.00
TransferElement.cc
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2 // SPDX-License-Identifier: LGPL-3.0-or-later
3 #include "TransferElement.h"
4 
5 namespace ChimeraTK {
6 
7  std::ostream& operator<<(std::ostream& os, const DataValidity& validity) {
8  if(validity == DataValidity::ok) {
9  os << "ok";
10  }
11  else {
12  os << "faulty";
13  }
14  return os;
15  }
16 
17 } // namespace ChimeraTK
TransferElement.h
ChimeraTK::DataValidity::ok
@ ok
ChimeraTK::DataValidity
DataValidity
The current state of the data.
Definition: TransferElement.h:41
ChimeraTK::operator<<
std::ostream & operator<<(std::ostream &stream, const DataDescriptor::FundamentalType &fundamentalType)
Definition: DataDescriptor.cpp:195
ChimeraTK
Definition: DummyBackend.h:16