COOPY » Guide
version 0.6.5
|
#include <SheetCell.h>
Public Member Functions | |
SheetCell () | |
SheetCell (const char *text, bool escaped) | |
SheetCell (const std::string &text, bool escaped) | |
SheetCell (int x) | |
bool | operator== (const SheetCell &alt) const |
bool | operator!= (const SheetCell &alt) const |
std::string | toString () const |
int | asInt () const |
Static Public Member Functions | |
static SheetCell | makeInt (int x) |
Data Fields | |
std::string | text |
bool | escaped |
Poly< SheetCellMeta > | meta |
Definition at line 50 of file SheetCell.h.
coopy::store::SheetCell::SheetCell | ( | ) | [inline] |
coopy::store::SheetCell::SheetCell | ( | const char * | text, |
bool | escaped | ||
) | [inline] |
Definition at line 60 of file SheetCell.h.
coopy::store::SheetCell::SheetCell | ( | const std::string & | text, |
bool | escaped | ||
) | [inline] |
Definition at line 63 of file SheetCell.h.
SheetCell::SheetCell | ( | int | x | ) |
Definition at line 8 of file SheetCell.cpp.
int SheetCell::asInt | ( | ) | const |
Definition at line 22 of file SheetCell.cpp.
Referenced by cellToJson(), coopy::store::CacheSheetRow::getRowAfterFlush(), and coopy::store::OrderedSheetRow::invent().
SheetCell SheetCell::makeInt | ( | int | x | ) | [static] |
Definition at line 15 of file SheetCell.cpp.
References SheetCell().
bool coopy::store::SheetCell::operator!= | ( | const SheetCell & | alt | ) | const [inline] |
Definition at line 74 of file SheetCell.h.
bool coopy::store::SheetCell::operator== | ( | const SheetCell & | alt | ) | const [inline] |
Definition at line 69 of file SheetCell.h.
std::string coopy::store::SheetCell::toString | ( | ) | const [inline] |
Definition at line 79 of file SheetCell.h.
References escaped, coopy::store::Poly< T >::isValid(), meta, and text.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::SheetPatcher::changeRow(), encodeKey(), coopy::store::TextBook::equals(), coopy::store::PoolImpl::load(), coopy::store::PoolSlice::lookup(), coopy::store::PoolSlice::lookupMod(), main(), coopy::cmp::SheetPatcher::markChanges(), coopy::cmp::Merger::mergeRow(), coopy::store::PoolSlice::put(), and stringify().
Definition at line 53 of file SheetCell.h.
Referenced by coopy::store::CsvSheet::addField(), coopy::cmp::PatchParser::applyHiliteBook(), asInt(), coopy::store::gnumeric::GnumericSheet::cellString(), coopy::fold::FoldedSheet::cellString(), coopy::store::gnumeric::GnumericSheet::cellSummary(), coopy::store::DataSheet::cellSummary(), celly(), checkAllowed(), colorEncode(), compare_string(), coopy::store::DataSheet::encodeCell(), coopy::cmp::DataStat::evaluate2(), coopy::fold::FoldTool::fold(), coopy::store::DataSheet::getHash(), coopy::store::CacheSheetRow::getRowAfterFlush(), looseCompare(), coopy::cmp::SheetPatcher::markChanges(), coopy::cmp::Merger::mergeRow(), null_like(), operator!=(), operator==(), SheetCell(), stringy(), toString(), and writePart().
Definition at line 54 of file SheetCell.h.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary(), looseCompareUrl(), and toString().
std::string coopy::store::SheetCell::text |
Definition at line 52 of file SheetCell.h.
Referenced by coopy::store::CsvSheet::addField(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::store::sqlite::SqliteSheet::applyRowCache(), asInt(), coopy::store::gnumeric::GnumericSheet::cellString(), coopy::fold::FoldedSheet::cellString(), coopy::store::gnumeric::GnumericSheet::cellSummary(), coopy::store::DataSheet::cellSummary(), cellToJson(), celly(), checkAllowed(), colorEncode(), compare_string(), cond(), coopy::store::DataSheet::encodeCell(), encoder(), coopy::fold::FoldTool::fold(), coopy::store::DataSheet::getHash(), looseCompare(), looseCompareUrl(), coopy::cmp::SheetPatcher::markChanges(), coopy::cmp::Merger::mergeRow(), null_like(), operator!=(), operator==(), SheetCell(), stringy(), and toString().