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