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

#include <TableFieldDescription.hxx>

Inheritance diagram for dbaui::OTableFieldDesc:
[legend]
Collaboration diagram for dbaui::OTableFieldDesc:
[legend]

Public Member Functions

 OTableFieldDesc ()
 
 OTableFieldDesc (const OUString &rTable, const OUString &rField)
 
 OTableFieldDesc (const OTableFieldDesc &rRS)
 
virtual ~OTableFieldDesc () override
 
bool IsEmpty () const
 
OTableFieldDescoperator= (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::WindowGetTabWindow () 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::Windowm_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
 

Detailed Description

Definition at line 41 of file TableFieldDescription.hxx.

Constructor & Destructor Documentation

◆ OTableFieldDesc() [1/3]

OTableFieldDesc::OTableFieldDesc ( )

Definition at line 32 of file TableFieldDescription.cxx.

◆ OTableFieldDesc() [2/3]

OTableFieldDesc::OTableFieldDesc ( const OUString &  rTable,
const OUString &  rField 
)

Definition at line 53 of file TableFieldDescription.cxx.

References SetField(), and SetTable().

◆ OTableFieldDesc() [3/3]

OTableFieldDesc::OTableFieldDesc ( const OTableFieldDesc rRS)

Definition at line 46 of file TableFieldDescription.cxx.

◆ ~OTableFieldDesc()

OTableFieldDesc::~OTableFieldDesc ( )
overridevirtual

Definition at line 68 of file TableFieldDescription.cxx.

Member Function Documentation

◆ GetAlias()

const OUString & dbaui::OTableFieldDesc::GetAlias ( ) const
inline

Definition at line 100 of file TableFieldDescription.hxx.

References m_aAliasName.

Referenced by operator=().

◆ GetColumnId()

sal_uInt16 dbaui::OTableFieldDesc::GetColumnId ( ) const
inline

Definition at line 110 of file TableFieldDescription.hxx.

References m_nColumnId.

◆ GetColWidth()

sal_Int32 dbaui::OTableFieldDesc::GetColWidth ( ) const
inline

Definition at line 106 of file TableFieldDescription.hxx.

References m_nColWidth.

Referenced by operator=().

◆ GetCriteria() [1/2]

const std::vector< OUString > & dbaui::OTableFieldDesc::GetCriteria ( ) const
inline

Definition at line 129 of file TableFieldDescription.hxx.

References m_aCriteria.

◆ GetCriteria() [2/2]

OUString OTableFieldDesc::GetCriteria ( sal_uInt16  nIdx) const

Definition at line 108 of file TableFieldDescription.cxx.

References m_aCriteria.

Referenced by operator=().

◆ GetDataType()

sal_Int32 dbaui::OTableFieldDesc::GetDataType ( ) const
inline

Definition at line 102 of file TableFieldDescription.hxx.

References m_eDataType.

Referenced by operator=().

◆ GetField()

const OUString & dbaui::OTableFieldDesc::GetField ( ) const
inline

Definition at line 97 of file TableFieldDescription.hxx.

References m_aFieldName.

Referenced by operator=().

◆ GetFieldAlias()

const OUString & dbaui::OTableFieldDesc::GetFieldAlias ( ) const
inline

Definition at line 98 of file TableFieldDescription.hxx.

References m_aFieldAlias.

Referenced by operator=().

◆ GetFieldIndex()

sal_Int32 dbaui::OTableFieldDesc::GetFieldIndex ( ) const
inline

Definition at line 107 of file TableFieldDescription.hxx.

References m_nIndex.

Referenced by operator=().

◆ GetFieldType()

ETableFieldType dbaui::OTableFieldDesc::GetFieldType ( ) const
inline

Definition at line 103 of file TableFieldDescription.hxx.

References m_eFieldType.

Referenced by operator=().

◆ GetFunction()

const OUString & dbaui::OTableFieldDesc::GetFunction ( ) const
inline

Definition at line 101 of file TableFieldDescription.hxx.

References m_aFunctionName.

Referenced by operator=().

◆ GetFunctionType()

sal_Int32 dbaui::OTableFieldDesc::GetFunctionType ( ) const
inline

Definition at line 109 of file TableFieldDescription.hxx.

References m_eFunctionType.

Referenced by operator=().

◆ GetOrderDir()

EOrderDir dbaui::OTableFieldDesc::GetOrderDir ( ) const
inline

Definition at line 104 of file TableFieldDescription.hxx.

References m_eOrderDir.

Referenced by operator=().

◆ GetTable()

const OUString & dbaui::OTableFieldDesc::GetTable ( ) const
inline

Definition at line 99 of file TableFieldDescription.hxx.

References m_aTableName.

Referenced by operator=().

◆ GetTabWindow()

vcl::Window * dbaui::OTableFieldDesc::GetTabWindow ( ) const
inline

Definition at line 108 of file TableFieldDescription.hxx.

References m_pTabWindow.

Referenced by operator=().

◆ HasCriteria()

bool dbaui::OTableFieldDesc::HasCriteria ( ) const
inline

Definition at line 119 of file TableFieldDescription.hxx.

References m_aCriteria.

Referenced by IsEmpty().

◆ isAggregateFunction()

bool dbaui::OTableFieldDesc::isAggregateFunction ( ) const
inline

Definition at line 112 of file TableFieldDescription.hxx.

References dbaui::FKT_AGGREGATE, and m_eFunctionType.

Referenced by isNumericOrAggregateFunction().

◆ isCondition()

bool dbaui::OTableFieldDesc::isCondition ( ) const
inline

Definition at line 116 of file TableFieldDescription.hxx.

References dbaui::FKT_CONDITION, and m_eFunctionType.

◆ IsEmpty()

bool dbaui::OTableFieldDesc::IsEmpty ( ) const
inline

◆ IsGroupBy()

bool dbaui::OTableFieldDesc::IsGroupBy ( ) const
inline

Definition at line 78 of file TableFieldDescription.hxx.

References m_bGroupBy.

Referenced by operator=().

◆ isNoneFunction()

bool dbaui::OTableFieldDesc::isNoneFunction ( ) const
inline

Definition at line 115 of file TableFieldDescription.hxx.

References dbaui::FKT_NONE, and m_eFunctionType.

◆ isNumeric()

bool dbaui::OTableFieldDesc::isNumeric ( ) const
inline

Definition at line 114 of file TableFieldDescription.hxx.

References dbaui::FKT_NUMERIC, and m_eFunctionType.

Referenced by isNumericOrAggregateFunction().

◆ isNumericOrAggregateFunction()

bool dbaui::OTableFieldDesc::isNumericOrAggregateFunction ( ) const
inline

Definition at line 117 of file TableFieldDescription.hxx.

References isAggregateFunction(), and isNumeric().

◆ isOtherFunction()

bool dbaui::OTableFieldDesc::isOtherFunction ( ) const
inline

Definition at line 113 of file TableFieldDescription.hxx.

References dbaui::FKT_OTHER, and m_eFunctionType.

◆ IsVisible()

bool dbaui::OTableFieldDesc::IsVisible ( ) const
inline

Definition at line 77 of file TableFieldDescription.hxx.

References m_bVisible.

Referenced by operator=().

◆ Load()

void OTableFieldDesc::Load ( const css::beans::PropertyValue &  i_rSettings,
const bool  i_bIncludingCriteria 
)

◆ operator=()

OTableFieldDesc & OTableFieldDesc::operator= ( const OTableFieldDesc _aField)

◆ Save()

void OTableFieldDesc::Save ( ::comphelper::NamedValueCollection o_rSettings,
const bool  i_bIncludingCriteria 
)

◆ SetAlias()

void dbaui::OTableFieldDesc::SetAlias ( const OUString &  rT)
inline

Definition at line 86 of file TableFieldDescription.hxx.

References m_aAliasName.

◆ SetColumnId()

void dbaui::OTableFieldDesc::SetColumnId ( sal_uInt16  _nColumnId)
inline

Definition at line 95 of file TableFieldDescription.hxx.

References m_nColumnId.

◆ SetColWidth()

void dbaui::OTableFieldDesc::SetColWidth ( sal_Int32  nWidth)
inline

Definition at line 92 of file TableFieldDescription.hxx.

References m_nColWidth.

◆ SetCriteria()

void OTableFieldDesc::SetCriteria ( sal_uInt16  nIdx,
const OUString &  rCrit 
)

Definition at line 97 of file TableFieldDescription.cxx.

References m_aCriteria.

◆ SetDataType()

void dbaui::OTableFieldDesc::SetDataType ( sal_Int32  eTyp)
inline

Definition at line 89 of file TableFieldDescription.hxx.

References m_eDataType.

◆ SetField()

void dbaui::OTableFieldDesc::SetField ( const OUString &  rF)
inline

Definition at line 83 of file TableFieldDescription.hxx.

References m_aFieldName.

Referenced by OTableFieldDesc().

◆ SetFieldAlias()

void dbaui::OTableFieldDesc::SetFieldAlias ( const OUString &  rF)
inline

Definition at line 84 of file TableFieldDescription.hxx.

References m_aFieldAlias.

◆ SetFieldIndex()

void dbaui::OTableFieldDesc::SetFieldIndex ( sal_Int32  nFieldIndex)
inline

Definition at line 93 of file TableFieldDescription.hxx.

References m_nIndex.

◆ SetFieldType()

void dbaui::OTableFieldDesc::SetFieldType ( ETableFieldType  eTyp)
inline

Definition at line 90 of file TableFieldDescription.hxx.

References m_eFieldType.

◆ SetFunction()

void dbaui::OTableFieldDesc::SetFunction ( const OUString &  rT)
inline

Definition at line 87 of file TableFieldDescription.hxx.

References m_aFunctionName.

◆ SetFunctionType()

void dbaui::OTableFieldDesc::SetFunctionType ( sal_Int32  eTyp)
inline

Definition at line 94 of file TableFieldDescription.hxx.

References m_eFunctionType.

◆ SetGroupBy()

void dbaui::OTableFieldDesc::SetGroupBy ( bool  bGb)
inline

Definition at line 81 of file TableFieldDescription.hxx.

References m_bGroupBy.

◆ SetOrderDir()

void dbaui::OTableFieldDesc::SetOrderDir ( EOrderDir  eDir)
inline

Definition at line 88 of file TableFieldDescription.hxx.

References m_eOrderDir.

◆ SetTable()

void dbaui::OTableFieldDesc::SetTable ( const OUString &  rT)
inline

Definition at line 85 of file TableFieldDescription.hxx.

References m_aTableName.

Referenced by OTableFieldDesc().

◆ SetTabWindow()

void dbaui::OTableFieldDesc::SetTabWindow ( vcl::Window pWin)
inline

Definition at line 82 of file TableFieldDescription.hxx.

References m_pTabWindow.

◆ SetVisible()

void dbaui::OTableFieldDesc::SetVisible ( bool  bVis = true)
inline

Definition at line 80 of file TableFieldDescription.hxx.

References m_bVisible.

Member Data Documentation

◆ m_aAliasName

OUString dbaui::OTableFieldDesc::m_aAliasName
private

table range

Definition at line 48 of file TableFieldDescription.hxx.

Referenced by GetAlias(), IsEmpty(), Load(), operator=(), Save(), and SetAlias().

◆ m_aCriteria

std::vector< OUString > dbaui::OTableFieldDesc::m_aCriteria
private

Definition at line 45 of file TableFieldDescription.hxx.

Referenced by GetCriteria(), HasCriteria(), Load(), operator=(), Save(), and SetCriteria().

◆ m_aFieldAlias

OUString dbaui::OTableFieldDesc::m_aFieldAlias
private

column alias

Definition at line 50 of file TableFieldDescription.hxx.

Referenced by GetFieldAlias(), IsEmpty(), Load(), operator=(), Save(), and SetFieldAlias().

◆ m_aFieldName

OUString dbaui::OTableFieldDesc::m_aFieldName
private

column

Definition at line 49 of file TableFieldDescription.hxx.

Referenced by GetField(), IsEmpty(), Load(), operator=(), Save(), and SetField().

◆ m_aFunctionName

OUString dbaui::OTableFieldDesc::m_aFunctionName
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().

◆ m_aTableName

OUString dbaui::OTableFieldDesc::m_aTableName
private

Definition at line 47 of file TableFieldDescription.hxx.

Referenced by GetTable(), IsEmpty(), Load(), operator=(), Save(), and SetTable().

◆ m_bGroupBy

bool dbaui::OTableFieldDesc::m_bGroupBy
private

Definition at line 62 of file TableFieldDescription.hxx.

Referenced by IsGroupBy(), Load(), operator=(), Save(), and SetGroupBy().

◆ m_bVisible

bool dbaui::OTableFieldDesc::m_bVisible
private

Definition at line 63 of file TableFieldDescription.hxx.

Referenced by IsVisible(), Load(), operator=(), Save(), and SetVisible().

◆ m_eDataType

sal_Int32 dbaui::OTableFieldDesc::m_eDataType
private

Definition at line 55 of file TableFieldDescription.hxx.

Referenced by GetDataType(), Load(), operator=(), Save(), and SetDataType().

◆ m_eFieldType

ETableFieldType dbaui::OTableFieldDesc::m_eFieldType
private

Definition at line 57 of file TableFieldDescription.hxx.

Referenced by GetFieldType(), Load(), operator=(), Save(), and SetFieldType().

◆ m_eFunctionType

sal_Int32 dbaui::OTableFieldDesc::m_eFunctionType
private

◆ m_eOrderDir

EOrderDir dbaui::OTableFieldDesc::m_eOrderDir
private

Definition at line 58 of file TableFieldDescription.hxx.

Referenced by GetOrderDir(), Load(), operator=(), Save(), and SetOrderDir().

◆ m_nColumnId

sal_uInt16 dbaui::OTableFieldDesc::m_nColumnId
private

Definition at line 61 of file TableFieldDescription.hxx.

Referenced by GetColumnId(), operator=(), and SetColumnId().

◆ m_nColWidth

sal_Int32 dbaui::OTableFieldDesc::m_nColWidth
private

Definition at line 60 of file TableFieldDescription.hxx.

Referenced by GetColWidth(), Load(), operator=(), Save(), and SetColWidth().

◆ m_nIndex

sal_Int32 dbaui::OTableFieldDesc::m_nIndex
private

Definition at line 59 of file TableFieldDescription.hxx.

Referenced by GetFieldIndex(), operator=(), and SetFieldIndex().

◆ m_pTabWindow

VclPtr<vcl::Window> dbaui::OTableFieldDesc::m_pTabWindow
private

Definition at line 53 of file TableFieldDescription.hxx.

Referenced by GetTabWindow(), operator=(), and SetTabWindow().


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