1 #ifndef INCLUDED_ObjexxFCL_byte_hh
2 #define INCLUDED_ObjexxFCL_byte_hh
48 byte(
short int const i ) :
64 operator short int()
const
66 return static_cast< short int >(
b_ );
142 byte const old( *
this );
163 byte const old( *
this );
186 return byte( -static_cast< short int >(
b_ ) );
257 return byte(
b_ >> static_cast< short int >( n ) );
275 return byte(
b_ << static_cast< short int >( n ) );
348 return ( i.
b_ == j.
b_ );
358 return ( i.
b_ != j.
b_ );
368 return ( i.
b_ < j.
b_ );
378 return ( i.
b_ <= j.
b_ );
388 return ( i.
b_ > j.
b_ );
398 return ( i.
b_ >= j.
b_ );
505 #endif // INCLUDED_ObjexxFCL_byte_HH
std::istream & operator>>(std::istream &stream, byte &b)
Stream Input.
byte operator+() const
+byte
friend byte operator|(byte const &i, byte const &j)
byte | byte
byte & operator/=(short int const i)
/= short
byte(short int const i)
Constructor.
bool operator!=(byte const &i, byte const &j)
byte != byte
byte & operator|=(byte const &i)
|= byte
bool operator>=(byte const &i, byte const &j)
byte >= byte
byte & operator+=(short int const i)
+= short
byte operator&(byte const &i, byte const &j)
byte & byte
byte & operator*=(short int const i)
*= short
bool operator<=(byte const &i, byte const &j)
byte <= byte
byte operator~() const
~byte
byte & operator-=(short int const i)
-= short
byte operator-(byte const &i, byte const &j)
byte - byte
byte & operator&=(byte const &i)
&= byte
byte operator+(byte const &i, byte const &j)
byte + byte
byte operator<<(std::size_t const n) const
byte << std::size_t
friend bool operator<(byte const &i, byte const &j)
byte < byte
byte operator^(byte const &i, byte const &j)
byte ^ byte
byte & operator^=(byte const &i)
^= byte
friend bool operator==(byte const &i, byte const &j)
byte == byte
friend byte operator&(byte const &i, byte const &j)
byte & byte
friend bool operator>=(byte const &i, byte const &j)
byte >= byte
friend byte operator*(byte const &i, byte const &j)
byte * byte
byte & operator++()
++byte
friend bool operator<=(byte const &i, byte const &j)
byte <= byte
byte operator>>(std::size_t const n) const
byte >> std::size_t
byte operator|(byte const &i, byte const &j)
byte | byte
bool operator>(byte const &i, byte const &j)
byte > byte
byte operator-() const
-byte
byte & operator=(short int const i)
= short
bool operator<(byte const &i, byte const &j)
byte < byte
byte & operator--()
–byte
byte operator*(byte const &i, byte const &j)
byte * byte
friend byte operator^(byte const &i, byte const &j)
byte ^ byte
bool operator==(byte const &i, byte const &j)
byte == byte
friend byte operator/(byte const &i, byte const &j)
byte / byte
friend bool operator!=(byte const &i, byte const &j)
byte != byte
friend bool operator>(byte const &i, byte const &j)
byte > byte
byte operator/(byte const &i, byte const &j)
byte / byte
byte()
Default Constructor.