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

Definition at line 39 of file Byte.h.

Static Public Member Functions

static char parseByte (const string &s) throw (NumberFormatException)
 Parse a string supposed to represent a byte value and returns this value.
static string toString (char c)
 Encode a byte value into its string representation.

Static Public Attributes

static const char MIN_VALUE
 The minimum value for a Byte.
static const char MAX_VALUE
 The maximum value for a Byte.


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.

Definition at line 61 of file Byte.h.

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

The maximum value for a Byte.

Definition at line 66 of file Byte.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:23:31 2009 for NRAOCASA by  doxygen 1.5.1