COOPY » Guide
version 0.6.5
|
#include <coopy/FoldTool.h>
#include <coopy/FoldedSheet.h>
#include <coopy/CsvSheet.h>
#include <coopy/SchemaSniffer.h>
#include <coopy/ShortTextBook.h>
#include <coopy/CsvFile.h>
#include <coopy/IntSheet.h>
#include <vector>
#include <map>
#include <set>
#include <coopy/Stringer.h>
Go to the source code of this file.
Typedefs | |
typedef vector< int > | ints |
Functions | |
void | assertColumn (SimpleSheetSchema *s, int offset, const string &name, const string &orig_name, const FoldFactor &factor) |
static int | fold_expander (const FoldFactor &factor, Folds &folds, FoldCache &cache, FoldedSheet &sheet, FoldSelector &sel, SimpleSheetSchema *schema=NULL, int *ywrap=NULL) |
static void | replace (string &str, const string &old, const string &rep) |
typedef vector<int> ints |
Definition at line 19 of file FoldTool.cpp.
void assertColumn | ( | SimpleSheetSchema * | s, |
int | offset, | ||
const string & | name, | ||
const string & | orig_name, | ||
const FoldFactor & | factor | ||
) |
Definition at line 590 of file FoldTool.cpp.
References coopy::store::SimpleSheetSchema::addColumn(), coopy::store::SimpleSheetSchema::getColumnCount(), coopy::store::SimpleSheetSchema::getColumnInfo(), coopy::store::ColumnInfo::getName(), coopy::store::SimpleSheetSchema::modifyColumn(), and NULL.
Referenced by fold_expander().
static int fold_expander | ( | const FoldFactor & | factor, |
Folds & | folds, | ||
FoldCache & | cache, | ||
FoldedSheet & | sheet, | ||
FoldSelector & | sel, | ||
SimpleSheetSchema * | schema = NULL , |
||
int * | ywrap = NULL |
||
) | [static] |
Definition at line 611 of file FoldTool.cpp.
References assertColumn(), coopy::store::TypedSheet< T >::cell(), COOPY_ASSERT, coopy::fold::FoldedCell::datum, coopy::fold::FoldedCell::getOrCreateSheet(), coopy::store::TypedSheet< T >::height(), coopy::store::TypedSheet< T >::nonDestructiveResize(), NULL, coopy::store::TypedSheet< T >::resize(), stringer_encoder(), and coopy::store::TypedSheet< T >::width().
Referenced by coopy::fold::FoldTool::fold().
static void replace | ( | string & | str, |
const string & | old, | ||
const string & | rep | ||
) | [static] |
Definition at line 837 of file FoldTool.cpp.
Referenced by celly(), coopy::fold::FoldTool::fold(), normalizedMessage(), trim(), and wrapCode().