|
COOPY » Guide
version 0.6.5
|
#include <stdio.h>#include <coopy/Options.h>#include <coopy/CsvSheet.h>#include <coopy/CsvWrite.h>#include <coopy/Coopy.h>#include <coopy/MergeOutputFilter.h>#include <coopy/PatchParser.h>#include <coopy/SheetPatcher.h>#include <coopy/PoolImpl.h>#include <coopy/Stringer.h>#include <coopy/CoopyVersion.h>#include <algorithm>#include <getopt.h>Go to the source code of this file.
Defines | |
| #define | QUOTED_BASE(x) # x |
| #define | QUOTED_VERSION(x) QUOTED_BASE(x) |
Functions | |
| static void | addSpaces (int n) |
| static void | wrapCode (const string &code, int off) |
| static void | wrapText (const string &desc, int w, int tot) |
| static void | generateNumbers (CsvSheet &csv, bool buggy, bool addy, bool conflict) |
| static bool | generateExample (const string &name) |
| #define QUOTED_BASE | ( | x | ) | # x |
Definition at line 23 of file Options.cpp.
| #define QUOTED_VERSION | ( | x | ) | QUOTED_BASE(x) |
Definition at line 24 of file Options.cpp.
Referenced by coopy::app::Options::getVersion().
| static void addSpaces | ( | int | n | ) | [static] |
Definition at line 68 of file Options.cpp.
Referenced by wrapText().
| static bool generateExample | ( | const string & | name | ) | [static] |
Definition at line 660 of file Options.cpp.
References coopy::cmp::PatchParser::apply(), coopy::store::PolyBook::attach(), coopy::cmp::Patcher::attachBook(), coopy::cmp::CompareFlags::clean_sheets, coopy::app::Coopy::compare(), coopy::cmp::CompareFlags::create_unknown_sheets, coopy::store::PolyBook::flush(), generateNumbers(), coopy::cmp::CompareFlags::pool, coopy::cmp::Patcher::setFlags(), coopy::cmp::SheetPatcher::setFlags(), coopy::app::Coopy::setOutput(), coopy::store::PolyBook::take(), and coopy::store::PolyBook::write().
Referenced by coopy::app::Options::apply().
| static void generateNumbers | ( | CsvSheet & | csv, |
| bool | buggy, | ||
| bool | addy, | ||
| bool | conflict | ||
| ) | [static] |
Definition at line 612 of file Options.cpp.
References coopy::store::CsvSheet::addField(), coopy::store::CsvSheet::addRecord(), coopy::store::CsvSheet::cellString(), coopy::store::EscapedTypedSheet< T >::deleteRow(), coopy::store::RowRef::getIndex(), and coopy::store::EscapedTypedSheet< T >::insertRow().
Referenced by generateExample().
| static void wrapCode | ( | const string & | code, |
| int | off | ||
| ) | [static] |
Definition at line 74 of file Options.cpp.
References replace().
| static void wrapText | ( | const string & | desc, |
| int | w, | ||
| int | tot | ||
| ) | [static] |
Definition at line 83 of file Options.cpp.
References addSpaces().
1.7.4