LibreOffice Module dbaccess (master) 1
|
#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) |
SvStream * | getInputStream () const |
Protected Member Functions | |
OUString | readString () |
bool | checkNull () |
OUString | readUTF (sal_Int32 nLen) |
Private Attributes | |
std::unique_ptr< SvStream > | m_pStream |
Definition at line 21 of file rowinputbinary.hxx.
dbahsql::HsqlRowInputStream::HsqlRowInputStream | ( | ) |
Definition at line 140 of file rowinputbinary.cxx.
|
protected |
Definition at line 231 of file rowinputbinary.cxx.
References m_pStream.
Referenced by readOneRow().
SvStream * dbahsql::HsqlRowInputStream::getInputStream | ( | ) | const |
Definition at line 148 of file rowinputbinary.cxx.
References m_pStream.
Referenced by dbahsql::HsqlBinaryNode::readChildren().
std::vector< Any > dbahsql::HsqlRowInputStream::readOneRow | ( | const std::vector< ColumnDefinition > & | colTypes | ) |
Reads one row from the actual position.
colTypes | Field 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().
|
protected |
Definition at line 152 of file rowinputbinary.cxx.
References m_pStream, and readUTF().
Referenced by readOneRow().
|
protected |
Definition at line 159 of file rowinputbinary.cxx.
References aBuffer, m_pStream, and nCount.
Referenced by readString().
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().
void dbahsql::HsqlRowInputStream::setInputStream | ( | css::uno::Reference< css::io::XInputStream > const & | rStream | ) |
Definition at line 142 of file rowinputbinary.cxx.
References utl::UcbStreamHelper::CreateStream(), and m_pStream.
Referenced by dbahsql::HsqlImporter::parseTableRows().
|
private |
Definition at line 24 of file rowinputbinary.hxx.
Referenced by checkNull(), getInputStream(), readOneRow(), readString(), readUTF(), seek(), and setInputStream().