COOPY » Guide
version 0.6.5
|
Description of a difference between rows. More...
#include <Patcher.h>
Public Types | |
typedef std::map< std::string, coopy::store::SheetCell > | txt2cell |
typedef std::map< std::string, bool > | txt2bool |
Public Member Functions | |
RowChange () | |
RowChange (const RowChange &alt) | |
const RowChange & | operator= (const RowChange &alt) |
bool | rowsKnown () const |
std::string | modeString () const |
void | show () |
Data Fields | |
int | mode |
txt2cell | cond |
txt2cell | val |
txt2cell | conflictingVal |
txt2cell | conflictingParentVal |
std::vector< std::string > | names |
std::vector< std::string > | allNames |
txt2bool | indexes |
bool | sequential |
bool | conflicted |
int | pRow |
int | lRow |
int | rRow |
typedef std::map<std::string,bool> coopy::cmp::RowChange::txt2bool |
typedef std::map<std::string,coopy::store::SheetCell> coopy::cmp::RowChange::txt2cell |
coopy::cmp::RowChange::RowChange | ( | ) | [inline] |
Definition at line 201 of file Patcher.h.
References conflicted, lRow, mode, pRow, coopy::cmp::ROW_CHANGE_NONE, rRow, and sequential.
coopy::cmp::RowChange::RowChange | ( | const RowChange & | alt | ) | [inline] |
std::string coopy::cmp::RowChange::modeString | ( | ) | const [inline] |
Definition at line 221 of file Patcher.h.
References mode, coopy::cmp::ROW_CHANGE_CONTEXT, coopy::cmp::ROW_CHANGE_DELETE, coopy::cmp::ROW_CHANGE_INSERT, coopy::cmp::ROW_CHANGE_MOVE, coopy::cmp::ROW_CHANGE_NONE, and coopy::cmp::ROW_CHANGE_UPDATE.
Referenced by coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputRowOps::changeRow(), and coopy::cmp::MergeOutputCsvDiffV0p2::changeRow().
bool coopy::cmp::RowChange::rowsKnown | ( | ) | const [inline] |
void RowChange::show | ( | ) |
Definition at line 247 of file Patcher.cpp.
References coopy::cmp::MergeOutputVerboseDiff::changeRow().
Referenced by coopy::cmp::SheetPatcher::changeRow().
std::vector<std::string> coopy::cmp::RowChange::allNames |
Definition at line 194 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputRowOps::changeRow(), coopy::cmp::MergeOutputFilter::changeRow(), coopy::cmp::BookCompare::create(), coopy::cmp::Merger::merge(), and coopy::cmp::BookCompare::resolve().
Definition at line 189 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputTdiff::changeRow(), coopy::cmp::MergeOutputRowOps::changeRow(), coopy::cmp::MergeOutputHumanDiff::changeRow(), coopy::cmp::MergeOutputCsvDiff::changeRow(), coopy::cmp::MergeOutputSqlDiff::getText(), coopy::cmp::Merger::mergeRow(), coopy::cmp::BookCompare::resolve(), coopy::cmp::MergeOutputCsvDiffV0p2::selectRow(), coopy::cmp::MergeOutputTdiff::updateRow(), and coopy::cmp::MergeOutputCsvDiff::updateRow().
Definition at line 197 of file Patcher.h.
Referenced by coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputFilter::emitRow(), coopy::cmp::SheetPatcher::markChanges(), coopy::cmp::Merger::mergeRow(), RowChange(), and coopy::cmp::MergeOutputTdiff::updateRow().
Definition at line 192 of file Patcher.h.
Referenced by coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputFilter::emitRow(), coopy::cmp::Merger::mergeRow(), and coopy::cmp::MergeOutputTdiff::updateRow().
Definition at line 191 of file Patcher.h.
Referenced by coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputFilter::emitRow(), coopy::cmp::Merger::mergeRow(), and coopy::cmp::MergeOutputTdiff::updateRow().
Definition at line 195 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputTdiff::changeRow(), coopy::cmp::MergeOutputCsvDiff::changeRow(), coopy::cmp::Merger::merge(), and coopy::cmp::BookCompare::resolve().
Definition at line 199 of file Patcher.h.
Referenced by coopy::cmp::MergeOutputEditList::changeRow(), coopy::cmp::Merger::mergeRow(), and RowChange().
Definition at line 188 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputTdiff::changeRow(), coopy::cmp::MergeOutputStats::changeRow(), coopy::cmp::MergeOutputSqlDiff::changeRow(), coopy::cmp::MergeOutputHumanDiff::changeRow(), coopy::cmp::MergeOutputFilter::changeRow(), coopy::cmp::MergeOutputEditList::changeRow(), coopy::cmp::MergeOutputCsvDiffV0p2::changeRow(), coopy::cmp::MergeOutputCsvDiff::changeRow(), coopy::cmp::BookCompare::create(), coopy::cmp::MergeOutputFilter::mergeAllDone(), coopy::cmp::Merger::mergeRow(), modeString(), coopy::cmp::BookCompare::resolve(), and RowChange().
std::vector<std::string> coopy::cmp::RowChange::names |
Definition at line 193 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputTdiff::changeRow(), coopy::cmp::MergeOutputHumanDiff::changeRow(), coopy::cmp::MergeOutputCsvDiff::changeRow(), coopy::cmp::BookCompare::create(), coopy::cmp::MergeOutputCsvDiffV0p2::describeRow(), coopy::cmp::Merger::mergeRow(), coopy::cmp::MergeOutputTdiff::operateRow(), coopy::cmp::MergeOutputCsvDiff::operateRow(), coopy::cmp::BookCompare::resolve(), coopy::cmp::MergeOutputCsvDiffV0p2::selectRow(), coopy::cmp::MergeOutputTdiff::updateRow(), and coopy::cmp::MergeOutputCsvDiff::updateRow().
Definition at line 199 of file Patcher.h.
Referenced by coopy::cmp::Merger::mergeRow(), RowChange(), and rowsKnown().
Definition at line 199 of file Patcher.h.
Referenced by coopy::cmp::Merger::mergeRow(), and RowChange().
Definition at line 196 of file Patcher.h.
Referenced by coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), and RowChange().
Definition at line 190 of file Patcher.h.
Referenced by coopy::cmp::SqlCompare::apply(), coopy::cmp::PatchParser::applyHiliteBook(), coopy::store::remotesql::RemoteSqlSheet::applyRowCache(), coopy::cmp::SheetPatcher::changeRow(), coopy::cmp::MergeOutputVerboseDiff::changeRow(), coopy::cmp::MergeOutputTdiff::changeRow(), coopy::cmp::MergeOutputRowOps::changeRow(), coopy::cmp::MergeOutputHumanDiff::changeRow(), coopy::cmp::MergeOutputEditList::changeRow(), coopy::cmp::MergeOutputCsvDiff::changeRow(), coopy::cmp::BookCompare::create(), coopy::cmp::MergeOutputCsvDiffV0p2::describeRow(), coopy::cmp::MergeOutputFilter::emitRow(), coopy::cmp::MergeOutputSqlDiff::getText(), coopy::cmp::MergeOutputFilter::mergeAllDone(), coopy::cmp::Merger::mergeRow(), coopy::cmp::BookCompare::resolve(), coopy::cmp::MergeOutputTdiff::updateRow(), and coopy::cmp::MergeOutputCsvDiff::updateRow().