NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CwxTableModelNotice Class Reference

Search Toolkit Book for CwxTableModelNotice

CwxTableModelNotice. More...

#include <gui/widgets/wx/table_model.hpp>

+ Collaboration diagram for CwxTableModelNotice:

Public Types

enum  EType {
  eInsert , eUpdate , eDelete , eAllDataChanged ,
  eStructureChanged
}
 

Public Member Functions

 CwxTableModelNotice (IwxTableModel &source)
 CwxTableModelNotice. More...
 
 CwxTableModelNotice (IwxTableModel &source, int row)
 
 CwxTableModelNotice (IwxTableModel &source, int first_row, int last_row, int col=ALL_COLUMNS, EType type=eUpdate)
 
IwxTableModelGetSource () const
 
EType GetType () const
 
int GetFirstRow () const
 
int GetLastRow () const
 
int GetColumn () const
 

Static Public Attributes

static const int ALL_COLUMNS = -1
 
static const int HEADER_ROW = -1
 

Private Attributes

IwxTableModelsource
 Table model should exist, notice is static and if stored, then on own storer risk. More...
 
EType type
 
int firstRow
 
int lastRow
 
int column
 

Detailed Description

CwxTableModelNotice.

Definition at line 85 of file table_model.hpp.

Member Enumeration Documentation

◆ EType

Enumerator
eInsert 
eUpdate 
eDelete 
eAllDataChanged 
eStructureChanged 

Definition at line 91 of file table_model.hpp.

Constructor & Destructor Documentation

◆ CwxTableModelNotice() [1/3]

CwxTableModelNotice::CwxTableModelNotice ( IwxTableModel source)

CwxTableModelNotice.

Definition at line 42 of file table_model.cpp.

◆ CwxTableModelNotice() [2/3]

CwxTableModelNotice::CwxTableModelNotice ( IwxTableModel source,
int  row 
)

Definition at line 52 of file table_model.cpp.

◆ CwxTableModelNotice() [3/3]

CwxTableModelNotice::CwxTableModelNotice ( IwxTableModel source,
int  first_row,
int  last_row,
int  col = ALL_COLUMNS,
EType  type = eUpdate 
)

Definition at line 62 of file table_model.cpp.

Member Function Documentation

◆ GetColumn()

int CwxTableModelNotice::GetColumn ( void  ) const
inline

Definition at line 109 of file table_model.hpp.

References column.

◆ GetFirstRow()

int CwxTableModelNotice::GetFirstRow ( ) const
inline

Definition at line 107 of file table_model.hpp.

References firstRow.

Referenced by CwxTableListCtrl::TableChanged().

◆ GetLastRow()

int CwxTableModelNotice::GetLastRow ( ) const
inline

Definition at line 108 of file table_model.hpp.

References lastRow.

Referenced by CwxTableListCtrl::TableChanged().

◆ GetSource()

IwxTableModel& CwxTableModelNotice::GetSource ( void  ) const
inline

Definition at line 105 of file table_model.hpp.

References source.

Referenced by CwxTableListCtrl::TableChanged().

◆ GetType()

EType CwxTableModelNotice::GetType ( void  ) const
inline

Definition at line 106 of file table_model.hpp.

References type.

Referenced by CwxTableListCtrl::TableChanged().

Member Data Documentation

◆ ALL_COLUMNS

const int CwxTableModelNotice::ALL_COLUMNS = -1
static

◆ column

int CwxTableModelNotice::column
private

Definition at line 118 of file table_model.hpp.

Referenced by GetColumn().

◆ firstRow

int CwxTableModelNotice::firstRow
private

Definition at line 116 of file table_model.hpp.

Referenced by GetFirstRow().

◆ HEADER_ROW

const int CwxTableModelNotice::HEADER_ROW = -1
static

◆ lastRow

int CwxTableModelNotice::lastRow
private

Definition at line 117 of file table_model.hpp.

Referenced by GetLastRow().

◆ source

IwxTableModel& CwxTableModelNotice::source
private

Table model should exist, notice is static and if stored, then on own storer risk.

Definition at line 114 of file table_model.hpp.

Referenced by GetSource().

◆ type

EType CwxTableModelNotice::type
private

Definition at line 115 of file table_model.hpp.

Referenced by GetType().


The documentation for this class was generated from the following files:
Modified on Fri May 24 14:55:47 2024 by modify_doxy.py rev. 669887