Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t > Struct Template Reference

#include <acts/blob/sPHENIX/Tests/CommonHelpers/Acts/Tests/CommonHelpers/WhiteBoardUtilities.hpp>

Public Member Functions

template<typename T >
auto add (const std::string &name, T value)
 
template<typename writer_t >
auto write (writer_t &writer, std::size_t eventId=0)
 
template<typename reader_t >
auto read (reader_t &reader, std::size_t eventId=0)
 

Public Attributes

val_tuple_t tuple
 
str_tuple_t strings
 

Static Public Attributes

static constexpr std::size_t kSize = std::tuple_size_v<val_tuple_t>
 

Detailed Description

template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
struct Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >

Definition at line 48 of file WhiteBoardUtilities.hpp.

View newest version in sPHENIX GitHub at line 48 of file WhiteBoardUtilities.hpp

Member Function Documentation

template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
template<typename T >
auto Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::add ( const std::string &  name,
T  value 
)
inline

Definition at line 56 of file WhiteBoardUtilities.hpp.

View newest version in sPHENIX GitHub at line 56 of file WhiteBoardUtilities.hpp

References testing::internal::move(), Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::strings, and Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::tuple.

Referenced by BOOST_AUTO_TEST_CASE(), and Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::write().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
template<typename reader_t >
auto Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::read ( reader_t &  reader,
std::size_t  eventId = 0 
)
inline

Definition at line 85 of file WhiteBoardUtilities.hpp.

View newest version in sPHENIX GitHub at line 85 of file WhiteBoardUtilities.hpp

References Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::kSize, std::tr1::make_tuple(), N, Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::strings, and Acts::UnitConstants::T.

+ Here is the call graph for this function:

template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
template<typename writer_t >
auto Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::write ( writer_t &  writer,
std::size_t  eventId = 0 
)
inline

Definition at line 68 of file WhiteBoardUtilities.hpp.

View newest version in sPHENIX GitHub at line 68 of file WhiteBoardUtilities.hpp

References Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::add(), Acts::Test::addToWhiteBoard(), Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::kSize, N, and Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::strings.

+ Here is the call graph for this function:

Member Data Documentation

template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
constexpr std::size_t Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::kSize = std::tuple_size_v<val_tuple_t>
static
template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
str_tuple_t Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::strings
template<typename val_tuple_t = std::tuple<>, typename str_tuple_t = std::tuple<>>
val_tuple_t Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::tuple

Definition at line 49 of file WhiteBoardUtilities.hpp.

View newest version in sPHENIX GitHub at line 49 of file WhiteBoardUtilities.hpp

Referenced by Acts::Test::GenericReadWriteTool< val_tuple_t, str_tuple_t >::add().


The documentation for this struct was generated from the following file: