SophiaFramework UNIVERSE 5.3 |
#include <SFOTableModelBase.h.hpp>
class SFOTableModelBase : public SFORefObject;
SFMTYPEDEFREFOBJECT(SFOTableModelBase)
This class is an abstract table model class which is used by the SFZTableView class.
This class offers various interfaces to access the table modell.
Constructor/Destructor |
---|
SFOTableModelBase( Void ) Constructor of the SFOTableModelBase class.
|
~SFOTableModelBase( Void ) Destructor of the SFOTableModelBase class.
|
Public Functions | |
---|---|
SFXAnyPtr |
GetColumnRow(
SInt32 col
, SInt32 row
) Get the pointer to the cell object specified by row-column indices.
|
SInt32 |
GetRowLength( Void ) Get the length of the table row.
|
SFCError |
InsertLast(
SFXTableItemBaseConstRef item
) Insert the table item [row] at the tail.
|
Protected Functions | |
---|---|
static SFORefObjectSmp |
Factory(
SFORefObjectPtr object
, SFCErrorPtr exception
)
(inherits from SFORefObject)
This function is used to implement the NewInstance function.
|
SFCError |
Initialize( Void )
(inherits from SFORefObject)
Make the initialization which may raise an error.
|
[ protected, explicit ] SFOTableModelBase(Void);
[ protected, virtual ] ~SFOTableModelBase(Void);
[ public, pure-virtual ] SFXAnyPtr GetColumnRow( SInt32 col // column index SInt32 row // row index );
Pointer to the cell object
[ public, pure-virtual, const ] SInt32 GetRowLength(Void);
Length of table row
[ public, pure-virtual ] SFCError InsertLast( SFXTableItemBaseConstRef item // table item [row] );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |