SNAP Library , User Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <bits.h>
Public Types | |
typedef uchar | TB1 |
Public Member Functions | |
TB1Def () | |
~TB1Def () | |
TB1Def & | operator= (const TB1Def &) |
Static Public Member Functions | |
static int | GetB1Bits (const TB1 &B1) |
static uint | GetP2 (const int &P2Exp) |
static int | GetL2 (const uchar &Val) |
static bool | GetBit (const int &BitN, const uchar &Val) |
Public Attributes | |
TB1 * | B1P2T |
int * | B1BitsT |
Static Public Attributes | |
static const int | B1Bits = 8 |
static const int | MxP2Exp = TB1Def::B1Bits-1 |
static const TB1 | MxB1 = 0xFF |
static const TB1Def | B1Def |
typedef uchar TB1Def::TB1 |
TB1Def::TB1Def | ( | ) |
TB1Def::~TB1Def | ( | ) | [inline] |
int TB1Def::GetB1Bits | ( | const TB1 & | B1 | ) | [static] |
bool TB1Def::GetBit | ( | const int & | BitN, |
const uchar & | Val | ||
) | [static] |
int TB1Def::GetL2 | ( | const uchar & | Val | ) | [static] |
Definition at line 27 of file bits.cpp.
{ int L2=0; while ((L2<TB1Def::MxP2Exp)&&(Val>=B1Def.B1P2T[L2])){L2++;} return L2-1; }
uint TB1Def::GetP2 | ( | const int & | P2Exp | ) | [static] |
const int TB1Def::B1Bits = 8 [static] |
int* TB1Def::B1BitsT |
const TB1Def TB1Def::B1Def [static] |
const TB1Def::TB1 TB1Def::MxB1 = 0xFF [static] |
const int TB1Def::MxP2Exp = TB1Def::B1Bits-1 [static] |