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 (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.hxx37 行定义.

构造及析构函数说明

◆ Bmp() [1/10]

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

在文件 Bmp.hxx115 行定义.

116 {
117 xwbmpop_assign(mData, other.mData, TNum);
118 }
xwbmp_t mData[(((TNum)+(8U *sizeof(xwbmp_t)) - 1U)/(8U *sizeof(xwbmp_t)))]
Definition Bmp.hxx:112
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.hxx119 行定义.

120 {
121 xwbmpop_assign(mData, other.mData, TNum);
122 }
函数调用图:

◆ Bmp() [3/10]

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

在文件 Bmp.hxx123 行定义.

124 {
125 xwbmpop_c0all(mData, TNum);
126 }
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 ( xwu8_t  x[],
xwsz_t  sz 
)
inline

在文件 Bmp.hxx127 行定义.

128 {
129 xwbmpop_c0all(mData, TNum);
130 if (sz < sizeof(mData)) {
131 memcpy(mData, x, sz);
132 } else {
133 memcpy(mData, x, sizeof(mData));
134 }
135 }
函数调用图:

◆ Bmp() [5/10]

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

在文件 Bmp.hxx136 行定义.

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

◆ Bmp() [6/10]

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

在文件 Bmp.hxx145 行定义.

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

◆ Bmp() [7/10]

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

在文件 Bmp.hxx154 行定义.

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

◆ Bmp() [8/10]

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

在文件 Bmp.hxx163 行定义.

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

◆ Bmp() [9/10]

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

在文件 Bmp.hxx172 行定义.

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

◆ Bmp() [10/10]

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

在文件 Bmp.hxx181 行定义.

182 {
183 xwbmpop_c0all(mData, TNum);
184 if (sizeof(x) < sizeof(mData)) {
185 memcpy(mData, &x, sizeof(x));
186 } else {
187 memcpy(mData, &x, sizeof(mData));
188 }
189 }
函数调用图:

◆ ~Bmp()

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

在文件 Bmp.hxx190 行定义.

191 {
192 }

成员函数说明

◆ set() [1/4]

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

在文件 Bmp.hxx193 行定义.

194 {
195 xwbmpop_s1all(mData, TNum);
196 }
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.hxx197 行定义.

198 {
199 if ((xwsq_t)pos < TNum) {
200 xwbmpop_s1i(mData, pos);
201 }
202 }
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.hxx203 行定义.

204 {
205 xwbmpop_s1m(mData, msk->mData, TNum);
206 }
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.hxx207 行定义.

208 {
209 xwbmpop_s1m(mData, msk.mData, TNum);
210 }
函数调用图:

◆ clear() [1/4]

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

在文件 Bmp.hxx211 行定义.

212 {
213 xwbmpop_c0all(mData, TNum);
214 }
函数调用图:
这是这个函数的调用关系图:

◆ clear() [2/4]

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

在文件 Bmp.hxx215 行定义.

216 {
217 if ((xwsq_t)pos < TNum) {
218 xwbmpop_c0i(mData, pos);
219 }
220 }
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.hxx221 行定义.

222 {
223 xwbmpop_c0m(mData, msk->mData, TNum);
224 }
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.hxx225 行定义.

226 {
227 xwbmpop_c0m(mData, msk.mData, TNum);
228 }
函数调用图:

◆ flip() [1/4]

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

在文件 Bmp.hxx229 行定义.

230 {
231 xwbmpop_not(mData, TNum);
232 }
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.hxx233 行定义.

234 {
235 if ((xwsq_t)pos < TNum) {
236 xwbmpop_x1i(mData, pos);
237 }
238 }
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.hxx239 行定义.

240 {
241 xwbmpop_x1m(mData, msk->mData, TNum);
242 }
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.hxx243 行定义.

244 {
245 xwbmpop_x1m(mData, msk.mData, TNum);
246 }
函数调用图:

◆ ffs()

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

在文件 Bmp.hxx247 行定义.

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

◆ fls()

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

在文件 Bmp.hxx251 行定义.

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

◆ ffz()

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

在文件 Bmp.hxx255 行定义.

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

◆ flz()

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

在文件 Bmp.hxx259 行定义.

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

◆ weight()

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

在文件 Bmp.hxx263 行定义.

264 {
265 return xwbmpop_weight(mData, TNum);
266 }
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.hxx268 行定义.

269 {
270 return xwbmpop_t1ma(mData);
271 }
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.hxx272 行定义.

273 {
274 return xwbmpop_t1mo(mData);
275 }
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.hxx276 行定义.

277 {
278 return xwbmpop_t0ma(mData);
279 }
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.hxx281 行定义.

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

◆ operator=() [2/2]

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

在文件 Bmp.hxx288 行定义.

289 {
290 if (this != &other) {
291 xwbmpop_assign(mData, other.mData, TNum);
292 }
293 return *this;
294 }
函数调用图:

◆ operator&() [1/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 }
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.hxx301 行定义.

302 {
303 Bmp tmp(*this);
304 xwbmpop_and(tmp.mData, other.mData, TNum);
305 return tmp;
306 }
函数调用图:

◆ operator|() [1/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 }
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.hxx313 行定义.

314 {
315 Bmp tmp(*this);
316 xwbmpop_or(tmp.mData, other.mData, TNum);
317 return tmp;
318 }
函数调用图:

◆ operator^() [1/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 }
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.hxx325 行定义.

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

◆ operator&=() [1/2]

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

在文件 Bmp.hxx331 行定义.

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

◆ operator&=() [2/2]

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

在文件 Bmp.hxx336 行定义.

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

◆ operator|=() [1/2]

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

在文件 Bmp.hxx341 行定义.

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

◆ operator|=() [2/2]

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

在文件 Bmp.hxx346 行定义.

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

◆ operator^=() [1/2]

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

在文件 Bmp.hxx351 行定义.

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

◆ operator^=() [2/2]

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

在文件 Bmp.hxx356 行定义.

357 {
358 xwbmpop_xor(mData, other.mData, TNum);
359 return *this;
360 }
函数调用图:

◆ operator~()

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

在文件 Bmp.hxx361 行定义.

362 {
363 xwbmpop_not(mData, TNum);
364 return *this;
365 }
函数调用图:

◆ operator==() [1/2]

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

在文件 Bmp.hxx366 行定义.

367 {
368 return (0 == xwbmpop_cmp(mData, other.mData, TNum));
369 }
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.hxx370 行定义.

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

◆ operator!=() [1/2]

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

在文件 Bmp.hxx374 行定义.

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

◆ operator!=() [2/2]

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

在文件 Bmp.hxx378 行定义.

379 {
380 return (0 != xwbmpop_cmp(mData, other.mData, TNum));
381 }
函数调用图:

◆ operator>() [1/2]

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

在文件 Bmp.hxx382 行定义.

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

◆ operator>() [2/2]

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

在文件 Bmp.hxx386 行定义.

387 {
388 return (xwbmpop_cmp(mData, other.mData, TNum) > 0);
389 }
函数调用图:

◆ operator<() [1/2]

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

在文件 Bmp.hxx390 行定义.

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

◆ operator<() [2/2]

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

在文件 Bmp.hxx394 行定义.

395 {
396 return (xwbmpop_cmp(mData, other.mData, TNum) < 0);
397 }
函数调用图:

◆ operator>=() [1/2]

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

在文件 Bmp.hxx398 行定义.

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

◆ operator>=() [2/2]

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

在文件 Bmp.hxx402 行定义.

403 {
404 return (xwbmpop_cmp(mData, other.mData, TNum) >= 0);
405 }
函数调用图:

◆ operator<=() [1/2]

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

在文件 Bmp.hxx406 行定义.

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

◆ operator<=() [2/2]

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

在文件 Bmp.hxx410 行定义.

411 {
412 return (xwbmpop_cmp(mData, other.mData, TNum) <= 0);
413 }
函数调用图:

◆ operator bool()

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

在文件 Bmp.hxx414 行定义.

415 {
416 return any();
417 }
bool any()
Definition Bmp.hxx:272
函数调用图:

◆ operator[]()

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

在文件 Bmp.hxx418 行定义.

419 {
420 return Bit(this, pos);
421 }

结构体成员变量说明

◆ mData

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

在文件 Bmp.hxx112 行定义.


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