| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <rbitmap.h>
Public Member Functions | |
| BitMap () | |
| BitMap (u_long Size, u_long BitsPerEntry=1) | |
| ~BitMap () | |
| void | Set (u_long Which, u_long Value=1) |
| void | Clear (u_long Which) |
| u_long | Get (u_long Which) |
| size_t | Size (void) |
| void | Log (ostream &os) |
| void | DBPrint () |
Static Public Member Functions | |
| u_long | FindBPE (u_long) |
| size_t | EstimateSize (u_long Size, u_long BitsPerEntry) |
Private Member Functions | |
| u_long * | GetWordAddress (u_long Which) |
| u_long | GetBitMask (u_long Which) |
| short | GetShiftCount (u_long Which) |
| void | Validate (u_long Which) |
Private Attributes | |
| u_long | m_Size |
| u_long | m_BPE |
| u_long | m_Words |
| short | m_EPW |
| u_long * | m_pM |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|