![]() | InDesign SDK 20.5 |
Public Types | |
| typedef object_type | data_type |
Public Member Functions | |
| TblSortRowData (void) | |
| TblSortRowData (K2Vector< WideString > &rowData, int32 keyIndex) | |
| TblSortRowData (const TblSortRowData &rhs) | |
| TblSortRowData (int32 reserveSize) | |
| virtual | ~TblSortRowData (void) |
| bool | operator< (const TblSortRowData &rhs) const |
| TblSortRowData & | operator= (const TblSortRowData &rhs) |
| void | SetAll (K2Vector< WideString > &rowData, int32 keyIndex) |
| const K2Vector< WideString > & | GetRowData (void) |
| void | Set (const WideString &data, int32 index) |
| void | SetKey (int32 keyIndex) |
| WideString | GetKeyData (void) const |
| int32 | RowSize (void) const |
Data class that encapsulates a table row.
| SnpSortTable::TblSortRowData::TblSortRowData | ( | void | ) |
Default constructor
| SnpSortTable::TblSortRowData::TblSortRowData | ( | K2Vector< WideString > & | rowData, |
| int32 | keyIndex | ||
| ) |
Constructor
| [in] | rowData | List of WideString objects for the row. |
| [in] | keyIndex | Index of the item designated as the sort key. |
| SnpSortTable::TblSortRowData::TblSortRowData | ( | const TblSortRowData & | rhs | ) |
Copy-constructor
| [in] | rhs | Another TblSortRowData class. |
| SnpSortTable::TblSortRowData::TblSortRowData | ( | int32 | reserveSize | ) |
Constructor when we have no data but want to reserve storage
| [in] | reserveSize | Reserves enough storage space for this number of items. |
| virtual |
Destructor
| WideString SnpSortTable::TblSortRowData::GetKeyData | ( | void | ) | const |
Returns the WideString data corresponding to the sort key.
| const K2Vector< WideString > & SnpSortTable::TblSortRowData::GetRowData | ( | void | ) |
Returns the row data
| bool SnpSortTable::TblSortRowData::operator< | ( | const TblSortRowData & | rhs | ) | const |
Operator less-than.
| [in] | rhs | Right-hand side argument to the less-than operator. |
| SnpSortTable::TblSortRowData & SnpSortTable::TblSortRowData::operator= | ( | const TblSortRowData & | rhs | ) |
Operator assignment
| [in] | rhs | Right-hand side argument to the assignment operator. |
| int32 SnpSortTable::TblSortRowData::RowSize | ( | void | ) | const |
Returns the size of the row.
| void SnpSortTable::TblSortRowData::Set | ( | const WideString & | data, |
| int32 | index | ||
| ) |
Sets a specific data item in the row data.
| [in] | data | The data to set. |
| [in] | index | The index to set. |
| void SnpSortTable::TblSortRowData::SetAll | ( | K2Vector< WideString > & | rowData, |
| int32 | keyIndex | ||
| ) |
Sets all row data.
| [in] | rowData | List of WideString objects for the row. |
| [in] | keyIndex | Index of the item designated as the sort key. |
| void SnpSortTable::TblSortRowData::SetKey | ( | int32 | keyIndex | ) |
Sets the index for the sort key.
| [in] | keyIndex | The sort key index to set. |