summaryrefslogtreecommitdiffstats
path: root/src/ReturnValues.h
diff options
context:
space:
mode:
authorJaromil <[email protected]>2010-05-08 10:49:02 (GMT)
committer Jaromil <[email protected]>2010-05-08 10:49:02 (GMT)
commit39327de8811a022c4cd1f493b036384ab32d016f (patch)
treeee967eb91d3e00ee5d0a74234318add912db7c81 /src/ReturnValues.h
parentfefb2df5186b475fe3fc2659821bc3c4e4ec7ea5 (diff)
build setup with autoconf/automake
Diffstat (limited to 'src/ReturnValues.h')
-rw-r--r--src/ReturnValues.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ReturnValues.h b/src/ReturnValues.h
new file mode 100644
index 0000000..1521fbe
--- a/dev/null
+++ b/src/ReturnValues.h
@@ -0,0 +1,30 @@
+// Class to return to the totals of files and bytes
+// at different levels of each of the subdirectories of the directory in question
+// Each SubDirectory Class has one ReturnSum and an array
+// of ReturnValues the number of subs long
+
+#if !defined(RETURNVALUES_H)
+#define RETURNVALUES_H
+#include "CountFilesSumBytes.h"
+class ReturnValues
+{
+public:ulnglng mlTotal;
+ int miCount;
+ int miSubDir;
+ ulnglng mlSTotal;
+ int miSFiles;
+ int miSSubDir;
+ ulnglng mlSSTotal;
+ int miSSFiles;
+ string msDirname;
+ ReturnValues ();
+ ReturnValues & operator+ (CountFilesSumBytes &);
+ ReturnValues & operator&= (CountFilesSumBytes &);
+ ReturnValues & operator|= (CountFilesSumBytes &);
+ ReturnValues & operator! ();
+ ulnglng operator++ ();
+ int operator~ ();
+};
+
+
+#endif // !defined(RETURNVALUES_H)