fw4spl
|
Class used to build a std::istream using the ::boost::iostreams api. More...
#include <ImageLazyStream.hpp>
Public Types | |
typedef char | char_type |
typedef ::boost::iostreams::source_tag | category |
Public Member Functions | |
ImageLazySource (ImageLazyInformation::sptr dcmInfo) | |
Constructor. More... | |
std::streamsize | read (char *s, std::streamsize n) |
Method to read n bytes in dicom buffer and write it in s. More... | |
Class used to build a std::istream using the ::boost::iostreams api.
Definition at line 71 of file ImageLazyStream.hpp.
fwDcmtkIO::reader::main::ImageLazySource::ImageLazySource | ( | ImageLazyInformation::sptr | dcmInfo | ) |
Constructor.
[in] | dcmInfo | DICOM information |
Definition at line 25 of file ImageLazyStream.cpp.
References fwDcmtkIO::reader::main::ImageLazyReader::createInstanceBuffer(), and SLM_ASSERT.
std::streamsize fwDcmtkIO::reader::main::ImageLazySource::read | ( | char * | s, |
std::streamsize | n | ||
) |
Method to read n bytes in dicom buffer and write it in s.
[in] | n | Number of bytes |
[out] | s | Destination buffer |
Definition at line 50 of file ImageLazyStream.cpp.
References fwDcmtkIO::reader::main::ImageLazyReader::createInstanceBuffer(), OSLM_TRACE, and SLM_TRACE.