Class CStdOutStream

Synopsis

#include <include/cstdoutstream.hpp>

class CStdOutStream : public IOutStream, public CMyUnknownImp

Description

No description yet.

Inheritance

Ancestors: CMyUnknownImp, IOutStream

Methods

CStdOutStream
~CStdOutStream
MY_UNKNOWN_IMP1IOutStream.
Seek
SetSize

Source

Lines 13-28 in include/cstdoutstream.hpp.

class CStdOutStream : public IOutStream, public CMyUnknownImp {
    public:
        explicit CStdOutStream( std::ostream& outputStream );
        virtual ~CStdOutStream();
        MY_UNKNOWN_IMP1( IOutStream )
        // IOutStream
        STDMETHOD( Write )( void const* data, uint32_t size, uint32_t* processedSize );
        STDMETHOD( Seek )( int64_t offset, uint32_t seekOrigin, uint64_t* newPosition );
        STDMETHOD( SetSize )( uint64_t newSize );
    private:
        ostream& mOutputStream;
};





Add Discussion as Guest

Log in