|
COOPY » Guide
version 0.6.5
|
#include <coopy/PatchParser.h>#include <coopy/CsvFile.h>#include <coopy/Format.h>#include <coopy/Dbg.h>#include <coopy/PolyBook.h>#include <coopy/Mover.h>#include <stdio.h>#include <string.h>#include <string>#include <vector>#include <algorithm>#include <coopy/Stringer.h>Go to the source code of this file.
Defines | |
| #define | WANT_VECTOR2STRING |
Functions | |
| static SheetCell | nully (string x) |
| vector< string > | normalizedMessage (const string &line) |
| string | stringer_encoder (const TDiffPart &part) |
| static bool | checkAllowed (DataSheet &sheet, int i, bool allowed) |
| static string | remap (map< string, string > &m, const string &s) |
| static int | remap (map< int, int > &m, int s) |
| static int | remap (vector< int > &m, int s) |
| static void | shuffle (vector< int > &indexMap, int j, int jj, bool undo) |
| #define WANT_VECTOR2STRING |
Definition at line 16 of file PatchParser.cpp.
| static bool checkAllowed | ( | DataSheet & | sheet, |
| int | i, | ||
| bool | allowed | ||
| ) | [static] |
Definition at line 1249 of file PatchParser.cpp.
References coopy::store::DataSheet::cellSummary(), coopy::store::SheetCell::escaped, coopy::store::DataSheet::height(), and coopy::store::SheetCell::text.
Referenced by coopy::cmp::PatchParser::applyHiliteBook().
| vector<string> normalizedMessage | ( | const string & | line | ) |
Definition at line 628 of file PatchParser.cpp.
References replace().
| static SheetCell nully | ( | string | x | ) | [static] |
Definition at line 251 of file PatchParser.cpp.
Referenced by coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::Nature::compare(), coopy::cmp::Nature::confidence(), coopy::cmp::Nature::evaluate(), and coopy::cmp::Nature::show().
| static int remap | ( | vector< int > & | m, |
| int | s | ||
| ) | [static] |
Definition at line 1286 of file PatchParser.cpp.
| static string remap | ( | map< string, string > & | m, |
| const string & | s | ||
| ) | [static] |
Definition at line 1274 of file PatchParser.cpp.
Referenced by coopy::cmp::PatchParser::applyHiliteBook().
| static int remap | ( | map< int, int > & | m, |
| int | s | ||
| ) | [static] |
Definition at line 1280 of file PatchParser.cpp.
| static void shuffle | ( | vector< int > & | indexMap, |
| int | j, | ||
| int | jj, | ||
| bool | undo | ||
| ) | [static] |
Definition at line 1290 of file PatchParser.cpp.
References dbg_printf.
| string stringer_encoder | ( | const TDiffPart & | part | ) |
Definition at line 944 of file PatchParser.cpp.
1.7.4