Class WikiDocTable

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class WikiDocTable

Summary
Public Methods
WikiDocTable(noRows, noColumns, hasHeaderRow)
inline void clear()
inline bool valid()
inline void resize(newRows, newColumns)
inline void setHeaderRow(header)
inline const string& get(row, column) const
inline const string& get(row, columnName) const
inline const string& set(row, column, value)
inline const string& set(row, columnName, value)
inline int set(row, column, value)
inline int set(row, columnName, value)
inline int getNoRows() const
inline int getNoColumns() const
inline bool hasHeaderRow() const
inline int getHeaderColumn(columnName) const
Private Properties
Private Methods
inline string cellAddress(row, column) const
inline string cellAddress(row, columnName) const
See Also

#include <WikiDocument.h >

Summary

A data structure for creating and managing content in a wiki table.

Public Methods

WikiDocTable(noRows, noColumns, hasHeaderRow)

int noRows

Default value: 0

int noColumns

Default value: 0

bool hasHeaderRow

Default value: true


inline void clear()

inline bool valid()

inline void resize(newRows, newColumns)

int newRows

int newColumns


inline void setHeaderRow(header)

bool header

Default value: true


inline const string& get(row, column) const

int row

int column


rows go from 0 (header row) upward; columns go from 0 upward

inline const string& get(row, columnName) const

int row

const string& columnName


inline const string& set(row, column, value)

int row

int column

const string& value


inline const string& set(row, columnName, value)

int row

const string& columnName

const string& value


inline int set(row, column, value)

int row

int column

int value


inline int set(row, columnName, value)

int row

const string& columnName

int value


inline int getNoRows() const

inline int getNoColumns() const

inline bool hasHeaderRow() const

inline int getHeaderColumn(columnName) const

const string& columnName


Private Properties

bool headerRow0

int rows

int columns

HashArray content


Private Methods

inline string cellAddress(row, column) const

int row

int column


inline string cellAddress(row, columnName) const

int row

const string& columnName


See Also

Class WikiDocument