The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Gaudi::TestSuite::MultiInput Namespace Reference

Classes

class  DumpAddress
 Write the content of the RootAddress of a data object. More...
 
class  ReadAlg
 Simple algorithm used to read data from two files. More...
 
class  WriteAlg
 Simple algorithm used to produce dummy data in the transient store. More...
 

Typedefs

typedef std::tuple< long, CLID, std::string, std::string, unsigned long, unsigned long > RootAddressArgs
 

Functions

std::istream & operator>> (std::istream &i, RootAddressArgs &addr)
 
Gaudi::RootAddressmake_address (RootAddressArgs args)
 

Typedef Documentation

◆ RootAddressArgs

typedef std::tuple<long, CLID, std::string, std::string, unsigned long, unsigned long> Gaudi::TestSuite::MultiInput::RootAddressArgs

Definition at line 26 of file MIHelpers.h.

Function Documentation

◆ make_address()

Gaudi::RootAddress * Gaudi::TestSuite::MultiInput::make_address ( RootAddressArgs args)
inline

Definition at line 36 of file MIHelpers.h.

36 {
37 long s{ 0 };
38 CLID c{ 0 };
39 std::string p1, p2;
40 unsigned long ip1{ 0 }, ip2{ 0 };
41 std::tie( s, c, p1, p2, ip1, ip2 ) = args;
42 return new Gaudi::RootAddress( s, c, p1, p2, ip1, ip2 );
43 }
unsigned int CLID
Class ID definition.
Definition ClassID.h:16

◆ operator>>()

std::istream & Gaudi::TestSuite::MultiInput::operator>> ( std::istream & i,
RootAddressArgs & addr )
inline

Definition at line 27 of file MIHelpers.h.

27 {
28 long s{ 0 };
29 CLID c{ 0 };
30 std::string p1, p2;
31 unsigned long ip1{ 0 }, ip2{ 0 };
32 i >> s >> c >> p1 >> p2 >> ip1 >> ip2;
33 addr = RootAddressArgs{ s, c, p1, p2, ip1, ip2 };
34 return i;
35 }
std::tuple< long, CLID, std::string, std::string, unsigned long, unsigned long > RootAddressArgs
Definition MIHelpers.h:26