#include <diff_tool.h>
Public Types | |
| typedef std::vector< ucstring > | TRow |
| typedef std::vector< TRow > | TData |
Public Member Functions | |
| TWorksheet () | |
| std::vector< TRow >::iterator | begin () |
| std::vector< TRow >::iterator | end () |
| std::vector< TRow >::const_iterator | begin () const |
| std::vector< TRow >::const_iterator | end () const |
| void | push_back (const TRow &row) |
| std::vector< TRow >::iterator | insert (std::vector< TRow >::iterator pos, const TRow &value) |
| std::vector< TRow >::iterator | erase (std::vector< TRow >::iterator it) |
| TRow & | back () |
| TRow & | operator[] (uint index) |
| const TRow & | operator[] (uint index) const |
| uint | size () const |
| void | insertColumn (uint colIndex) |
| void | copyColumn (uint srcColIndex, uint dstColIndex) |
| void | eraseColumn (uint colIndex) |
| void | moveColumn (uint oldColIndex, uint newColIndex) |
| void | setColCount (uint count) |
| bool | findId (uint &colIndex) |
| bool | findCol (ucstring colName, uint &colIndex) |
| void | insertRow (uint rowIndex, const TRow &row) |
| void | resize (uint numRows) |
| bool | findRow (uint colIndex, const ucstring &colValue, uint &rowIndex) |
| void | setData (uint rowIndex, uint colIndex, const ucstring &value) |
| const ucstring & | getData (uint rowIndex, uint colIndex) const |
| void | setData (uint rowIndex, const ucstring &colName, const ucstring &value) |
| const ucstring & | getData (uint rowIndex, const ucstring &colName) const |
Public Attributes | |
| TData | Data |
| uint | ColCount |
Definition at line 90 of file diff_tool.h.
| typedef std::vector<TRow> STRING_MANAGER::TWorksheet::TData |
Definition at line 93 of file diff_tool.h.
| typedef std::vector<ucstring> STRING_MANAGER::TWorksheet::TRow |
Definition at line 92 of file diff_tool.h.
| STRING_MANAGER::TWorksheet::TWorksheet | ( | ) | [inline] |
Definition at line 97 of file diff_tool.h.
| TRow& STRING_MANAGER::TWorksheet::back | ( | ) | [inline] |
Definition at line 137 of file diff_tool.h.
References Data.
| std::vector<TRow>::const_iterator STRING_MANAGER::TWorksheet::begin | ( | void | ) | const [inline] |
Definition at line 112 of file diff_tool.h.
References Data.
| std::vector<TRow>::iterator STRING_MANAGER::TWorksheet::begin | ( | void | ) | [inline] |
Definition at line 102 of file diff_tool.h.
References Data.
Referenced by eraseColumn(), findCol(), findId(), getData(), NLMISC::CWordsDictionary::init(), insertColumn(), and setData().
Definition at line 169 of file diff_tool.h.
References ColCount, Data, and nlassert.
Referenced by moveColumn().
| std::vector<TRow>::const_iterator STRING_MANAGER::TWorksheet::end | ( | void | ) | const [inline] |
Definition at line 117 of file diff_tool.h.
References Data.
| std::vector<TRow>::iterator STRING_MANAGER::TWorksheet::end | ( | void | ) | [inline] |
Definition at line 107 of file diff_tool.h.
References Data.
Referenced by findCol(), getData(), NLMISC::CWordsDictionary::init(), and setData().
| std::vector<TRow>::iterator STRING_MANAGER::TWorksheet::erase | ( | std::vector< TRow >::iterator | it | ) | [inline] |
Definition at line 132 of file diff_tool.h.
References Data.
| void STRING_MANAGER::TWorksheet::eraseColumn | ( | uint | colIndex | ) | [inline] |
Definition at line 180 of file diff_tool.h.
References begin(), ColCount, Data, and nlassertex.
Referenced by moveColumn().
Definition at line 247 of file diff_tool.h.
References begin(), Data, and end().
Referenced by NLMISC::CWordsDictionary::init().
Definition at line 226 of file diff_tool.h.
Referenced by NLMISC::CWordsDictionary::init().
| bool STRING_MANAGER::TWorksheet::findRow | ( | uint | colIndex, | |
| const ucstring & | colValue, | |||
| uint & | rowIndex | |||
| ) | [inline] |
Definition at line 277 of file diff_tool.h.
References ColCount, Data, and nlassertex.
| const ucstring& STRING_MANAGER::TWorksheet::getData | ( | uint | rowIndex, | |
| const ucstring & | colName | |||
| ) | const [inline] |
Definition at line 320 of file diff_tool.h.
References begin(), Data, end(), nlassertex, and ucstring::toString().
Definition at line 303 of file diff_tool.h.
References ColCount, Data, and nlassertex.
Referenced by STRING_MANAGER::TGetWorksheetHashValue::operator()(), STRING_MANAGER::TGetWorksheetIdentifier::operator()(), and STRING_MANAGER::readExcelSheet().
| std::vector<TRow>::iterator STRING_MANAGER::TWorksheet::insert | ( | std::vector< TRow >::iterator | pos, | |
| const TRow & | value | |||
| ) | [inline] |
Definition at line 127 of file diff_tool.h.
References Data.
| void STRING_MANAGER::TWorksheet::insertColumn | ( | uint | colIndex | ) | [inline] |
Definition at line 157 of file diff_tool.h.
References begin(), ColCount, Data, and nlassert.
Referenced by STRING_MANAGER::makeHashCode(), moveColumn(), and STRING_MANAGER::readExcelSheet().
Definition at line 259 of file diff_tool.h.
References ColCount, Data, and nlassertex.
Definition at line 192 of file diff_tool.h.
References ColCount, copyColumn(), eraseColumn(), insertColumn(), and nlassert.
Definition at line 147 of file diff_tool.h.
References Data.
Definition at line 142 of file diff_tool.h.
References Data.
| void STRING_MANAGER::TWorksheet::push_back | ( | const TRow & | row | ) | [inline] |
Definition at line 122 of file diff_tool.h.
References Data.
| void STRING_MANAGER::TWorksheet::resize | ( | uint | numRows | ) | [inline] |
Definition at line 268 of file diff_tool.h.
References ColCount, and Data.
Referenced by STRING_MANAGER::readExcelSheet(), and setColCount().
| void STRING_MANAGER::TWorksheet::setColCount | ( | uint | count | ) | [inline] |
Definition at line 216 of file diff_tool.h.
| void STRING_MANAGER::TWorksheet::setData | ( | uint | rowIndex, | |
| const ucstring & | colName, | |||
| const ucstring & | value | |||
| ) | [inline] |
Definition at line 311 of file diff_tool.h.
References begin(), Data, end(), nlassertex, and ucstring::toString().
| void STRING_MANAGER::TWorksheet::setData | ( | uint | rowIndex, | |
| uint | colIndex, | |||
| const ucstring & | value | |||
| ) | [inline] |
Definition at line 295 of file diff_tool.h.
References ColCount, Data, and nlassertex.
Referenced by STRING_MANAGER::readExcelSheet().
| uint STRING_MANAGER::TWorksheet::size | ( | ) | const [inline] |
Definition at line 152 of file diff_tool.h.
References Data.
Referenced by STRING_MANAGER::readExcelSheet().
Definition at line 95 of file diff_tool.h.
Referenced by copyColumn(), eraseColumn(), findRow(), getData(), insertColumn(), insertRow(), STRING_MANAGER::makeHashCode(), moveColumn(), STRING_MANAGER::readExcelSheet(), resize(), setColCount(), and setData().
Definition at line 94 of file diff_tool.h.
Referenced by back(), begin(), copyColumn(), end(), erase(), eraseColumn(), findCol(), findId(), findRow(), getData(), insert(), insertColumn(), insertRow(), STRING_MANAGER::makeHashCode(), operator[](), STRING_MANAGER::prepareExcelSheet(), push_back(), resize(), setColCount(), setData(), and size().
1.6.1