|
COOPY » Guide
version 0.6.5
|
#include <SheetStyle.h>
Public Member Functions | |
| SheetStyle () | |
| bool | setFromFilename (const char *fname) |
| void | setFromInspection (const char *buffer, int len) |
| void | setFromProperty (const Property &config) |
| std::string | getDelimiter () const |
| void | setDelimiter (const std::string &delim) |
| std::string | getEol () const |
| void | setEol (const std::string &eol) |
| std::string | getNullToken () const |
| bool | haveNullToken () const |
| bool | quoteCollidingText () const |
| bool | shouldTrimEnd () const |
| bool | shouldMarkHeader () const |
| bool | shouldEolAtEof () const |
| void | setMarkHeader (bool flag) |
| bool | setEolAtEof (bool flag) |
Static Public Attributes | |
| static const SheetStyle | defaultStyle |
Definition at line 14 of file SheetStyle.h.
| coopy::store::SheetStyle::SheetStyle | ( | ) | [inline] |
Definition at line 25 of file SheetStyle.h.
| std::string coopy::store::SheetStyle::getDelimiter | ( | ) | const [inline] |
Definition at line 50 of file SheetStyle.h.
Referenced by blob_to_csv(), coopy::store::DataSheet::encode(), and coopy::store::DataSheet::encodeCell().
| std::string coopy::store::SheetStyle::getEol | ( | ) | const [inline] |
Definition at line 58 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encode().
| std::string coopy::store::SheetStyle::getNullToken | ( | ) | const [inline] |
Definition at line 66 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encodeCell().
| bool coopy::store::SheetStyle::haveNullToken | ( | ) | const [inline] |
Definition at line 70 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encodeCell().
| bool coopy::store::SheetStyle::quoteCollidingText | ( | ) | const [inline] |
Definition at line 74 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encodeCell().
| void coopy::store::SheetStyle::setDelimiter | ( | const std::string & | delim | ) | [inline] |
Definition at line 54 of file SheetStyle.h.
| void coopy::store::SheetStyle::setEol | ( | const std::string & | eol | ) | [inline] |
Definition at line 62 of file SheetStyle.h.
Referenced by coopy::fold::FoldedSheet::cellSummary().
| bool coopy::store::SheetStyle::setEolAtEof | ( | bool | flag | ) | [inline] |
Definition at line 94 of file SheetStyle.h.
Referenced by coopy::fold::FoldedSheet::cellSummary().
| bool SheetStyle::setFromFilename | ( | const char * | fname | ) |
Definition at line 13 of file SheetStyle.cpp.
Referenced by write().
| void SheetStyle::setFromInspection | ( | const char * | buffer, |
| int | len | ||
| ) |
Definition at line 94 of file SheetStyle.cpp.
References SEPARATOR_COUNT.
| void SheetStyle::setFromProperty | ( | const Property & | config | ) |
Definition at line 40 of file SheetStyle.cpp.
References coopy::store::Value::asInt(), coopy::store::Value::asString(), coopy::store::Property::check(), and coopy::store::Property::get().
Referenced by write().
| void coopy::store::SheetStyle::setMarkHeader | ( | bool | flag | ) | [inline] |
Definition at line 90 of file SheetStyle.h.
Referenced by write().
| bool coopy::store::SheetStyle::shouldEolAtEof | ( | ) | const [inline] |
Definition at line 86 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encode().
| bool coopy::store::SheetStyle::shouldMarkHeader | ( | ) | const [inline] |
Definition at line 82 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encode().
| bool coopy::store::SheetStyle::shouldTrimEnd | ( | ) | const [inline] |
Definition at line 78 of file SheetStyle.h.
Referenced by coopy::store::DataSheet::encodeCell().
const SheetStyle SheetStyle::defaultStyle [static] |
Definition at line 99 of file SheetStyle.h.
1.7.4