asdm::Byte Class Reference

#include <Byte.h>

List of all members.


Detailed Description

A collection of static methods to perform conversions between strings and byte values (represented as char).


Static Public Member Functions

char parseByte (const string &s) throw (NumberFormatException)
string toString (char c)

Static Public Attributes

const char MIN_VALUE
const char MAX_VALUE


Member Function Documentation

char asdm::Byte::parseByte const string &  s  )  throw (NumberFormatException) [static]
 

Parse a string supposed to represent a byte value and returns this value.

Parameters:
s the string to parse
Returns:
a char
Exceptions:
NumberFormatException. 

string asdm::Byte::toString char  c  )  [static]
 

Encode a byte value into its string representation.

Parameters:
c the byte value to be encoded.
Returns:
the string representing the byte value passed as parameter.


Member Data Documentation

const char asdm::Byte::MAX_VALUE [static]
 

The maximum value for a Byte.

const char asdm::Byte::MIN_VALUE [static]
 

The minimum value for a Byte.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:42 2008 for ASDM C++ Implementation by doxygen 1.3.8