Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <usModuleResourceStream.h>
Public Member Functions | |
ModuleResourceStream (const ModuleResource &resource, std::ios_base::openmode mode=std::ios_base::in) | |
An input stream class for ModuleResource objects.
This class provides access to the resource data embedded in a module's shared library via a STL input stream interface.
Definition at line 43 of file usModuleResourceStream.h.
us::ModuleResourceStream::ModuleResourceStream | ( | const ModuleResource & | resource, |
std::ios_base::openmode | mode = std::ios_base::in |
||
) |
Construct a ModuleResourceStream object.
resource | The ModuleResource object for which an input stream should be constructed. |
mode | The open mode of the stream. If std::ios_base::binary is used, the resource data will be treated as binary data, otherwise the data is interpreted as text data and the usual platform specific end-of-line translations take place. |
Definition at line 31 of file usModuleResourceStream.cpp.