|
LibreOffice Module dbaccess (master) 1
|
#include <QTableConnectionData.hxx>
Public Member Functions | |
| OQueryTableConnectionData () | |
| OQueryTableConnectionData (const OQueryTableConnectionData &rConnData) | |
| OQueryTableConnectionData (const TTableWindowData::value_type &_pReferencingTable, const TTableWindowData::value_type &_pReferencedTable) | |
| virtual | ~OQueryTableConnectionData () override |
| virtual void | CopyFrom (const OTableConnectionData &rSource) override |
| initialise from a source (more comfortable than a virtual assignment operator) More... | |
| virtual std::shared_ptr< OTableConnectionData > | NewInstance () const override |
| deliver a new instance of my own type More... | |
| virtual bool | Update () override |
| Update create a new connection. More... | |
| OUString const & | GetAliasName (EConnectionSide nWhich) const |
| sal_Int32 | GetFieldIndex (EConnectionSide nWhich) const |
| void | SetFieldIndex (EConnectionSide nWhich, sal_Int32 nVal) |
| void | InitFromDrag (const OTableFieldDescRef &rDragLeft, const OTableFieldDescRef &rDragRight) |
| EJoinType | GetJoinType () const |
| void | SetJoinType (const EJoinType &eJT) |
| void | setNatural (bool _bNatural) |
| bool | isNatural () const |
Public Member Functions inherited from dbaui::OTableConnectionData | |
| OTableConnectionData () | |
| OTableConnectionData (TTableWindowData::value_type _aReferencingTable, TTableWindowData::value_type _aReferencedTable) | |
| OTableConnectionData (const OTableConnectionData &rConnData) | |
| virtual | ~OTableConnectionData () |
| virtual void | CopyFrom (const OTableConnectionData &rSource) |
| initialise from a source (more comfortable than a virtual assignment operator) More... | |
| virtual std::shared_ptr< OTableConnectionData > | NewInstance () const |
| deliver a new instance of my own type More... | |
| void | SetConnLine (sal_uInt16 nIndex, const OUString &rSourceFieldName, const OUString &rDestFieldName) |
| bool | AppendConnLine (const OUString &rSourceFieldName, const OUString &rDestFieldName) |
| void | ResetConnLines () |
| Deletes list of ConnLines. More... | |
| OConnectionLineDataVec::size_type | normalizeLines () |
| moves the empty lines to the back removes duplicated empty lines More... | |
| const OConnectionLineDataVec & | GetConnLineDataList () const |
| OConnectionLineDataVec & | GetConnLineDataList () |
| const TTableWindowData::value_type & | getReferencingTable () const |
| const TTableWindowData::value_type & | getReferencedTable () const |
| void | setReferencingTable (const TTableWindowData::value_type &_pTable) |
| void | setReferencedTable (const TTableWindowData::value_type &_pTable) |
| virtual bool | Update () |
| Update create a new connection. More... | |
Private Member Functions | |
| OQueryTableConnectionData & | operator= (const OQueryTableConnectionData &rConnData) |
Private Attributes | |
| sal_Int32 | m_nFromEntryIndex |
| sal_Int32 | m_nDestEntryIndex |
| EJoinType | m_eJoinType |
| bool | m_bNatural |
Additional Inherited Members | |
Protected Member Functions inherited from dbaui::OTableConnectionData | |
| void | Init () |
| OTableConnectionData & | operator= (const OTableConnectionData &rConnData) |
Protected Attributes inherited from dbaui::OTableConnectionData | |
| TTableWindowData::value_type | m_pReferencingTable |
| TTableWindowData::value_type | m_pReferencedTable |
| OUString | m_aConnName |
| OConnectionLineDataVec | m_vConnLineData |
Definition at line 27 of file QTableConnectionData.hxx.
| OQueryTableConnectionData::OQueryTableConnectionData | ( | ) |
Definition at line 27 of file QTableConnectionData.cxx.
| OQueryTableConnectionData::OQueryTableConnectionData | ( | const OQueryTableConnectionData & | rConnData | ) |
Definition at line 35 of file QTableConnectionData.cxx.
| OQueryTableConnectionData::OQueryTableConnectionData | ( | const TTableWindowData::value_type & | _pReferencingTable, |
| const TTableWindowData::value_type & | _pReferencedTable | ||
| ) |
Definition at line 44 of file QTableConnectionData.cxx.
|
overridevirtual |
Definition at line 54 of file QTableConnectionData.cxx.
|
overridevirtual |
initialise from a source (more comfortable than a virtual assignment operator)
Reimplemented from dbaui::OTableConnectionData.
Definition at line 58 of file QTableConnectionData.cxx.
| OUString const & OQueryTableConnectionData::GetAliasName | ( | EConnectionSide | nWhich | ) | const |
Definition at line 80 of file QTableConnectionData.cxx.
References dbaui::JTCS_FROM, dbaui::OTableConnectionData::m_pReferencedTable, and dbaui::OTableConnectionData::m_pReferencingTable.
|
inline |
Definition at line 53 of file QTableConnectionData.hxx.
References dbaui::JTCS_TO, m_nDestEntryIndex, and m_nFromEntryIndex.
Referenced by dbaui::OQueryTableConnection::operator==().
|
inline |
Definition at line 58 of file QTableConnectionData.hxx.
References m_eJoinType.
Referenced by dbaui::DlgQryJoin::notifyConnectionChange(), and dbaui::OQueryTableView::suppressCrossNaturalJoin().
| void OQueryTableConnectionData::InitFromDrag | ( | const OTableFieldDescRef & | rDragLeft, |
| const OTableFieldDescRef & | rDragRight | ||
| ) |
|
inline |
Definition at line 62 of file QTableConnectionData.hxx.
References m_bNatural.
Referenced by dbaui::DlgQryJoin::DlgQryJoin(), and dbaui::DlgQryJoin::notifyConnectionChange().
|
overridevirtual |
deliver a new instance of my own type
derived classes have to deliver an instance of their own type
Reimplemented from dbaui::OTableConnectionData.
Definition at line 102 of file QTableConnectionData.cxx.
|
private |
Definition at line 64 of file QTableConnectionData.cxx.
References m_bNatural, m_eJoinType, m_nDestEntryIndex, m_nFromEntryIndex, and dbaui::OTableConnectionData::operator=().
|
inline |
Definition at line 54 of file QTableConnectionData.hxx.
References dbaui::JTCS_TO, m_nDestEntryIndex, and m_nFromEntryIndex.
Referenced by InitFromDrag().
|
inline |
Definition at line 59 of file QTableConnectionData.hxx.
References m_eJoinType.
|
inline |
Definition at line 61 of file QTableConnectionData.hxx.
References m_bNatural.
|
overridevirtual |
Update create a new connection.
Reimplemented from dbaui::OTableConnectionData.
Definition at line 107 of file QTableConnectionData.cxx.
|
private |
Definition at line 32 of file QTableConnectionData.hxx.
Referenced by isNatural(), operator=(), and setNatural().
|
private |
Definition at line 31 of file QTableConnectionData.hxx.
Referenced by GetJoinType(), operator=(), and SetJoinType().
|
private |
Definition at line 30 of file QTableConnectionData.hxx.
Referenced by GetFieldIndex(), operator=(), and SetFieldIndex().
|
private |
Definition at line 29 of file QTableConnectionData.hxx.
Referenced by GetFieldIndex(), operator=(), and SetFieldIndex().