Debian Codegraph @

cpage.h

raw symbols SCIP
1 /***************************************************************************
2 cpage.h - header file for cpage.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 <assert.h>
18 #include <string.h>
19 #include <stdlib.h>
20
21 class CPagecxx . . $ CPage# {
22
23 public:
24 CPagecxx . . $ CPage#CPage(d4f767463ce0a6b3).(int nSize);
25 ~cxx . . $ CPage#`~CPage`(49f6e7a06ebc5aa8).CPagecxx . . $ CPage#();
26 void displaycxx . . $ CPage#display(49f6e7a06ebc5aa8).();
27
28
29 inline void setAddresscxx . . $ CPage#setAddress(1624ee8275b10bda).(long lAddress);
30 inline long getAddresscxx . . $ CPage#getAddress(da6335ded91d79c2).();
31 inline long getSizecxx . . $ CPage#getSize(da6335ded91d79c2).();
32 inline void setBytecxx . . $ CPage#setByte(9633529ce3c4ff50).(int nIndex, unsigned char ucVal);
33 inline unsigned char getBytecxx . . $ CPage#getByte(bc0fba5608a0bfe7).(int nIndex);
34 inline void setNextcxx . . $ CPage#setNext(6c8a29529bc7b2bf).(CPagecxx . . $ CPage#* pNext);
35 inline CPagecxx . . $ CPage#* getNextcxx . . $ CPage#getNext(b1c0934cbb896107).();
36 inline unsigned char* getPagecxx . . $ CPage#getPage(37d8967d10cb1e7b).();
37
38 protected:
39 long m_lAddresscxx . . $ CPage#m_lAddress.;
40 int m_nSizecxx . . $ CPage#m_nSize.;
41 unsigned char* m_pDatacxx . . $ CPage#m_pData.;
42
43 CPagecxx . . $ CPage#* m_pNextcxx . . $ CPage#m_pNext.;
44 };
45
46 inline unsigned char* CPagecxx . . $ CPage#::getPagecxx . . $ CPage#getPage(37d8967d10cb1e7b).()
47 {
48 assertcxx . . $ CPage#m_pData.( m_pData );
49 return m_pDatacxx . . $ CPage#m_pData.;
50 }
51
52 inline void CPagecxx . . $ CPage#::setNextcxx . . $ CPage#setNext(6c8a29529bc7b2bf).(CPagecxx . . $ CPage#* pNext)
53 {
54 assertcxx . . $ `<external>/4398592474888995393/assert.h:102:11`!( pNext );
55 m_pNextcxx . . $ CPage#m_pNext. = pNext;
56 }
57
58 inline CPagecxx . . $ CPage#* CPagecxx . . $ CPage#::getNextcxx . . $ CPage#getNext(b1c0934cbb896107).()
59 {
60 return m_pNextcxx . . $ CPage#m_pNext.;
61 }
62
63 inline unsigned char CPagecxx . . $ CPage#::getBytecxx . . $ CPage#getByte(bc0fba5608a0bfe7).(int nIndex)
64 {
65 assertcxx . . $ `/usr/include/assert.h:102:11`!( nIndex < m_nSize );
66 return m_pDatacxx . . $ CPage#m_pData.[nIndex];
67 }
68
69 inline void CPagecxx . . $ CPage#::setBytecxx . . $ CPage#setByte(9633529ce3c4ff50).(int nIndex, unsigned char ucVal)
70 {
71 assertcxx . . $ CPage#m_nSize.( nIndex < m_nSize );
72 m_pDatacxx . . $ CPage#m_pData.[nIndex] = ucVal;
73 }
74
75 inline void CPagecxx . . $ CPage#::setAddresscxx . . $ CPage#setAddress(1624ee8275b10bda).(long lAddress)
76 {
77 assertcxx . . $ `/usr/include/assert.h:102:11`!( lAddress >= 0 );
78 m_lAddresscxx . . $ CPage#m_lAddress. = lAddress;
79 }
80
81 inline long CPagecxx . . $ CPage#::getAddresscxx . . $ CPage#getAddress(da6335ded91d79c2).()
82 {
83 return m_lAddresscxx . . $ CPage#m_lAddress.;
84 }
85
86 inline long CPagecxx . . $ CPage#::getSizecxx . . $ CPage#getSize(da6335ded91d79c2).()
87 {
88 return m_nSizecxx . . $ CPage#m_nSize.;
89 }
90