Page MenuHomec4science

HexaByte.h
No OneTemporary

File Metadata

Created
Wed, Jun 18, 03:08

HexaByte.h

/**
* \file HexaByte.h
*
* \date Oct 23, 2012
* \author Alexandre Tuleu
*/
#ifndef LIBSBCP_TOOL_HEXABYTE_H_
#define LIBSBCP_TOOL_HEXABYTE_H_
#include <iostream>
class HexaByte {
public :
friend std::ostream & operator << (std::ostream & out, const HexaByte & b);
friend std::istream & operator >> (std::istream & in, HexaByte & b);
const static unsigned int UnitializedByteValue = 0x0f00;
HexaByte();
~HexaByte();
unsigned int Value() const;
bool IsUnitialized() const;
protected :
unsigned int d_value;
};
#endif // LIBSBCP_TOOL_HEXABYTE_H_

Event Timeline