LibreOffice Module dbaccess (master) 1
|
#include <TableRow.hxx>
Public Member Functions | |
OTableRow () | |
OTableRow (const OTableRow &rRow, tools::Long nPosition=-1) | |
~OTableRow () | |
OFieldDescription * | GetActFieldDescr () const |
bool | isValid () const |
void | SetFieldType (const TOTypeInfoSP &_pType, bool _bForce=false) |
void | SetPrimaryKey (bool bSet) |
bool | IsPrimaryKey () const |
sal_Int32 | GetPos () const |
returns the current position in the table. More... | |
void | SetPos (sal_Int32 _nPos) |
void | SetReadOnly (bool _bRead=true) |
set the row readonly More... | |
bool | IsReadOnly () const |
returns if the row is readonly More... | |
Private Attributes | |
OFieldDescription * | m_pActFieldDescr |
sal_Int32 | m_nPos |
bool | m_bReadOnly |
bool | m_bOwnsDescriptions |
Friends | |
SvStream & | WriteOTableRow (SvStream &rStr, const OTableRow &_rRow) |
SvStream & | ReadOTableRow (SvStream &rStr, OTableRow &_rRow) |
Definition at line 29 of file TableRow.hxx.
OTableRow::OTableRow | ( | ) |
Definition at line 30 of file TableRow.cxx.
References m_bReadOnly, and m_nPos.
OTableRow::OTableRow | ( | const OTableRow & | rRow, |
tools::Long | nPosition = -1 |
||
) |
Definition at line 38 of file TableRow.cxx.
References GetActFieldDescr(), IsReadOnly(), m_bOwnsDescriptions, m_bReadOnly, m_nPos, and m_pActFieldDescr.
OTableRow::~OTableRow | ( | ) |
Definition at line 53 of file TableRow.cxx.
References m_bOwnsDescriptions, and m_pActFieldDescr.
|
inline |
Definition at line 43 of file TableRow.hxx.
References m_pActFieldDescr.
Referenced by isValid(), and OTableRow().
|
inline |
returns the current position in the table.
Definition at line 55 of file TableRow.hxx.
References m_nPos.
bool OTableRow::IsPrimaryKey | ( | ) | const |
Definition at line 65 of file TableRow.cxx.
References dbaui::OFieldDescription::IsPrimaryKey(), and m_pActFieldDescr.
|
inline |
returns if the row is readonly
Definition at line 68 of file TableRow.hxx.
References m_bReadOnly.
|
inline |
Definition at line 44 of file TableRow.hxx.
References GetActFieldDescr().
Referenced by dbaui::OTableController::GetState(), and dbaui::OTableController::suspend().
void OTableRow::SetFieldType | ( | const TOTypeInfoSP & | _pType, |
bool | _bForce = false |
||
) |
Definition at line 70 of file TableRow.cxx.
References dbaui::OFieldDescription::FillFromTypeInfo(), m_bOwnsDescriptions, and m_pActFieldDescr.
|
inline |
Definition at line 56 of file TableRow.hxx.
void OTableRow::SetPrimaryKey | ( | bool | bSet | ) |
Definition at line 59 of file TableRow.cxx.
References m_pActFieldDescr, and dbaui::OFieldDescription::SetPrimaryKey().
|
inline |
set the row readonly
_bRead | if <TRUE> then the row is readonly, otherwise not |
Definition at line 62 of file TableRow.hxx.
References m_bReadOnly.
Definition at line 128 of file TableRow.cxx.
Definition at line 90 of file TableRow.cxx.
|
private |
Definition at line 35 of file TableRow.hxx.
Referenced by OTableRow(), SetFieldType(), and ~OTableRow().
|
private |
Definition at line 34 of file TableRow.hxx.
Referenced by IsReadOnly(), and SetReadOnly().
|
private |
Definition at line 33 of file TableRow.hxx.
|
private |
Definition at line 32 of file TableRow.hxx.
Referenced by GetActFieldDescr(), IsPrimaryKey(), OTableRow(), SetFieldType(), SetPrimaryKey(), and ~OTableRow().