RagTime5SpreadsheetInternal::Sheet::Row Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Friends | List of all members
RagTime5SpreadsheetInternal::Sheet::Row Struct Reference

a row: a list of cell map More...

## Public Member Functions
| Row (MWAWVec2i const &row, int plane)
| constructor More...
MWAWVec2i const & | getRows () const
| returns the rows More...
bool | isEmpty () const
| returns true if the row is empty More...
void | splitColumns (MWAWVec2i const &cols)
| split columns if needed, so that we can insert cells correspond to the cols interval More...
void | update (MWAWVec2i const &cols, int id, int contentId, MWAWVec2i const &beginCellPos, std::set< MWAWVec2i > &unsetCell)
| update the cells content type More...
void | resetMinRow (int row)
| reset each row's cell position to new row position More...

## Public Attributes
MWAWVec2i | m_rows
| the rows (min-max) More...
std::map< MWAWVec2i, CellContent > | m_columnsToDataMap
| the map columns to data More...

## Friends
std::ostream & | operator<< (std::ostream &o, Row const &row)

## Detailed Description

a row: a list of cell map

## Constructor & Destructor Documentation

RagTime5SpreadsheetInternal::Sheet::Row::Row | ( | MWAWVec2i const & | row,
|  | int | plane
| ) |  |
| inline

constructor

## Member Function Documentation

MWAWVec2i const& RagTime5SpreadsheetInternal::Sheet::Row::getRows | ( |  | ) | const
| inline

returns the rows

bool RagTime5SpreadsheetInternal::Sheet::Row::isEmpty | ( |  | ) | const
| inline

returns true if the row is empty

void RagTime5SpreadsheetInternal::Sheet::Row::resetMinRow | ( | int | row | ) |
| inline

reset each row's cell position to new row position

Referenced by RagTime5SpreadsheetInternal::Sheet::Plane::splitRows().

void RagTime5SpreadsheetInternal::Sheet::Row::splitColumns | ( | MWAWVec2i const & | cols | ) |
| inline

split columns if needed, so that we can insert cells correspond to the cols interval

void RagTime5SpreadsheetInternal::Sheet::Row::update | ( | MWAWVec2i const & | cols,
|  | int | id,
|  | int | contentId,
|  | MWAWVec2i const & | beginCellPos,
|  | std::set< MWAWVec2i > & | unsetCell
| ) |  |
| inline

update the cells content type

## Friends And Related Function Documentation

std::ostream& operator<< | ( | std::ostream & | o,
|  | Row const & | row
| ) |  |
| friend

## Member Data Documentation

std::map<MWAWVec2i, CellContent> RagTime5SpreadsheetInternal::Sheet::Row::m_columnsToDataMap

the map columns to data

Referenced by RagTime5Spreadsheet::send(), and RagTime5SpreadsheetInternal::Sheet::Plane::update().

MWAWVec2i RagTime5SpreadsheetInternal::Sheet::Row::m_rows

the rows (min-max)

Referenced by RagTime5SpreadsheetInternal::Sheet::Plane::splitRows().

The documentation for this struct was generated from the following file:

- RagTime5Spreadsheet.cxx