29 :
std::runtime_error(
"Error in module " +
to_string(index) +
": " + what)
46 size_t nBytesWritten = doWrite(buf, size);
47 BOOST_ASSERT(nBytesWritten <= size);
73 BOOST_ASSERT(dynamic_cast<Transform*>(
m_next.get()) !=
nullptr);
90 size_t nWritten =
m_next->write(&(*m_oBuffer)[m_outputOffset],
91 m_oBuffer->size() - m_outputOffset);
92 m_outputOffset += nWritten;
114 return (m_oBuffer ==
nullptr || m_oBuffer->size() == m_outputOffset);
118 Transform::doWrite(
const uint8_t* data,
size_t dataLen)
129 size_t nConverted = convert(data, dataLen);
144 Transform::preTransform()
149 Transform::finalize()
168 transform->setIndex(m_nModules);
178 sink->setIndex(m_nModules);
std::string to_string(const V &v)