VHISTlib
1.84.0.3018
|
00001 /* $HEADERS 00002 $Id: summary.h 2792 2013-05-06 11:25:27Z michael $ 00003 */ 00004 00005 #ifndef SUMMARY_INCLUDED 00006 #define SUMMARY_INCLUDED 00007 00008 #include "../shared/misc_defines.h" 00009 00010 #include <QString> 00011 #include <QStringList> 00012 #include <QList> 00013 #include <QHash> 00014 00015 namespace vhist 00016 { 00017 00018 typedef QHash<QString, QString> UserAttributes; 00019 typedef QHash<QString, QString> UserAttributeUnits; 00020 typedef QStringList UserAttributeOrder; 00021 00025 struct VHIST_EXTERN FileSummary 00026 { 00027 FileSummary(); 00028 00032 int tagID; 00034 QString filename; 00037 QString filepath; 00040 QString filetype; 00042 QString description; 00044 QString comment; 00046 QString lastModified; 00048 bool generateMD5; 00050 bool embedded; 00052 bool preview; 00054 bool previewWS; 00056 bool thumbnail; 00058 bool thumbnailOnly; 00060 int uncompressedSize; 00062 QString uncompressedMD5; 00066 QString compressedMethod; 00068 int compressedSize; 00070 QString compressedMD5; 00072 UserAttributes userAttrs; 00074 UserAttributeUnits userAttrUnits; 00077 UserAttributeOrder userAttrOrder; 00080 QString filePurpose; 00083 bool unmatchedTag; 00084 }; 00085 00086 00090 struct VHIST_EXTERN Workflowstep 00091 { 00092 Workflowstep(); 00093 00097 int tagID; 00099 QString vhistRootFile; 00101 QString timestamp; 00103 QString title; 00105 QString description; 00107 QString comment; 00109 QString command; 00111 QString tool; 00113 QString toolPath; 00116 QString host; 00118 QString user; 00120 QString creator; 00122 QString pdfTitle; 00124 QString pdfAuthor; 00126 QString pdfSubject; 00128 QString pdfKeywords; 00130 QString pdfProducer; 00132 QString pdfCreator; 00134 QList<FileSummary> files; 00136 UserAttributes userAttrs; 00138 UserAttributeUnits userAttrUnits; 00141 UserAttributeOrder userAttrOrder; 00142 }; 00143 00144 00148 struct VHIST_EXTERN Summary 00149 { 00150 Summary(); 00151 00153 Workflowstep step; 00155 QString md5; 00157 bool summaryOK; 00158 }; 00159 00160 00165 typedef QList<Summary> Summaries; 00166 00167 00168 } // namespace 00169 00170 #endif // SUMMARY_INCLUDED 00171