10 #include "boost/bind.hpp"
11 #include "boost/shared_array.hpp"
26 explicit BufHelper(
int len):
buf_(new char[len]) { }
29 char*
get()
const {
return buf_.get(); }
32 BufHelper(
const BufHelper& ) { }
33 BufHelper&
operator=(
const BufHelper&) {
return *
this; }
35 boost::shared_array<char>
buf_;
41 TestFileReader::TestFileReader(
const std::string&
filename,
51 std::auto_ptr<edm::SendJobHeader>
p = StreamerInputSource::deserializeRegistry(*init);
66 <<
"the header record in file " <<
filename_
67 <<
"is not consistent with the one for the program \n";
73 int len = init->
size();
74 char*
buf_ =
new char[len];
112 int len = eview->
size();
113 char*
buf_ =
new char[len];
nocap nocap const skelname & operator=(const skelname &)
uint8 * startAddress() const
boost::shared_array< char > buf_
boost::shared_ptr< edm::StreamerInputFile > streamReader_
uint8 * startAddress() const
virtual ~TestFileReader()
bool registryIsSubset(SendJobHeader const &, ProductRegistry const ®)
boost::shared_ptr< boost::thread > me_
uint32 outputModuleId() const
author Stefano ARGIRO author Bill Tanenbaum
static void run(TestFileReader *)