|
Givaro
|
#include <givbits.h>
Public Types | |
| typedef size_t | base |
Public Member Functions | |
| Bits () | |
| Bits (const size_t n) | |
| Bits (const Bits &B) | |
| ~Bits () | |
| const Bits | operator& (const Bits &A) const |
| Bits & | andin (const Bits &A, const Bits B) |
| Bits & | operator&= (const Bits &A) |
| const Bits | operator| (const Bits &A) const |
| Bits & | orin (const Bits &A, const Bits B) |
| Bits & | operator|= (const Bits &A) |
| const Bits | operator^ (const Bits &A) const |
| Bits & | xorin (const Bits &A, const Bits B) |
| Bits & | operator^= (const Bits &A) |
| const Bits | operator~ () const |
| Bits & | notin (const Bits &A) |
| Bits & | copy (const Bits &src) |
| Bits & | operator= (const Bits &B) |
| Bits & | logcopy (const Bits &src) |
| long | numone () const |
| void | indexofone (Array0< Bits::base > &) const |
| size_t | length () const |
| void | clear () |
| void | clear (const int i) |
| void | set () |
| void | set (const int i) |
| int | get (const int i) const |
| int | operator[] (const int i) const |
| int | operator[] (const size_t i) const |
| std::ostream & | print (std::ostream &o) const |
Protected Types | |
| typedef Array0< Bits::base > | Rep |
Protected Member Functions | |
| Bits (const Rep &r) | |
Protected Attributes | |
| Rep | rep |
Friends | |
| class | GivModule |
| typedef size_t base |
typedef Array0<Bits::base> Rep [protected] |
| Bits | ( | ) |
| Bits | ( | const size_t | n | ) |
| ~Bits | ( | ) |
| const Bits operator~ | ( | ) | const |
| long numone | ( | ) | const |
| void indexofone | ( | Array0< Bits::base > & | ) | const |
| size_t length | ( | ) | const |
| void clear | ( | ) |
| void clear | ( | const int | i | ) |
| void set | ( | ) |
| void set | ( | const int | i | ) |
| int get | ( | const int | i | ) | const |
| int operator[] | ( | const int | i | ) | const |
| int operator[] | ( | const size_t | i | ) | const |
| std::ostream & print | ( | std::ostream & | o | ) | const |
friend class GivModule [friend] |
1.7.4