LibreOffice Module dbaccess (master) 1
|
#include <TableFieldDescription.hxx>
Public Member Functions | |
OTableFieldDesc () | |
OTableFieldDesc (const OUString &rTable, const OUString &rField) | |
OTableFieldDesc (const OTableFieldDesc &rRS) | |
virtual | ~OTableFieldDesc () override |
bool | IsEmpty () const |
OTableFieldDesc & | operator= (const OTableFieldDesc &_aField) |
bool | IsVisible () const |
bool | IsGroupBy () const |
void | SetVisible (bool bVis=true) |
void | SetGroupBy (bool bGb) |
void | SetTabWindow (vcl::Window *pWin) |
void | SetField (const OUString &rF) |
void | SetFieldAlias (const OUString &rF) |
void | SetTable (const OUString &rT) |
void | SetAlias (const OUString &rT) |
void | SetFunction (const OUString &rT) |
void | SetOrderDir (EOrderDir eDir) |
void | SetDataType (sal_Int32 eTyp) |
void | SetFieldType (ETableFieldType eTyp) |
void | SetCriteria (sal_uInt16 nIdx, const OUString &rCrit) |
void | SetColWidth (sal_Int32 nWidth) |
void | SetFieldIndex (sal_Int32 nFieldIndex) |
void | SetFunctionType (sal_Int32 eTyp) |
void | SetColumnId (sal_uInt16 _nColumnId) |
const OUString & | GetField () const |
const OUString & | GetFieldAlias () const |
const OUString & | GetTable () const |
const OUString & | GetAlias () const |
const OUString & | GetFunction () const |
sal_Int32 | GetDataType () const |
ETableFieldType | GetFieldType () const |
EOrderDir | GetOrderDir () const |
OUString | GetCriteria (sal_uInt16 nIdx) const |
sal_Int32 | GetColWidth () const |
sal_Int32 | GetFieldIndex () const |
vcl::Window * | GetTabWindow () const |
sal_Int32 | GetFunctionType () const |
sal_uInt16 | GetColumnId () const |
bool | isAggregateFunction () const |
bool | isOtherFunction () const |
bool | isNumeric () const |
bool | isNoneFunction () const |
bool | isCondition () const |
bool | isNumericOrAggregateFunction () const |
bool | HasCriteria () const |
const std::vector< OUString > & | GetCriteria () const |
void | Load (const css::beans::PropertyValue &i_rSettings, const bool i_bIncludingCriteria) |
void | Save (::comphelper::NamedValueCollection &o_rSettings, const bool i_bIncludingCriteria) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
std::vector< OUString > | m_aCriteria |
OUString | m_aTableName |
OUString | m_aAliasName |
table range More... | |
OUString | m_aFieldName |
column More... | |
OUString | m_aFieldAlias |
column alias More... | |
OUString | m_aFunctionName |
contains the function name (only if m_eFunctionType != FKT_NONE) More... | |
VclPtr< vcl::Window > | m_pTabWindow |
sal_Int32 | m_eDataType |
sal_Int32 | m_eFunctionType |
ETableFieldType | m_eFieldType |
EOrderDir | m_eOrderDir |
sal_Int32 | m_nIndex |
sal_Int32 | m_nColWidth |
sal_uInt16 | m_nColumnId |
bool | m_bGroupBy |
bool | m_bVisible |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 41 of file TableFieldDescription.hxx.
OTableFieldDesc::OTableFieldDesc | ( | ) |
Definition at line 32 of file TableFieldDescription.cxx.
OTableFieldDesc::OTableFieldDesc | ( | const OUString & | rTable, |
const OUString & | rField | ||
) |
Definition at line 53 of file TableFieldDescription.cxx.
References SetField(), and SetTable().
OTableFieldDesc::OTableFieldDesc | ( | const OTableFieldDesc & | rRS | ) |
Definition at line 46 of file TableFieldDescription.cxx.
|
overridevirtual |
Definition at line 68 of file TableFieldDescription.cxx.
|
inline |
Definition at line 100 of file TableFieldDescription.hxx.
References m_aAliasName.
Referenced by operator=().
|
inline |
Definition at line 110 of file TableFieldDescription.hxx.
References m_nColumnId.
|
inline |
Definition at line 106 of file TableFieldDescription.hxx.
References m_nColWidth.
Referenced by operator=().
|
inline |
Definition at line 129 of file TableFieldDescription.hxx.
References m_aCriteria.
OUString OTableFieldDesc::GetCriteria | ( | sal_uInt16 | nIdx | ) | const |
Definition at line 108 of file TableFieldDescription.cxx.
References m_aCriteria.
Referenced by operator=().
|
inline |
Definition at line 102 of file TableFieldDescription.hxx.
References m_eDataType.
Referenced by operator=().
|
inline |
Definition at line 97 of file TableFieldDescription.hxx.
References m_aFieldName.
Referenced by operator=().
|
inline |
Definition at line 98 of file TableFieldDescription.hxx.
References m_aFieldAlias.
Referenced by operator=().
|
inline |
Definition at line 107 of file TableFieldDescription.hxx.
References m_nIndex.
Referenced by operator=().
|
inline |
Definition at line 103 of file TableFieldDescription.hxx.
References m_eFieldType.
Referenced by operator=().
|
inline |
Definition at line 101 of file TableFieldDescription.hxx.
References m_aFunctionName.
Referenced by operator=().
|
inline |
Definition at line 109 of file TableFieldDescription.hxx.
References m_eFunctionType.
Referenced by operator=().
|
inline |
Definition at line 104 of file TableFieldDescription.hxx.
References m_eOrderDir.
Referenced by operator=().
|
inline |
Definition at line 99 of file TableFieldDescription.hxx.
References m_aTableName.
Referenced by operator=().
|
inline |
Definition at line 108 of file TableFieldDescription.hxx.
References m_pTabWindow.
Referenced by operator=().
|
inline |
Definition at line 119 of file TableFieldDescription.hxx.
References m_aCriteria.
Referenced by IsEmpty().
|
inline |
Definition at line 112 of file TableFieldDescription.hxx.
References dbaui::FKT_AGGREGATE, and m_eFunctionType.
Referenced by isNumericOrAggregateFunction().
|
inline |
Definition at line 116 of file TableFieldDescription.hxx.
References dbaui::FKT_CONDITION, and m_eFunctionType.
|
inline |
Definition at line 135 of file TableFieldDescription.hxx.
References HasCriteria(), m_aAliasName, m_aFieldAlias, m_aFieldName, m_aFunctionName, and m_aTableName.
|
inline |
Definition at line 78 of file TableFieldDescription.hxx.
References m_bGroupBy.
Referenced by operator=().
|
inline |
Definition at line 115 of file TableFieldDescription.hxx.
References dbaui::FKT_NONE, and m_eFunctionType.
|
inline |
Definition at line 114 of file TableFieldDescription.hxx.
References dbaui::FKT_NUMERIC, and m_eFunctionType.
Referenced by isNumericOrAggregateFunction().
|
inline |
Definition at line 117 of file TableFieldDescription.hxx.
References isAggregateFunction(), and isNumeric().
|
inline |
Definition at line 113 of file TableFieldDescription.hxx.
References dbaui::FKT_OTHER, and m_eFunctionType.
|
inline |
Definition at line 77 of file TableFieldDescription.hxx.
References m_bVisible.
Referenced by operator=().
void OTableFieldDesc::Load | ( | const css::beans::PropertyValue & | i_rSettings, |
const bool | i_bIncludingCriteria | ||
) |
Definition at line 130 of file TableFieldDescription.cxx.
References comphelper::NamedValueCollection::getOrDefault(), m_aAliasName, m_aCriteria, m_aFieldAlias, m_aFieldName, m_aFunctionName, m_aTableName, m_bGroupBy, m_bVisible, m_eDataType, m_eFieldType, m_eFunctionType, m_eOrderDir, and m_nColWidth.
OTableFieldDesc & OTableFieldDesc::operator= | ( | const OTableFieldDesc & | _aField | ) |
Definition at line 72 of file TableFieldDescription.cxx.
References GetAlias(), GetColWidth(), GetCriteria(), GetDataType(), GetField(), GetFieldAlias(), GetFieldIndex(), GetFieldType(), GetFunction(), GetFunctionType(), GetOrderDir(), GetTable(), GetTabWindow(), IsGroupBy(), IsVisible(), m_aAliasName, m_aCriteria, m_aFieldAlias, m_aFieldName, m_aFunctionName, m_aTableName, m_bGroupBy, m_bVisible, m_eDataType, m_eFieldType, m_eFunctionType, m_eOrderDir, m_nColumnId, m_nColWidth, m_nIndex, and m_pTabWindow.
void OTableFieldDesc::Save | ( | ::comphelper::NamedValueCollection & | o_rSettings, |
const bool | i_bIncludingCriteria | ||
) |
Definition at line 161 of file TableFieldDescription.cxx.
References m_aAliasName, m_aCriteria, m_aFieldAlias, m_aFieldName, m_aFunctionName, m_aTableName, m_bGroupBy, m_bVisible, m_eDataType, m_eFieldType, m_eFunctionType, m_eOrderDir, m_nColWidth, and comphelper::NamedValueCollection::put().
|
inline |
Definition at line 86 of file TableFieldDescription.hxx.
References m_aAliasName.
|
inline |
Definition at line 95 of file TableFieldDescription.hxx.
References m_nColumnId.
|
inline |
Definition at line 92 of file TableFieldDescription.hxx.
References m_nColWidth.
void OTableFieldDesc::SetCriteria | ( | sal_uInt16 | nIdx, |
const OUString & | rCrit | ||
) |
Definition at line 97 of file TableFieldDescription.cxx.
References m_aCriteria.
|
inline |
Definition at line 89 of file TableFieldDescription.hxx.
References m_eDataType.
|
inline |
Definition at line 83 of file TableFieldDescription.hxx.
References m_aFieldName.
Referenced by OTableFieldDesc().
|
inline |
Definition at line 84 of file TableFieldDescription.hxx.
References m_aFieldAlias.
|
inline |
Definition at line 93 of file TableFieldDescription.hxx.
References m_nIndex.
|
inline |
Definition at line 90 of file TableFieldDescription.hxx.
References m_eFieldType.
|
inline |
Definition at line 87 of file TableFieldDescription.hxx.
References m_aFunctionName.
|
inline |
Definition at line 94 of file TableFieldDescription.hxx.
References m_eFunctionType.
|
inline |
Definition at line 81 of file TableFieldDescription.hxx.
References m_bGroupBy.
|
inline |
Definition at line 88 of file TableFieldDescription.hxx.
References m_eOrderDir.
|
inline |
Definition at line 85 of file TableFieldDescription.hxx.
References m_aTableName.
Referenced by OTableFieldDesc().
|
inline |
Definition at line 82 of file TableFieldDescription.hxx.
References m_pTabWindow.
|
inline |
Definition at line 80 of file TableFieldDescription.hxx.
References m_bVisible.
|
private |
table range
Definition at line 48 of file TableFieldDescription.hxx.
Referenced by GetAlias(), IsEmpty(), Load(), operator=(), Save(), and SetAlias().
|
private |
Definition at line 45 of file TableFieldDescription.hxx.
Referenced by GetCriteria(), HasCriteria(), Load(), operator=(), Save(), and SetCriteria().
|
private |
column alias
Definition at line 50 of file TableFieldDescription.hxx.
Referenced by GetFieldAlias(), IsEmpty(), Load(), operator=(), Save(), and SetFieldAlias().
|
private |
column
Definition at line 49 of file TableFieldDescription.hxx.
Referenced by GetField(), IsEmpty(), Load(), operator=(), Save(), and SetField().
|
private |
contains the function name (only if m_eFunctionType != FKT_NONE)
Definition at line 51 of file TableFieldDescription.hxx.
Referenced by GetFunction(), IsEmpty(), Load(), operator=(), Save(), and SetFunction().
|
private |
Definition at line 47 of file TableFieldDescription.hxx.
Referenced by GetTable(), IsEmpty(), Load(), operator=(), Save(), and SetTable().
|
private |
Definition at line 62 of file TableFieldDescription.hxx.
Referenced by IsGroupBy(), Load(), operator=(), Save(), and SetGroupBy().
|
private |
Definition at line 63 of file TableFieldDescription.hxx.
Referenced by IsVisible(), Load(), operator=(), Save(), and SetVisible().
|
private |
Definition at line 55 of file TableFieldDescription.hxx.
Referenced by GetDataType(), Load(), operator=(), Save(), and SetDataType().
|
private |
Definition at line 57 of file TableFieldDescription.hxx.
Referenced by GetFieldType(), Load(), operator=(), Save(), and SetFieldType().
|
private |
Definition at line 56 of file TableFieldDescription.hxx.
Referenced by GetFunctionType(), isAggregateFunction(), isCondition(), isNoneFunction(), isNumeric(), isOtherFunction(), Load(), operator=(), Save(), and SetFunctionType().
|
private |
Definition at line 58 of file TableFieldDescription.hxx.
Referenced by GetOrderDir(), Load(), operator=(), Save(), and SetOrderDir().
|
private |
Definition at line 61 of file TableFieldDescription.hxx.
Referenced by GetColumnId(), operator=(), and SetColumnId().
|
private |
Definition at line 60 of file TableFieldDescription.hxx.
Referenced by GetColWidth(), Load(), operator=(), Save(), and SetColWidth().
|
private |
Definition at line 59 of file TableFieldDescription.hxx.
Referenced by GetFieldIndex(), operator=(), and SetFieldIndex().
|
private |
Definition at line 53 of file TableFieldDescription.hxx.
Referenced by GetTabWindow(), operator=(), and SetTabWindow().