fw4spl
fwDcmtkIO::reader::main::ImageLazySource Class Reference

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...
 

Detailed Description

Class used to build a std::istream using the ::boost::iostreams api.

Definition at line 71 of file ImageLazyStream.hpp.

Constructor & Destructor Documentation

fwDcmtkIO::reader::main::ImageLazySource::ImageLazySource ( ImageLazyInformation::sptr  dcmInfo)

Constructor.

Parameters
[in]dcmInfoDICOM information

Definition at line 25 of file ImageLazyStream.cpp.

References fwDcmtkIO::reader::main::ImageLazyReader::createInstanceBuffer(), and SLM_ASSERT.

+ Here is the call graph for this function:

Member Function Documentation

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.

Parameters
[in]nNumber of bytes
[out]sDestination buffer

Definition at line 50 of file ImageLazyStream.cpp.

References fwDcmtkIO::reader::main::ImageLazyReader::createInstanceBuffer(), OSLM_TRACE, and SLM_TRACE.

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: