LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbahsql::HsqlRowInputStream Class Reference

#include <rowinputbinary.hxx>

Public Member Functions

 HsqlRowInputStream ()
 
std::vector< css::uno::Any > readOneRow (const std::vector< ColumnDefinition > &colTypes)
 Reads one row from the actual position. More...
 
void seek (sal_Int32 nPos)
 Sets the file-pointer offset, measured from the beginning of the file. More...
 
void setInputStream (css::uno::Reference< css::io::XInputStream > const &rStream)
 
SvStreamgetInputStream () const
 

Protected Member Functions

OUString readString ()
 
bool checkNull ()
 
OUString readUTF (sal_Int32 nLen)
 

Private Attributes

std::unique_ptr< SvStreamm_pStream
 

Detailed Description

Definition at line 21 of file rowinputbinary.hxx.

Constructor & Destructor Documentation

◆ HsqlRowInputStream()

dbahsql::HsqlRowInputStream::HsqlRowInputStream ( )

Definition at line 140 of file rowinputbinary.cxx.

Member Function Documentation

◆ checkNull()

bool dbahsql::HsqlRowInputStream::checkNull ( )
protected

Definition at line 231 of file rowinputbinary.cxx.

References m_pStream.

Referenced by readOneRow().

◆ getInputStream()

SvStream * dbahsql::HsqlRowInputStream::getInputStream ( ) const

Definition at line 148 of file rowinputbinary.cxx.

References m_pStream.

Referenced by dbahsql::HsqlBinaryNode::readChildren().

◆ readOneRow()

std::vector< Any > dbahsql::HsqlRowInputStream::readOneRow ( const std::vector< ColumnDefinition > &  colTypes)

Reads one row from the actual position.

Parameters
colTypesField types of the row, in a strict order.

Definition at line 238 of file rowinputbinary.cxx.

References aData, Any, checkNull(), i, m_pStream, nType, readString(), result, and value.

Referenced by dbahsql::HsqlBinaryNode::readRow().

◆ readString()

OUString dbahsql::HsqlRowInputStream::readString ( )
protected

Definition at line 152 of file rowinputbinary.cxx.

References m_pStream, and readUTF().

Referenced by readOneRow().

◆ readUTF()

OUString dbahsql::HsqlRowInputStream::readUTF ( sal_Int32  nLen)
protected

Definition at line 159 of file rowinputbinary.cxx.

References aBuffer, m_pStream, and nCount.

Referenced by readString().

◆ seek()

void dbahsql::HsqlRowInputStream::seek ( sal_Int32  nPos)

Sets the file-pointer offset, measured from the beginning of the file.

Definition at line 150 of file rowinputbinary.cxx.

References m_pStream, and nPos.

Referenced by dbahsql::HsqlBinaryNode::readRow().

◆ setInputStream()

void dbahsql::HsqlRowInputStream::setInputStream ( css::uno::Reference< css::io::XInputStream > const &  rStream)

Member Data Documentation

◆ m_pStream

std::unique_ptr<SvStream> dbahsql::HsqlRowInputStream::m_pStream
private

The documentation for this class was generated from the following files: