Changeset 4feee0a in git
- Timestamp:
- Jul 16, 2009, 9:58:46 AM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 40f856763215f79e7dbf5992da04ba55904357b1
- Parents:
- 0179d569cebe4081f964479a71818cd5d80626ee
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/F5cData.cc
r0179d5 r4feee0a 35 35 36 36 // constructor / destructor of class Label 37 Label::Label( unsignedint* expVec) {37 Label::Label(int* expVec) { 38 38 m_pExpVec = expVec; 39 39 m_nShortExpVec = computeShortExpVec(m_pExpVec); … … 46 46 47 47 48 // GETTER of class Label49 unsigned int* Label::getExpVec() {50 return m_pExpVec;51 }52 53 unsigned long Label::getShortExpVec() {54 return m_nShortExpVec;55 }56 57 58 // SETTER of class Label59 60 48 61 49 // MISC of class Label 62 unsigned long Label::computeShortExpVec( unsignedint* expVec) {50 unsigned long Label::computeShortExpVec(int* expVec) { 63 51 //if (p == NULL) return 0; 64 52 unsigned long ev = 0; // short exponent vector … … 102 90 } 103 91 104 unsigned long Label::getBitFields( unsignedint e, unsigned int s, unsigned int n) {92 unsigned long Label::getBitFields(int e, unsigned int s, unsigned int n) { 105 93 #define Sy_bit_L(x) (((unsigned long)1L)<<(x)) 106 94 unsigned int i = 0; -
kernel/F5cData.h
r0179d5 r4feee0a 46 46 class Label { 47 47 private: 48 unsignedint* m_pExpVec;48 int* m_pExpVec; 49 49 unsigned long m_nShortExpVec; 50 50 public: … … 54 54 * \brief Constructor of an object of class \c Label 55 55 */ 56 Label( unsignedint* expVec);56 Label(int* expVec); 57 57 /*! 58 58 * \fn ~Label(); … … 65 65 * \brief Getter of the \c integer vector at the address \c m_pExpVec 66 66 */ 67 inline unsignedint* getExpVec();67 inline int* getExpVec(); 68 68 /*! 69 69 * \fn static inline long getShortExpVec(); … … 83 83 * polys as input data. 84 84 */ 85 inline unsigned long computeShortExpVec(unsignedint* expVec);85 unsigned long computeShortExpVec(int* expVec); 86 86 /*! 87 87 * \fn static inline unsigned long getBitFields(int e, unsigned int s, … … 101 101 * polys as input data. 102 102 */ 103 inline unsigned long getBitFields(unsignedint e, unsigned int s, unsigned int n);103 unsigned long getBitFields(int e, unsigned int s, unsigned int n); 104 104 }; // end Label 105 105 … … 143 143 144 144 }; // end LPoly 145 146 147 // ---INLINE IMPLEMENTATIONS OF LABEL--- 148 149 // GETTER of class Label 150 int* Label::getExpVec() { 151 return m_pExpVec; 152 } 153 154 unsigned long Label::getShortExpVec() { 155 return m_nShortExpVec; 156 } 157 158 159 // SETTER of class Label 160 161 // ---END LABEL IMPLEMENTATIONS--- 162 145 163 #endif 146 164 // HAVE_F5C
Note: See TracChangeset
for help on using the changeset viewer.