VHISTlib  1.84.0.3018
/daten/ahuesgen/projects/vhist/code/vhistlib/include/unvhistlib/tags.h
00001 /* $HEADERS
00002  $Id: tags.h 2792 2013-05-06 11:25:27Z michael $
00003  */
00004 
00005 #ifndef VHISTTAGS_INCLUDED
00006 #define VHISTTAGS_INCLUDED
00007 
00008 #include "../shared/misc_defines.h"
00009 
00010 #include <QString>
00011 #include <QByteArray>
00012 
00013 namespace vhist
00014 {
00015 
00021 struct VHIST_EXTERN FileTag
00022 {
00023     FileTag();
00025     int id;
00027     int position;
00029     int taglen;
00031     QString filetype;
00033     QString filename;
00035     QString description;
00037     QString comment;
00040     QString compression;
00042     int filesize;
00045     int cfilesize;
00048     int blocksize;
00051     int offset;
00053     QString md5file;
00056     QString md5cfile;
00057 };
00058 
00059 
00064 struct VHIST_EXTERN SectionTag
00065 {
00066     SectionTag();
00068     int id;
00070     int position;
00072     int taglen;
00074     QString version;
00076     QString creator;
00078     QString title;
00082     int left;
00084     int size;
00088     int index;
00090     QString md5section;
00092     QString previousmd5;
00095     int previousmarker;
00098     QByteArray validationTag;
00099 };
00100 
00101 
00105 typedef QList<FileTag> FileTagList;
00106 
00110 typedef QList<SectionTag> SectionTagList;
00111 
00115 QString VHIST_EXTERN makeFileHash(const FileTag& f, int sectionID);
00116 
00117 } // namespace
00118 
00119 #endif // VHISTTAGS_INCLUDED
00120 

VHISTlib 1.84.0.3018 of Jun 28 2013, generated by doxygen.