MFC extension class CBitArray - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The class CBitArray behaves like a specialization of the MFC template class CArray. A real specialization is not possible because of a missing simple data type for a bit.
For maximum efficiency the bits are packed into a dynamic array of unsigned longs. You can easily modify the type of the date containing the bits (see typedef ULONG T in the declaration of CBitArray). CBitArray implements all member functions of the MFC class including the operator function [] (both for l-values and r-values).
CBitArray类的功能有些像 MFC 的模板类 CArray。它还不是很专业,因为少了些对简单数据类型的支持。
为了最大化效率,位数据被封装到一个动态的无符号长整型数组。你可以容易地修改包含位数据的数据类型(参见 CBitArray声明中的typedef ULONG T )。 CBitArray 类实现了 MFC 类的所有功能,包括操作符函数 [] (both for l-values and r-values).
来源: http://www.codeguru.com/cpp_mfc/BitArray.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
BitArrayApp |
 1.0  |
2004-04-14 |
下载 |
|
|