| 1 | /*************************************************************************** |
| 2 | cmotfile.h - header file for cmotfile.cxx. |
| 3 | ------------------- |
| 4 | begin : Wed Sep 25 18:58:35 BST 2002 |
| 5 | copyright : (C) 2002 by Greg Reynolds, Jim Hawkridge |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | #include <stdio.h> |
| 18 | #include <stdlib.h> |
| 19 | #include <assert.h> |
| 20 | |
| 21 | #include "cpage.h"cxx . . $ `<file>/cpage.h`/ |
| 22 | |
| 23 | class CMOTFilecxx . . $ CMOTFile# { |
| 24 | |
| 25 | public: |
| 26 | CMOTFilecxx . . $ CMOTFile#CMOTFile(49f6e7a06ebc5aa8).(); |
| 27 | ~cxx . . $ CMOTFile#`~CMOTFile`(ced63f7c635d850d).CMOTFilecxx . . $ CMOTFile#(); |
| 28 | |
| 29 | int readFilecxx . . $ CMOTFile#readFile(cb7559238bb26814).(const char* pszFilename, int nPageSize); |
| 30 | |
| 31 | inline CPagecxx . . $ CPage#* getFirstPagecxx . . $ CMOTFile#getFirstPage(b1c0934cbb896107).(); |
| 32 | |
| 33 | protected: |
| 34 | |
| 35 | int processFilecxx . . $ CMOTFile#processFile(7864480464b09eea).(int nPageSize); |
| 36 | CPagecxx . . $ CPage#* getPageToAddresscxx . . $ CMOTFile#getPageToAddress(a3f4b00e51c04876).(int nPageSize, long lAddress); |
| 37 | |
| 38 | FILE* m_fpcxx . . $ CMOTFile#m_fp.; |
| 39 | CPagecxx . . $ CPage#* m_pHeadcxx . . $ CMOTFile#m_pHead.; |
| 40 | CPagecxx . . $ CPage#* m_pTailcxx . . $ CMOTFile#m_pTail.; |
| 41 | |
| 42 | }; |
| 43 | |
| 44 | inline CPagecxx . . $ CPage#* CMOTFilecxx . . $ CMOTFile#::getFirstPagecxx . . $ CMOTFile#getFirstPage(b1c0934cbb896107).() |
| 45 | { |
| 46 | return m_pHeadcxx . . $ CMOTFile#m_pHead.; |
| 47 | } |
| 48 |