XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
xwos::Bmp< TNum > 模板类 参考

#include <Bmp.hxx>

结构体

class  Bit
 

Public 成员函数

 Bmp (const Bmp &other)
 
 Bmp (const Bmp &&other)
 
 Bmp ()
 
 Bmp (const xwu8_t x[], xwsz_t sz)
 
 Bmp (unsigned long long x)
 
 Bmp (unsigned long x)
 
 Bmp (unsigned int x)
 
 Bmp (long long x)
 
 Bmp (long x)
 
 Bmp (int x)
 
 ~Bmp ()
 
void set ()
 
void set (xwsq_t pos)
 
void set (Bmp< TNum > *msk)
 
void set (Bmp< TNum > &msk)
 
void clear ()
 
void clear (xwsq_t pos)
 
void clear (Bmp< TNum > *msk)
 
void clear (Bmp< TNum > &msk)
 
void flip ()
 
void flip (xwsq_t pos)
 
void flip (Bmp< TNum > *msk)
 
void flip (Bmp< TNum > &msk)
 
xwssq_t ffs ()
 
xwssq_t fls ()
 
xwssq_t ffz ()
 
xwssq_t flz ()
 
xwsz_t weight ()
 
bool all ()
 
bool any ()
 
bool none ()
 
Bmp< TNum > & operator= (const Bmp< TNum > &other)
 
Bmp< TNum > & operator= (const Bmp< TNum > &&other)
 
Bmp< TNum > operator& (const Bmp< TNum > &other)
 
Bmp< TNum > operator& (const Bmp< TNum > &&other)
 
Bmp< TNum > operator| (const Bmp< TNum > &other)
 
Bmp< TNum > operator| (const Bmp< TNum > &&other)
 
Bmp< TNum > operator^ (const Bmp< TNum > &other)
 
Bmp< TNum > operator^ (const Bmp< TNum > &&other)
 
Bmp< TNum > & operator&= (const Bmp< TNum > &other)
 
Bmp< TNum > & operator&= (const Bmp< TNum > &&other)
 
Bmp< TNum > & operator|= (const Bmp< TNum > &other)
 
Bmp< TNum > & operator|= (const Bmp< TNum > &&other)
 
Bmp< TNum > & operator^= (const Bmp< TNum > &other)
 
Bmp< TNum > & operator^= (const Bmp< TNum > &&other)
 
Bmp< TNum > & operator~ ()
 
bool operator== (const Bmp< TNum > &other)
 
bool operator== (const Bmp< TNum > &&other)
 
bool operator!= (const Bmp< TNum > &other)
 
bool operator!= (const Bmp< TNum > &&other)
 
bool operator> (const Bmp< TNum > &other)
 
bool operator> (const Bmp< TNum > &&other)
 
bool operator< (const Bmp< TNum > &other)
 
bool operator< (const Bmp< TNum > &&other)
 
bool operator>= (const Bmp< TNum > &other)
 
bool operator>= (const Bmp< TNum > &&other)
 
bool operator<= (const Bmp< TNum > &other)
 
bool operator<= (const Bmp< TNum > &&other)
 
 operator bool ()
 
Bit operator[] (xwsq_t pos)
 

成员变量

xwbmp_t mData [(((TNum)+(8U *sizeof(xwbmp_t)) - 1U)/(8U *sizeof(xwbmp_t)))]
 

详细描述

template<xwsz_t TNum>
class xwos::Bmp< TNum >

在文件 Bmp.hxx31 行定义.

构造及析构函数说明

◆ Bmp() [1/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx109 行定义.

110 {
111 xwbmpop_assign(mData, other.mData, TNum);
112 }
xwbmp_t mData[(((TNum)+(8U *sizeof(xwbmp_t)) - 1U)/(8U *sizeof(xwbmp_t)))]
Definition Bmp.hxx:106
void xwbmpop_assign(xwbmp_t *bmp, const xwbmp_t opd[], xwsz_t num)
赋值操作数到位图
Definition xwbop.c:614
函数调用图:

◆ Bmp() [2/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx113 行定义.

114 {
115 xwbmpop_assign(mData, other.mData, TNum);
116 }
函数调用图:

◆ Bmp() [3/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( )
inline

在文件 Bmp.hxx117 行定义.

118 {
119 xwbmpop_c0all(mData, TNum);
120 }
void xwbmpop_c0all(xwbmp_t *bmp, xwsq_t num)
将位图中所有位清0
Definition xwbop.c:658
函数调用图:

◆ Bmp() [4/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( const xwu8_t  x[],
xwsz_t  sz 
)
inline

在文件 Bmp.hxx121 行定义.

122 {
123 xwbmpop_c0all(mData, TNum);
124 if (sz < sizeof(mData)) {
125 memcpy(mData, x, sz);
126 } else {
127 memcpy(mData, x, sizeof(mData));
128 }
129 }
函数调用图:

◆ Bmp() [5/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( unsigned long long  x)
inline

在文件 Bmp.hxx130 行定义.

131 {
132 xwbmpop_c0all(mData, TNum);
133 if (sizeof(x) < sizeof(mData)) {
134 memcpy(mData, &x, sizeof(x));
135 } else {
136 memcpy(mData, &x, sizeof(mData));
137 }
138 }
函数调用图:

◆ Bmp() [6/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( unsigned long  x)
inline

在文件 Bmp.hxx139 行定义.

140 {
141 xwbmpop_c0all(mData, TNum);
142 if (sizeof(x) < sizeof(mData)) {
143 memcpy(mData, &x, sizeof(x));
144 } else {
145 memcpy(mData, &x, sizeof(mData));
146 }
147 }
函数调用图:

◆ Bmp() [7/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( unsigned int  x)
inline

在文件 Bmp.hxx148 行定义.

149 {
150 xwbmpop_c0all(mData, TNum);
151 if (sizeof(x) < sizeof(mData)) {
152 memcpy(mData, &x, sizeof(x));
153 } else {
154 memcpy(mData, &x, sizeof(mData));
155 }
156 }
函数调用图:

◆ Bmp() [8/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( long long  x)
inline

在文件 Bmp.hxx157 行定义.

158 {
159 xwbmpop_c0all(mData, TNum);
160 if (sizeof(x) < sizeof(mData)) {
161 memcpy(mData, &x, sizeof(x));
162 } else {
163 memcpy(mData, &x, sizeof(mData));
164 }
165 }
函数调用图:

◆ Bmp() [9/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( long  x)
inline

在文件 Bmp.hxx166 行定义.

167 {
168 xwbmpop_c0all(mData, TNum);
169 if (sizeof(x) < sizeof(mData)) {
170 memcpy(mData, &x, sizeof(x));
171 } else {
172 memcpy(mData, &x, sizeof(mData));
173 }
174 }
函数调用图:

◆ Bmp() [10/10]

template<xwsz_t TNum>
xwos::Bmp< TNum >::Bmp ( int  x)
inline

在文件 Bmp.hxx175 行定义.

176 {
177 xwbmpop_c0all(mData, TNum);
178 if (sizeof(x) < sizeof(mData)) {
179 memcpy(mData, &x, sizeof(x));
180 } else {
181 memcpy(mData, &x, sizeof(mData));
182 }
183 }
函数调用图:

◆ ~Bmp()

template<xwsz_t TNum>
xwos::Bmp< TNum >::~Bmp ( )
inline

在文件 Bmp.hxx184 行定义.

185 {
186 }

成员函数说明

◆ set() [1/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::set ( )
inline

在文件 Bmp.hxx187 行定义.

188 {
189 xwbmpop_s1all(mData, TNum);
190 }
void xwbmpop_s1all(xwbmp_t *bmp, xwsq_t num)
将位图中所有位置1
Definition xwbop.c:647
函数调用图:
这是这个函数的调用关系图:

◆ set() [2/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::set ( xwsq_t  pos)
inline

在文件 Bmp.hxx191 行定义.

192 {
193 if ((xwsq_t)pos < TNum) {
194 xwbmpop_s1i(mData, pos);
195 }
196 }
unsigned long xwsq_t
Definition type.h:445
void xwbmpop_s1i(xwbmp_t *bmp, xwsq_t n)
将位图中单个位置1
函数调用图:

◆ set() [3/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::set ( Bmp< TNum > *  msk)
inline

在文件 Bmp.hxx197 行定义.

198 {
199 xwbmpop_s1m(mData, msk->mData, TNum);
200 }
void xwbmpop_s1m(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
将位图中掩码部分置1
Definition xwbop.c:678
函数调用图:

◆ set() [4/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::set ( Bmp< TNum > &  msk)
inline

在文件 Bmp.hxx201 行定义.

202 {
203 xwbmpop_s1m(mData, msk.mData, TNum);
204 }
函数调用图:

◆ clear() [1/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::clear ( )
inline

在文件 Bmp.hxx205 行定义.

206 {
207 xwbmpop_c0all(mData, TNum);
208 }
函数调用图:
这是这个函数的调用关系图:

◆ clear() [2/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::clear ( xwsq_t  pos)
inline

在文件 Bmp.hxx209 行定义.

210 {
211 if ((xwsq_t)pos < TNum) {
212 xwbmpop_c0i(mData, pos);
213 }
214 }
void xwbmpop_c0i(xwbmp_t *bmp, xwsq_t n)
将位图中单个位清0
函数调用图:

◆ clear() [3/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::clear ( Bmp< TNum > *  msk)
inline

在文件 Bmp.hxx215 行定义.

216 {
217 xwbmpop_c0m(mData, msk->mData, TNum);
218 }
void xwbmpop_c0m(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
将位图中掩码部分清0
Definition xwbop.c:699
函数调用图:

◆ clear() [4/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::clear ( Bmp< TNum > &  msk)
inline

在文件 Bmp.hxx219 行定义.

220 {
221 xwbmpop_c0m(mData, msk.mData, TNum);
222 }
函数调用图:

◆ flip() [1/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::flip ( )
inline

在文件 Bmp.hxx223 行定义.

224 {
225 xwbmpop_not(mData, TNum);
226 }
void xwbmpop_not(xwbmp_t *bmp, xwsz_t num)
将位图按位取反
Definition xwbop.c:910
函数调用图:
这是这个函数的调用关系图:

◆ flip() [2/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::flip ( xwsq_t  pos)
inline

在文件 Bmp.hxx227 行定义.

228 {
229 if ((xwsq_t)pos < TNum) {
230 xwbmpop_x1i(mData, pos);
231 }
232 }
void xwbmpop_x1i(xwbmp_t *bmp, xwsq_t n)
将位图中单个位翻转
函数调用图:

◆ flip() [3/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::flip ( Bmp< TNum > *  msk)
inline

在文件 Bmp.hxx233 行定义.

234 {
235 xwbmpop_x1m(mData, msk->mData, TNum);
236 }
void xwbmpop_x1m(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
将位图中掩码部分翻转
Definition xwbop.c:720
函数调用图:

◆ flip() [4/4]

template<xwsz_t TNum>
void xwos::Bmp< TNum >::flip ( Bmp< TNum > &  msk)
inline

在文件 Bmp.hxx237 行定义.

238 {
239 xwbmpop_x1m(mData, msk.mData, TNum);
240 }
函数调用图:

◆ ffs()

template<xwsz_t TNum>
xwssq_t xwos::Bmp< TNum >::ffs ( )
inline

在文件 Bmp.hxx241 行定义.

242 {
243 return xwbmpop_ffs(mData, TNum);
244 }
xwssq_t xwbmpop_ffs(xwbmp_t *bmp, xwsz_t num)
在位图中从最低位起查找第一个被置1的位
函数调用图:

◆ fls()

template<xwsz_t TNum>
xwssq_t xwos::Bmp< TNum >::fls ( )
inline

在文件 Bmp.hxx245 行定义.

246 {
247 return xwbmpop_fls(mData, TNum);
248 }
xwssq_t xwbmpop_fls(xwbmp_t *bmp, xwsz_t num)
在位图中从最高位起查找第一个被置1的位
函数调用图:

◆ ffz()

template<xwsz_t TNum>
xwssq_t xwos::Bmp< TNum >::ffz ( )
inline

在文件 Bmp.hxx249 行定义.

250 {
251 return xwbmpop_ffz(mData, TNum);
252 }
xwssq_t xwbmpop_ffz(xwbmp_t *bmp, xwsz_t num)
在位图中从最低位起查找第一个被清0的位
函数调用图:

◆ flz()

template<xwsz_t TNum>
xwssq_t xwos::Bmp< TNum >::flz ( )
inline

在文件 Bmp.hxx253 行定义.

254 {
255 return xwbmpop_flz(mData, TNum);
256 }
xwssq_t xwbmpop_flz(xwbmp_t *bmp, xwsz_t num)
在位图中从最高位起查找第一个被清0的位
函数调用图:

◆ weight()

template<xwsz_t TNum>
xwsz_t xwos::Bmp< TNum >::weight ( )
inline

在文件 Bmp.hxx257 行定义.

258 {
259 return xwbmpop_weight(mData, TNum);
260 }
xwsz_t xwbmpop_weight(xwbmp_t *bmp, xwsz_t num)
在位图中统计被置1的位的个数
Definition xwbop.c:1068
函数调用图:

◆ all()

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::all ( )
inline

在文件 Bmp.hxx262 行定义.

263 {
264 return xwbmpop_t1ma(mData);
265 }
bool xwbmpop_t1ma(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
测试位图中掩码部分是否全部为1
Definition xwbop.c:746
函数调用图:

◆ any()

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::any ( )
inline

在文件 Bmp.hxx266 行定义.

267 {
268 return xwbmpop_t1mo(mData);
269 }
bool xwbmpop_t1mo(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
测试位图中掩码部分是否至少有一位为1
Definition xwbop.c:787
函数调用图:
这是这个函数的调用关系图:

◆ none()

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::none ( )
inline

在文件 Bmp.hxx270 行定义.

271 {
272 return xwbmpop_t0ma(mData);
273 }
bool xwbmpop_t0ma(xwbmp_t *bmp, const xwbmp_t msk[], xwsz_t num)
测试位图中掩码部分是否全部为0
Definition xwbop.c:828
函数调用图:

◆ operator=() [1/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx275 行定义.

276 {
277 if (this != &other) {
278 xwbmpop_assign(mData, other.mData, TNum);
279 }
280 return *this;
281 }
函数调用图:

◆ operator=() [2/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx282 行定义.

283 {
284 if (this != &other) {
285 xwbmpop_assign(mData, other.mData, TNum);
286 }
287 return *this;
288 }
函数调用图:

◆ operator&() [1/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator& ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx289 行定义.

290 {
291 Bmp tmp(*this);
292 xwbmpop_and(tmp.mData, other.mData, TNum);
293 return tmp;
294 }
void xwbmpop_and(xwbmp_t *bmp, const xwbmp_t opd[], xwsz_t num)
将位图与操作数进行逐位“与”运算
Definition xwbop.c:922
函数调用图:

◆ operator&() [2/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator& ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx295 行定义.

296 {
297 Bmp tmp(*this);
298 xwbmpop_and(tmp.mData, other.mData, TNum);
299 return tmp;
300 }
函数调用图:

◆ operator|() [1/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator| ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx301 行定义.

302 {
303 Bmp tmp(*this);
304 xwbmpop_or(tmp.mData, other.mData, TNum);
305 return tmp;
306 }
void xwbmpop_or(xwbmp_t *bmp, const xwbmp_t opd[], xwsz_t num)
将位图与操作数进行逐位“或”运算
Definition xwbop.c:934
函数调用图:

◆ operator|() [2/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator| ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx307 行定义.

308 {
309 Bmp tmp(*this);
310 xwbmpop_or(tmp.mData, other.mData, TNum);
311 return tmp;
312 }
函数调用图:

◆ operator^() [1/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator^ ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx313 行定义.

314 {
315 Bmp tmp(*this);
316 xwbmpop_xor(tmp.mData, other.mData, TNum);
317 return tmp;
318 }
void xwbmpop_xor(xwbmp_t *bmp, const xwbmp_t opd[], xwsz_t num)
将位图与操作数进行逐位“异或”运算
Definition xwbop.c:946
函数调用图:

◆ operator^() [2/2]

template<xwsz_t TNum>
Bmp< TNum > xwos::Bmp< TNum >::operator^ ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx319 行定义.

320 {
321 Bmp tmp(*this);
322 xwbmpop_xor(tmp.mData, other.mData, TNum);
323 return tmp;
324 }
函数调用图:

◆ operator&=() [1/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator&= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx325 行定义.

326 {
327 xwbmpop_and(mData, other.mData, TNum);
328 return *this;
329 }
函数调用图:

◆ operator&=() [2/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator&= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx330 行定义.

331 {
332 xwbmpop_and(mData, other.mData, TNum);
333 return *this;
334 }
函数调用图:

◆ operator|=() [1/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator|= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx335 行定义.

336 {
337 xwbmpop_or(mData, other.mData, TNum);
338 return *this;
339 }
函数调用图:

◆ operator|=() [2/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator|= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx340 行定义.

341 {
342 xwbmpop_or(mData, other.mData, TNum);
343 return *this;
344 }
函数调用图:

◆ operator^=() [1/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator^= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx345 行定义.

346 {
347 xwbmpop_xor(mData, other.mData, TNum);
348 return *this;
349 }
函数调用图:

◆ operator^=() [2/2]

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator^= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx350 行定义.

351 {
352 xwbmpop_xor(mData, other.mData, TNum);
353 return *this;
354 }
函数调用图:

◆ operator~()

template<xwsz_t TNum>
Bmp< TNum > & xwos::Bmp< TNum >::operator~ ( )
inline

在文件 Bmp.hxx355 行定义.

356 {
357 xwbmpop_not(mData, TNum);
358 return *this;
359 }
函数调用图:

◆ operator==() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator== ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx360 行定义.

361 {
362 return (0 == xwbmpop_cmp(mData, other.mData, TNum));
363 }
xwssq_t xwbmpop_cmp(xwbmp_t *bmp, const xwbmp_t opd[], xwsz_t num)
从数组最高元素开始比较两个位图的数值大小
Definition xwbop.c:625
函数调用图:

◆ operator==() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator== ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx364 行定义.

365 {
366 return (0 == xwbmpop_cmp(mData, other.mData, TNum));
367 }
函数调用图:

◆ operator!=() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator!= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx368 行定义.

369 {
370 return (0 != xwbmpop_cmp(mData, other.mData, TNum));
371 }
函数调用图:

◆ operator!=() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator!= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx372 行定义.

373 {
374 return (0 != xwbmpop_cmp(mData, other.mData, TNum));
375 }
函数调用图:

◆ operator>() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator> ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx376 行定义.

377 {
378 return (xwbmpop_cmp(mData, other.mData, TNum) > 0);
379 }
函数调用图:

◆ operator>() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator> ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx380 行定义.

381 {
382 return (xwbmpop_cmp(mData, other.mData, TNum) > 0);
383 }
函数调用图:

◆ operator<() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator< ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx384 行定义.

385 {
386 return (xwbmpop_cmp(mData, other.mData, TNum) < 0);
387 }
函数调用图:

◆ operator<() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator< ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx388 行定义.

389 {
390 return (xwbmpop_cmp(mData, other.mData, TNum) < 0);
391 }
函数调用图:

◆ operator>=() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator>= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx392 行定义.

393 {
394 return (xwbmpop_cmp(mData, other.mData, TNum) >= 0);
395 }
函数调用图:

◆ operator>=() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator>= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx396 行定义.

397 {
398 return (xwbmpop_cmp(mData, other.mData, TNum) >= 0);
399 }
函数调用图:

◆ operator<=() [1/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator<= ( const Bmp< TNum > &  other)
inline

在文件 Bmp.hxx400 行定义.

401 {
402 return (xwbmpop_cmp(mData, other.mData, TNum) <= 0);
403 }
函数调用图:

◆ operator<=() [2/2]

template<xwsz_t TNum>
bool xwos::Bmp< TNum >::operator<= ( const Bmp< TNum > &&  other)
inline

在文件 Bmp.hxx404 行定义.

405 {
406 return (xwbmpop_cmp(mData, other.mData, TNum) <= 0);
407 }
函数调用图:

◆ operator bool()

template<xwsz_t TNum>
xwos::Bmp< TNum >::operator bool ( )
inlineexplicit

在文件 Bmp.hxx408 行定义.

409 {
410 return any();
411 }
bool any()
Definition Bmp.hxx:266
函数调用图:

◆ operator[]()

template<xwsz_t TNum>
Bit xwos::Bmp< TNum >::operator[] ( xwsq_t  pos)
inline

在文件 Bmp.hxx412 行定义.

413 {
414 return Bit(this, pos);
415 }

结构体成员变量说明

◆ mData

template<xwsz_t TNum>
xwbmp_t xwos::Bmp< TNum >::mData[(((TNum)+( 8U *sizeof(xwbmp_t)) - 1U)/( 8U *sizeof(xwbmp_t)))]

在文件 Bmp.hxx106 行定义.


该类的文档由以下文件生成: