COOPY » Guide  version 0.6.5
Defines | Functions
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_full/PatchParser.cpp File Reference
#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 Documentation

#define WANT_VECTOR2STRING

Definition at line 16 of file PatchParser.cpp.


Function Documentation

static bool checkAllowed ( DataSheet sheet,
int  i,
bool  allowed 
) [static]
vector<string> normalizedMessage ( const string &  line)

Definition at line 628 of file PatchParser.cpp.

References replace().

static SheetCell nully ( string  x) [static]
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.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines