PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFOTableModelBase
Abstract table model class which is used by the SFZTableView class.
#include <SFOTableModelBase.h.hpp>
class SFOTableModelBase : public SFORefObject;
SFMTYPEDEFREFOBJECT(SFOTableModelBase)
        

Inheritance diagram

 Inheritance diagram of SFOTableModelBaseClass

Collaboration diagram

 Collaboration diagram of SFOTableModelBaseClass

Description

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.

Reference

SFOTableModel | SFZTableView

Member

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.

SFOTableModelBase::SFOTableModelBase
Constructor of the SFOTableModelBase class.
[ protected, explicit ]
SFOTableModelBase(Void);

SFOTableModelBase::~SFOTableModelBase
Destructor of the SFOTableModelBase class.
[ protected, virtual ]
~SFOTableModelBase(Void);

SFOTableModelBase::GetColumnRow
Get the pointer to the cell object specified by row-column indices.
[ public, pure-virtual ]
SFXAnyPtr GetColumnRow(
    SInt32 col   // column index
    SInt32 row   // row index
);

Return value

Pointer to the cell object

Reference

SFXAny


SFOTableModelBase::GetRowLength
Get the length of the table row.
[ public, pure-virtual, const ]
SInt32 GetRowLength(Void);

Return value

Length of table row


SFOTableModelBase::InsertLast
Insert the table item [row] at the tail.
[ public, pure-virtual ]
SFCError InsertLast(
    SFXTableItemBaseConstRef item   // table item [row]
);

Reference

SFXTableItemBase