13 for (
int B1N=0; B1N<
MxB1+1; B1N++){
110 const int& FlagN1,
const int& FlagN2,
const int& FlagN3,
111 const int& FlagN4,
const int& FlagN5,
const int& FlagN6,
112 const int& FlagN7,
const int& FlagN8,
const int& FlagN9):
114 if (FlagN1!=-1){
Incl(FlagN1);}
115 if (FlagN2!=-1){
Incl(FlagN2);}
116 if (FlagN3!=-1){
Incl(FlagN3);}
117 if (FlagN4!=-1){
Incl(FlagN4);}
118 if (FlagN5!=-1){
Incl(FlagN5);}
119 if (FlagN6!=-1){
Incl(FlagN6);}
120 if (FlagN7!=-1){
Incl(FlagN7);}
121 if (FlagN8!=-1){
Incl(FlagN8);}
122 if (FlagN9!=-1){
Incl(FlagN9);}
133 for (
int BitN=0; BitN<
Bits; BitN++){
134 if (
In(BitN)){ChA+=
'1';}
else {ChA+=
'0';}}
140 for (
int BitN=0; BitN<
Bits; BitN++){printf(
"%d",
GetBit(BitN));}
150 for (
int BitN=0; BitN<
Bits; BitN++){
151 if (
In(BitN)){ChA+=
'1';}
else {ChA+=
'0';}}
157 for (
int BitN=0; BitN<
Bits; BitN++){printf(
"%d",
GetBit(BitN));}
164 B4s(0), Bits(0), LastB4Mask(0), B4T(NULL){
166 for (
int B4N=0; B4N<
B4s; B4N++){
B4T[B4N]=BSet.
B4T[B4N];}
172 for (
int B4N=0; B4N<
B4s; B4N++){
B4T[B4N]=BSet.
B4T[B4N];}}
178 for (
int B4N=0; B4N<
B4s-1; B4N++){
if (
B4T[B4N]!=BSet.
B4T[B4N]){
return false;}}
183 if (
B4T!=NULL){
delete[]
B4T;}
187 for (
int BitN=
Bits; BitN<B4s*TB4Def::B4Def.
B4Bits; BitN++){
193 for (
int B4N=0; B4N<
B4s; B4N++){
B4T[B4N]=0;}}
196 for (
int B4N=0; B4N<
B4s; B4N++){
B4T[B4N]=TB4Def::B4Def.
MxB4;}}
200 for (
int B4N=0; B4N<
B4s; B4N++){Ones += TB4Def::B4Def.
GetB4Bits(
B4T[B4N]);}
205 for (
int BitN=0; BitN<
Bits; BitN++){printf(
"%d",
GetBit(BitN));}
static uint GetP2(const int &P2Exp)
bool GetBit(const int &BitN) const
void Incl(const int &FlagN)
static int GetL2(const uint &Val)
bool In(const int &BitN) const
static int GetL2(const TB2 &Val)
bool GetBit(const int &BitN) const
static uint GetP2(const int &P2Exp)
static int GetB1Bits(const TB1 &B1)
static bool GetBit(const int &BitN, const uchar &Val)
static int GetL2(const uchar &Val)
bool In(const int &BitN) const
void Gen(const int &_Bits)
bool operator==(const TBSet &BSet) const
static int GetB4Bits(const TB4 &B4)
static const TB4Def B4Def
static const TFSet EmptyFSet
static int GetB2Bits(const TB2 &B2)
bool GetBit(const int &BitN) const
static const TB1Def B1Def
TBSet & operator=(const TBSet &BSet)
static uint GetP2(const int &P2Exp)
static const TB2Def B2Def