@@ -63,37 +63,37 @@ class BitFlags
6363 kInit = 0
6464 };
6565
66- inline BitFlags ()
66+ BitFlags ()
6767 {
6868 }
6969
70- inline BitFlags (BogusInitType k, Int idx1)
70+ BitFlags (BogusInitType k, Int idx1)
7171 {
7272 m_bits.set (idx1);
7373 }
7474
75- inline BitFlags (BogusInitType k, Int idx1, Int idx2)
75+ BitFlags (BogusInitType k, Int idx1, Int idx2)
7676 {
7777 m_bits.set (idx1);
7878 m_bits.set (idx2);
7979 }
8080
81- inline BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3)
81+ BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3)
8282 {
8383 m_bits.set (idx1);
8484 m_bits.set (idx2);
8585 m_bits.set (idx3);
8686 }
8787
88- inline BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3, Int idx4)
88+ BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3, Int idx4)
8989 {
9090 m_bits.set (idx1);
9191 m_bits.set (idx2);
9292 m_bits.set (idx3);
9393 m_bits.set (idx4);
9494 }
9595
96- inline BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3, Int idx4, Int idx5)
96+ BitFlags (BogusInitType k, Int idx1, Int idx2, Int idx3, Int idx4, Int idx5)
9797 {
9898 m_bits.set (idx1);
9999 m_bits.set (idx2);
@@ -102,7 +102,7 @@ class BitFlags
102102 m_bits.set (idx5);
103103 }
104104
105- inline BitFlags (BogusInitType k,
105+ BitFlags (BogusInitType k,
106106 Int idx1,
107107 Int idx2,
108108 Int idx3,
@@ -131,36 +131,36 @@ class BitFlags
131131 m_bits.set (idx12);
132132 }
133133
134- inline Bool operator ==(const BitFlags& that) const
134+ Bool operator ==(const BitFlags& that) const
135135 {
136136 return this ->m_bits == that.m_bits ;
137137 }
138138
139- inline Bool operator !=(const BitFlags& that) const
139+ Bool operator !=(const BitFlags& that) const
140140 {
141141 return this ->m_bits != that.m_bits ;
142142 }
143143
144- inline void set (Int i, Int val = 1 )
144+ void set (Int i, Int val = 1 )
145145 {
146146 m_bits.set (i, val);
147147 }
148148
149- inline Bool test (Int i) const
149+ Bool test (Int i) const
150150 {
151151 return m_bits.test (i);
152152 }
153153
154154 // Tests for any bits that are set in both.
155- inline Bool testForAny ( const BitFlags& that ) const
155+ Bool testForAny ( const BitFlags& that ) const
156156 {
157157 BitFlags tmp = *this ;
158158 tmp.m_bits &= that.m_bits ;
159159 return tmp.m_bits .any ();
160160 }
161161
162162 // All argument bits must be set in our bits too in order to return TRUE
163- inline Bool testForAll ( const BitFlags& that ) const
163+ Bool testForAll ( const BitFlags& that ) const
164164 {
165165 DEBUG_ASSERTCRASH ( that.any (), (" BitFlags::testForAll is always true if you ask about zero flags. Did you mean that?" ) );
166166
@@ -171,78 +171,78 @@ class BitFlags
171171 }
172172
173173 // None of the argument bits must be set in our bits in order to return TRUE
174- inline Bool testForNone ( const BitFlags& that ) const
174+ Bool testForNone ( const BitFlags& that ) const
175175 {
176176 BitFlags tmp = *this ;
177177 tmp.m_bits &= that.m_bits ;
178178 return !tmp.m_bits .any ();
179179 }
180180
181- inline Int size () const
181+ Int size () const
182182 {
183183 return m_bits.size ();
184184 }
185185
186- inline Int count () const
186+ Int count () const
187187 {
188188 return m_bits.count ();
189189 }
190190
191- inline Bool any () const
191+ Bool any () const
192192 {
193193 return m_bits.any ();
194194 }
195195
196- inline void flip ()
196+ void flip ()
197197 {
198198 m_bits.flip ();
199199 }
200200
201- inline void clear ()
201+ void clear ()
202202 {
203203 m_bits.reset ();
204204 }
205205
206- inline Int countIntersection (const BitFlags& that) const
206+ Int countIntersection (const BitFlags& that) const
207207 {
208208 BitFlags tmp = *this ;
209209 tmp.m_bits &= that.m_bits ;
210210 return tmp.m_bits .count ();
211211 }
212212
213- inline Int countInverseIntersection (const BitFlags& that) const
213+ Int countInverseIntersection (const BitFlags& that) const
214214 {
215215 BitFlags tmp = *this ;
216216 tmp.m_bits .flip ();
217217 tmp.m_bits &= that.m_bits ;
218218 return tmp.m_bits .count ();
219219 }
220220
221- inline Bool anyIntersectionWith (const BitFlags& that) const
221+ Bool anyIntersectionWith (const BitFlags& that) const
222222 {
223223 // / @todo srj -- improve me.
224224 BitFlags tmp = that;
225225 tmp.m_bits &= m_bits;
226226 return tmp.m_bits .any ();
227227 }
228228
229- inline void clear (const BitFlags& clr)
229+ void clear (const BitFlags& clr)
230230 {
231231 m_bits &= ~clr.m_bits ;
232232 }
233233
234- inline void set (const BitFlags& set)
234+ void set (const BitFlags& set)
235235 {
236236 m_bits |= set.m_bits ;
237237 }
238238
239- inline void clearAndSet (const BitFlags& clr, const BitFlags& set)
239+ void clearAndSet (const BitFlags& clr, const BitFlags& set)
240240 {
241241 m_bits &= ~clr.m_bits ;
242242 m_bits |= set.m_bits ;
243243 }
244244
245- inline Bool testSetAndClear (const BitFlags& mustBeSet, const BitFlags& mustBeClear) const
245+ Bool testSetAndClear (const BitFlags& mustBeSet, const BitFlags& mustBeClear) const
246246 {
247247 // / @todo srj -- improve me.
248248 BitFlags tmp = *this ;
0 commit comments