This class is a wrapper around a reference to an integer which exists so that that operator>> can be specialized such that when a Hex object is serialized, it will parse the stream for a hex integer instead of a decimal integer. More...
#include <BIscan.h>
Public Member Functions | |
HexParsed (IntegerType &data) | |
Public Attributes | |
IntegerType & | output_ |
This class is a wrapper around a reference to an integer which exists so that that operator>> can be specialized such that when a Hex object is serialized, it will parse the stream for a hex integer instead of a decimal integer.
Note: don't use this class directly -- use the function, Hex(), below instead.
Here is an example use:
int value; stream("10") >> BIscan::Hex(value); // value will be 16 (not 10) at this point.
Definition at line 1313 of file BIscan.h.