A source taking an std::istream as input.
More...
#include <ndn-cxx/security/transform/stream-source.hpp>
A source taking an std::istream as input.
Definition at line 34 of file stream-source.hpp.
ndn::security::transform::StreamSource::StreamSource |
( |
std::istream & |
is, |
|
|
size_t |
bufLen = DEFAULT_BUFFER_LEN |
|
) |
| |
|
explicit |
Construst a source using is
as input.
- Parameters
-
is | The input stream |
bufLen | The internal buffer size. The default size is 1024. |
- Precondition
- bufLen must be larger than 0.
Definition at line 33 of file stream-source.cpp.
void ndn::security::transform::Upstream::appendChain |
( |
unique_ptr< Downstream > |
tail | ) |
|
|
protectedinherited |
size_t ndn::security::transform::Source::getIndex |
( |
| ) |
const |
|
inlineprotectedinherited |
Downstream* ndn::security::transform::Upstream::getNext |
( |
| ) |
|
|
inlineprotectedinherited |
Source & ndn::security::transform::Source::operator>> |
( |
unique_ptr< Transform > |
transform | ) |
|
|
inherited |
void ndn::security::transform::Source::operator>> |
( |
unique_ptr< Sink > |
sink | ) |
|
|
inherited |
Connect to the last transformation module.
This method will trigger the source to pump data into the transformation pipeline.
Definition at line 176 of file transform-base.cpp.
void ndn::security::transform::Source::pump |
( |
| ) |
|
|
protectedinherited |
const std::size_t ndn::security::transform::StreamSource::DEFAULT_BUFFER_LEN = 1024 |
|
static |
unique_ptr<Downstream> ndn::security::transform::Upstream::m_next |
|
protectedinherited |