#include <CTableCell.h>
List of all members.
Constructor & Destructor Documentation
CTableRow::CTableRow |
( |
const unsigned C_INT32 & |
size = 0 , |
|
|
const char & |
separator = '\t' |
|
) |
| |
Default constructor
- Parameters:
-
const | unisgned C_INT32 & size (default: 0) |
const | char & separator (default: '') |
CTableRow::CTableRow |
( |
const CTableRow & |
src | ) |
|
Copy constructor
- Parameters:
-
CTableRow::~CTableRow |
( |
| ) |
|
Member Function Documentation
const std::vector< CTableCell > & CTableRow::getCells |
( |
| ) |
const |
Retrieve the cells.
- Returns:
- const std::vector< CTableCell > & cells
const unsigned C_INT32 & CTableRow::getLastFilledCell |
( |
| ) |
const |
Retrieve the index of the last non empty cell in the last read operation. unsigned C_INT32 & lastFilledCell
unsigned C_INT32 CTableRow::guessColumnNumber |
( |
std::istream & |
is, |
|
|
const bool & |
rewind |
|
) |
| |
Try to guess the number of columns in the current line
- Parameters:
-
std::istream | &is |
const | bool & rewind |
- Returns:
- unsigned C_INT32 numColumns
const bool & CTableRow::isEmpty |
( |
| ) |
const |
Check whether row contains any cells with data A row is considered empty when it all cells are empty.
bool CTableRow::resize |
( |
const unsigned C_INT32 & |
size | ) |
|
Resize
- Parameters:
-
const | unsigned C_INT32 & size |
- Returns:
- bool success
unsigned C_INT32 CTableRow::size |
( |
| ) |
const |
Retrieve the size of the row
- Returns:
- const unsigned C_INT32 size
Friends And Related Function Documentation
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
CTableRow & |
cell |
|
) |
| [friend] |
Formated stream input operator
- Parameters:
-
- Returns:
- std::istream &
The documentation for this class was generated from the following files: