COOPY » Guide  version 0.6.5
Public Member Functions | Static Public Attributes
coopy::store::SheetStyle Class Reference

#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

Detailed Description

Definition at line 14 of file SheetStyle.h.


Constructor & Destructor Documentation

coopy::store::SheetStyle::SheetStyle ( ) [inline]

Definition at line 25 of file SheetStyle.h.


Member Function Documentation

std::string coopy::store::SheetStyle::getDelimiter ( ) const [inline]
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)
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().


Field Documentation

Definition at line 99 of file SheetStyle.h.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines