COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_MERGEOUTPUTHUMANDIFF 00002 #define COOPY_MERGEOUTPUTHUMANDIFF 00003 00004 #include <coopy/MergeOutput.h> 00005 00006 #include <string> 00007 00008 namespace coopy { 00009 namespace cmp { 00010 class MergeOutputHumanDiff; 00011 } 00012 } 00013 00014 class coopy::cmp::MergeOutputHumanDiff : public MergeOutput { 00015 private: 00016 std::string sheet_name; 00017 std::string pending_message; 00018 bool showed_initial_columns; 00019 00020 void checkMessage(); 00021 public: 00022 MergeOutputHumanDiff(); 00023 00024 virtual bool wantDiff() { return true; } 00025 virtual bool changeColumn(const OrderChange& change); 00026 virtual bool changeRow(const RowChange& change); 00027 00028 virtual bool mergeStart(); 00029 virtual bool mergeDone(); 00030 00031 virtual bool setSheet(const char *name) { 00032 sheet_name = name; 00033 return true; 00034 } 00035 00036 virtual bool declareNames(const std::vector<std::string>& names, bool final); 00037 00038 }; 00039 00040 #endif