SophiaFramework UNIVERSE 5.3 |
#include <SFXTableItem.h.hpp>
class SFXTableItem : public SFXTableItemBase;
template <SInt32 NUM> class SFXTableItem;
The SFXTableItem class is a concrete template class which represents an item [row] of a table model.
Note | |
---|---|
The template parameter NUM means the number of the columns of the table model. |
The data of an item [row] is represented as the fixed-length array of a cell object (SFXAny) whose size is the number NUM of the table columns.
The interfaces for accessing the item [row] are implemented in this class.
Constructor/Destructor |
---|
~SFXTableItem( Void ) Destructor of the SFXTableItem class.
|
Public Functions | |
---|---|
SFXTableItemPtr |
Clone( Void ) Clone the item [row].
|
SFXAnyPtr |
GetColumn(
SInt32 col
) Get the cell object specified by the column index.
|
SInt32 |
GetColumnLength( Void ) Get the number of the item columns.
|
[ public, virtual ] ~SFXTableItem(Void);
This destructor does nothing.
[ public, virtual, const ] SFXTableItemPtr Clone(Void);
Pointer to the cloned item [row].
This function clones the item [row].
Pointer to the cell object which is specified by the column index.
This function gets the cell object which is specified by the column index.
Caution | |
---|---|
The range of the "col" argment is not checked. The behavior of out of range input (minus, column numbers or over) is not defined. ASSERT will be generated in simulator. |
[ public, virtual, const ] SInt32 GetColumnLength(Void);
Number of item columns, that is always template parameter "NUM".
This function gets the number of the columns.
Note | |
---|---|
The template parameter value "NUM" is always returned. |
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |