summaryrefslogtreecommitdiff
path: root/io/source/stm/streamhelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm/streamhelper.hxx')
-rw-r--r--io/source/stm/streamhelper.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 11f65567e129..d175b46c9764 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -40,15 +40,18 @@ public:
* overwrites data at given position. Size is automatically extended, when
* data is written beyond end.
***/
+ /// @throws css::io::BufferSizeExceededException
void writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &)
throw(css::io::BufferSizeExceededException);
+ /// @throws css::io::BufferSizeExceededException
void readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const
throw(css::io::BufferSizeExceededException);
sal_Int32 getSize() const throw();
+ /// @throws css::io::BufferSizeExceededException
void forgetFromStart(sal_Int32 nBytesToForget) throw(css::io::BufferSizeExceededException);
private:
-
+ /// @throws css::io::BufferSizeExceededException
void resizeBuffer(sal_Int32 nMinSize) throw(css::io::BufferSizeExceededException);
inline void checkInvariants() {
assert( m_nBufferLen >= 0 );
@@ -70,10 +73,13 @@ class MemFIFO :
private MemRingBuffer
{
public:
+ /// @throws css::io::BufferSizeExceededException
void write( const Sequence<sal_Int8> &)
throw( css::io::BufferSizeExceededException );
+ /// @throws css::io::BufferSizeExceededException
void read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead )
throw( css::io::BufferSizeExceededException );
+ /// @throws css::io::BufferSizeExceededException
void skip( sal_Int32 nBytesToSkip )
throw( css::io::BufferSizeExceededException );
sal_Int32 getSize() const throw()