COOPY » Guide
version 0.6.5
|
#include <FoldTool.h>
Public Member Functions | |
FoldTool () | |
bool | fold (coopy::store::PolyBook &src, coopy::store::PolyBook &dest, FoldOptions &options) |
bool | unfold (coopy::store::PolyBook &src, coopy::store::PolyBook &dest, FoldOptions &options) |
Definition at line 28 of file FoldTool.h.
FoldTool::FoldTool | ( | ) |
Definition at line 312 of file FoldTool.cpp.
bool FoldTool::fold | ( | coopy::store::PolyBook & | src, |
coopy::store::PolyBook & | dest, | ||
FoldOptions & | options | ||
) |
Definition at line 846 of file FoldTool.cpp.
References coopy::store::SimpleSheetSchema::addColumn(), coopy::store::TypedSheet< T >::cell(), coopy::store::PolySheet::cellString(), coopy::store::PolySheet::cellSummary(), COOPY_ASSERT, coopy_get_default_table_name(), coopy::store::PolyBook::copy(), coopy::store::SimpleSheetSchema::copy(), coopy::store::PolySheet::createHeaders(), dbg_printf, coopy::store::PolySheet::deleteColumn(), coopy::fold::FoldOptions::drops, coopy::store::SheetCell::escaped, fold_expander(), coopy::store::SheetSchema::getColumnCount(), coopy::store::SimpleSheetSchema::getColumnCount(), coopy::store::SheetSchema::getColumnInfo(), coopy::store::SimpleSheetSchema::getColumnInfo(), coopy::store::ColumnInfo::getName(), coopy::store::PolyBook::getNames(), coopy::store::PolyBook::getSheetCount(), coopy::store::PolySheet::height(), coopy::store::PolySheet::hideHeaders(), coopy::store::Poly< T >::isValid(), coopy::store::PolySheet::isValid(), coopy::store::SheetSchema::modifyColumn(), NULL, coopy::store::PolyBook::provideSheet(), coopy::store::PolyBook::readSheet(), coopy::store::TextBook::readSheetByIndex(), coopy::fold::FoldOptions::recipe, replace(), coopy::store::PolySheet::resize(), coopy::store::PolySheet::setSchema(), coopy::store::SimpleSheetSchema::setSheetName(), coopy::store::SchemaSniffer::suggestSchema(), coopy::fold::FoldOptions::tableName, coopy::store::PolyBook::take(), coopy::store::SheetCell::text, coopy::store::TypedSheet< T >::width(), and coopy::store::PolySheet::width().
Referenced by main().
bool FoldTool::unfold | ( | coopy::store::PolyBook & | src, |
coopy::store::PolyBook & | dest, | ||
FoldOptions & | options | ||
) |
Definition at line 1128 of file FoldTool.cpp.
References coopy::store::PolySheet::cellString(), coopy::store::PolyBook::copy(), coopy::store::PolyBook::getNames(), coopy::store::PolySheet::height(), coopy::store::PolySheet::insertColumn(), coopy::store::PolySheet::isValid(), coopy::store::PolySheet::modifyColumn(), coopy::store::Property::put(), coopy::store::PolyBook::readSheet(), coopy::store::TextBook::readSheetByIndex(), and coopy::fold::FoldOptions::recipe.
Referenced by main().