|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <ocf/ocstorag.h>
Public Member Functions | |
| TOcStream (TOcStorage &storage, LPCTSTR name, bool create, owl::uint32 mode=STGM_READWRITE) | |
| TOcStream (TOcStream &stream) | |
| TOcStream (IStream *stream) | |
| ~TOcStream () | |
| IStream * | GetIStream () |
| HRESULT | Read (void *pv, owl::ulong cb, owl::ulong *read=0) |
| HRESULT | Write (void const *pv, owl::ulong cb, owl::ulong *written=0) |
| HRESULT | Seek (owl::int64 move, owl::uint32 origin=STREAM_SEEK_SET, owl::uint64 *newPosition=0) |
| HRESULT | SetSize (owl::uint64 newSize) |
| HRESULT | CopyTo (TOcStream &stream, owl::uint64 cb, owl::uint64 *read=0, owl::uint64 *written=0) |
| HRESULT | Commit (owl::uint32 commitFlags) |
| HRESULT | Revert () |
| HRESULT | LockRegion (owl::uint64 offset, owl::uint64 cb, owl::uint32 lockType) |
| HRESULT | UnlockRegion (owl::uint64 offset, owl::uint64 cb, owl::uint32 lockType) |
| HRESULT | Stat (STATSTG *statstg, owl::uint32 statFlag) |
Protected Member Functions | |
| HRESULT | Clone (IStream **ppstm) |
Protected Attributes | |
| IStream * | StreamI |
Definition at line 41 of file ocstorag.h.
| ocf::TOcStream::TOcStream | ( | TOcStorage & | storage, |
| LPCTSTR | name, | ||
| bool | create, | ||
| owl::uint32 | mode = STGM_READWRITE ) |
Definition at line 101 of file ocstorag.cpp.
References ocf::TXObjComp::Check(), StreamI, and ocf::TXObjComp::xStreamOpenError.
| ocf::TOcStream::TOcStream | ( | TOcStream & | stream | ) |
Definition at line 118 of file ocstorag.cpp.
References StreamI.
| ocf::TOcStream::TOcStream | ( | IStream * | stream | ) |
Definition at line 127 of file ocstorag.cpp.
| ocf::TOcStream::~TOcStream | ( | ) |
Definition at line 136 of file ocstorag.cpp.
References StreamI.
Definition at line 256 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
| HRESULT ocf::TOcStream::Commit | ( | owl::uint32 | commitFlags | ) |
Definition at line 209 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::CopyTo | ( | TOcStream & | stream, |
| owl::uint64 | cb, | ||
| owl::uint64 * | read = 0, | ||
| owl::uint64 * | written = 0 ) |
Definition at line 197 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
| IStream * ocf::TOcStream::GetIStream | ( | ) |
Definition at line 146 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::LockRegion | ( | owl::uint64 | offset, |
| owl::uint64 | cb, | ||
| owl::uint32 | lockType ) |
Definition at line 227 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::Read | ( | void * | pv, |
| owl::ulong | cb, | ||
| owl::ulong * | read = 0 ) |
Definition at line 155 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
| HRESULT ocf::TOcStream::Revert | ( | ) |
Definition at line 218 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::Seek | ( | owl::int64 | move, |
| owl::uint32 | origin = STREAM_SEEK_SET, | ||
| owl::uint64 * | newPosition = 0 ) |
Definition at line 177 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
| HRESULT ocf::TOcStream::SetSize | ( | owl::uint64 | newSize | ) |
Definition at line 188 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::Stat | ( | STATSTG * | statstg, |
| owl::uint32 | statFlag ) |
Definition at line 245 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
| HRESULT ocf::TOcStream::UnlockRegion | ( | owl::uint64 | offset, |
| owl::uint64 | cb, | ||
| owl::uint32 | lockType ) |
Definition at line 236 of file ocstorag.cpp.
References StreamI.
| HRESULT ocf::TOcStream::Write | ( | void const * | pv, |
| owl::ulong | cb, | ||
| owl::ulong * | written = 0 ) |
Definition at line 166 of file ocstorag.cpp.
References PRECONDITION, and StreamI.
|
protected |
Definition at line 67 of file ocstorag.h.