pilotDOCHead.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _KPILOT_PILOTDOCHEAD_H
00029 #define _KPILOT_PILOTDOCHEAD_H
00030
00031 #include <pilotAppCategory.h>
00032
00033 class PilotRecord;
00034
00035
00036 class PilotDOCHead:public PilotAppCategory {
00037 private:
00038 static const int textRecordSize;
00039
00040 public:
00041 int version;
00042 int spare;
00043 long int storyLen;
00044 int numRecords;
00045 int recordSize;
00046 long int position;
00047
00048 public:
00049 PilotDOCHead();
00050 PilotDOCHead(PilotRecord * rec);
00051 PilotDOCHead(const PilotDOCHead & e);
00052 ~PilotDOCHead() {
00053 } PilotDOCHead & operator=(const PilotDOCHead & e);
00054
00055 PilotRecord *pack() {
00056 return PilotAppCategory::pack();
00057 }
00058
00059 protected:
00060 void *pack(void *, int *);
00061 void unpack(const void *, int = 0);
00062 };
00063
00064
00065
00066 #endif
00067
This file is part of the documentation for kpilot Library Version 3.2.2.