|  | 
| template<class TInt> | 
| std::string | asString (TInt val, char zero='0', char one='1') | 
|  | For printing bits. 
 | 
| template<class TInt> | 
| std::ostream & | operator<< (std::ostream &str, const BitField< TInt > &obj) | 
|  | Stream output. 
 | 
| template<class TInt> | 
| bool | operator== (const BitField< TInt > &lhs, const BitField< TInt > &rhs) | 
| template<class TInt> | 
| bool | operator!= (const BitField< TInt > &lhs, const BitField< TInt > &rhs) | 
| template<class TInt> | 
| BitField< TInt > | operator& (const BitField< TInt > &lhs, const BitField< TInt > &rhs) | 
| template<class TInt> | 
| BitField< TInt > | operator| (const BitField< TInt > &lhs, const BitField< TInt > &rhs) | 
| template<class TInt> | 
| BitField< TInt > | operator^ (const BitField< TInt > &lhs, const BitField< TInt > &rhs) | 
| template<class TInt> | 
| BitField< TInt > | operator<< (const BitField< TInt > &lhs, unsigned num) | 
| template<class TInt> | 
| BitField< TInt > | operator>> (const BitField< TInt > &lhs, unsigned num) |