#include <Byte.h>
Public Member Functions | |
| TByte () | |
| TByte (const TByte &Inpar) | |
| TByte (Uint8 ucByte) | |
| virtual | ~TByte () |
| TString | toBinary (bool bTrimZeros=false, bool bAddPreamble=true) const |
| TString | toHex (bool bTrimZeros=false, bool bAddPreamble=true) const |
| Uint8 | getValue () const |
| bool | operator== (const TByte &Inpar) const |
| bool | operator!= (const TByte &Inpar) const |
| TByte & | operator= (const TByte &Inpar) |
| TByte & | operator= (Uint8 ucInpar) |
This class wrapps a byte and defines methods for converting bytes to different notations
| TByte::TByte | ( | ) |
Creates a byte
| TByte::TByte | ( | const TByte & | Inpar ) |
Creates a byte
| TByte::TByte | ( | Uint8 | ucByte ) |
Creates a byte
| TByte::~TByte | ( | ) | [virtual] |
Destroys the byte
| Uint8 zeus::TByte::getValue | ( | ) | const [inline] |
| bool zeus::TByte::operator!= | ( | const TByte & | Inpar ) | const [inline] |
Compares two bytes
| bool zeus::TByte::operator== | ( | const TByte & | Inpar ) | const [inline] |
Compares two bytes
| TString TByte::toBinary | ( | bool | bTrimZeros = false, |
| bool | bAddPreamble = true |
||
| ) | const |
This converts the byte value to a binary notation
| TString TByte::toHex | ( | bool | bTrimZeros = false, |
| bool | bAddPreamble = true |
||
| ) | const |
This converts the byte value to a binary notation