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

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

Static Public Attributes

static const char MIN_VALUE
static const char MAX_VALUE


Member Function Documentation

static 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. 

static 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::MIN_VALUE [static]

The minimum value for a Byte.

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

The maximum value for a Byte.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:47 2007 for ASDM C++ Implementation by  doxygen 1.5.1