Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: store ::

class OStoreStream


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
File
store.hxx

Public Members

Methods


OStoreStream( void ) throw( );
Construction.

~OStoreStream( void ) throw( );
Destruction.

OStoreStream( const OStoreStream & rhs ) throw( );
Copy construction.
OStoreStream &
operator=( const OStoreStream & rhs ) throw( );
Assignment.
explicit
OStoreStream( storeStreamHandle Handle ) throw( );
Construction from Stream Handle.

operator storeStreamHandle( void ) const throw( );
Conversion into Stream Handle.
bool
isValid( void ) const throw( );
Check for a valid Stream Handle.
storeError
create( storeFileHandle hFile, const rtl::OUString & rPath, const rtl::OUString & rName, storeAccessMode eMode ) throw( );
Open the stream.
void
close( void ) throw( );
Close the stream.
storeError
readAt( sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes, sal_uInt32 & rnDone ) throw( );
Read from the stream.
storeError
writeAt( sal_uInt32 nOffset, const void * pBuffer, sal_uInt32 nBytes, sal_uInt32 & rnDone ) throw( );
Write to the stream.
storeError
flush( void ) const throw( );
Flush the stream.
storeError
getSize( sal_uInt32 & rnSize ) const throw( );
Get the stream size.
storeError
setSize( sal_uInt32 nSize ) throw( );
Set the stream size.

Private Members

Data

storeStreamHandle m_hImpl; Representation.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.