#endif
/**
+ * @brief Copy constructor.
+ * @param [in] di Object to copy.
+ */
+DIFFITEM::DIFFITEM(const DIFFITEM& di)
+{
+ diffcode = di.diffcode;
+ left = di.left;
+ right = di.right;
+ sLeftFilename = di.sLeftFilename;
+ sRightFilename = di.sRightFilename;
+ sLeftSubdir = di.sLeftSubdir;
+ sRightSubdir = di.sRightSubdir;
+ nsdiffs = di.nsdiffs;
+ nidiffs = di.nidiffs;
+ errorDesc = di.errorDesc;
+ customFlags1 = di.customFlags1;
+ empty = di.empty;
+}
+
+/**
* @brief Assignment operator override.
* @param [in] di Object to copy.
* @return Copy of given object.
{
if (this != &di)
{
+ diffcode = di.diffcode;
left = di.left;
right = di.right;
sLeftFilename = di.sLeftFilename;
static DIFFITEM MakeEmptyDiffItem();
DIFFITEM() : nidiffs(-1), nsdiffs(-1), customFlags1(0), empty(false) { }
+ DIFFITEM(const DIFFITEM& di);
DIFFITEM& operator=(const DIFFITEM& di);
CString getLeftFilepath(const CString &sLeftRoot) const;