Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Classes | Public Member Functions | Static Public Member Functions | Friends | List of all members
keyple::common::Byte Class Reference

#include <Byte.h>

Inherits keyple::common::Object.

Public Member Functions

 Byte ()
 
 Byte (unsigned char value)
 
 Byte (const Byte &b)
 
virtual ~Byte ()
 
Byteoperator= (Byte other)
 
int hashCode () override
 
bool equals (Object *obj)
 
bool equals (std::shared_ptr< void > o) override
 
unsigned char byteValue ()
 
void finalize () override
 
bool operator== (const Byte &other)
 
- Public Member Functions inherited from keyple::common::Object
 Object ()=default
 
 Object (const Object &o)
 
virtual ~Object ()=default
 

Static Public Member Functions

static BytevalueOf (unsigned char b)
 
static std::string toString (unsigned char b)
 
static int hashCode (unsigned char value)
 

Friends

std::ostream & operator<< (std::ostream &os, const Byte &b)
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ Byte() [1/3]

keyple::common::Byte::Byte ( )
inline

◆ Byte() [2/3]

keyple::common::Byte::Byte ( unsigned char  value)
inline

◆ Byte() [3/3]

keyple::common::Byte::Byte ( const Byte b)
inline

◆ ~Byte()

virtual keyple::common::Byte::~Byte ( )
inlinevirtual

Member Function Documentation

◆ byteValue()

unsigned char keyple::common::Byte::byteValue ( )
inline

◆ equals() [1/2]

bool keyple::common::Byte::equals ( Object obj)
inline

◆ equals() [2/2]

bool keyple::common::Byte::equals ( std::shared_ptr< void >  o)
inlineoverridevirtual

◆ finalize()

void keyple::common::Byte::finalize ( )
inlineoverridevirtual

◆ hashCode() [1/2]

int keyple::common::Byte::hashCode ( )
inlineoverridevirtual

◆ hashCode() [2/2]

static int keyple::common::Byte::hashCode ( unsigned char  value)
inlinestatic

◆ operator=()

Byte& keyple::common::Byte::operator= ( Byte  other)
inline

◆ operator==()

bool keyple::common::Byte::operator== ( const Byte other)
inline

◆ toString()

static std::string keyple::common::Byte::toString ( unsigned char  b)
inlinestatic

◆ valueOf()

static Byte* keyple::common::Byte::valueOf ( unsigned char  b)
inlinestatic

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Byte b 
)
friend

The documentation for this class was generated from the following file: