casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes
asdm::Byte Class Reference

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

#include <ByteWrapper.h>

List of all members.

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

Detailed Description

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

Definition at line 39 of file ByteWrapper.h.


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:
sthe string to parse
Returns:
a char
Exceptions:
NumberFormatException.
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:
sthe 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:
cthe byte value to be encoded.
Returns:
the string representing the byte value passed as parameter.
static string asdm::Byte::toString ( char  c) [static]

Encode a byte value into its string representation.

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

Member Data Documentation

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

The maximum value for a Byte.

Definition at line 66 of file ByteWrapper.h.

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

The minimum value for a Byte.

Definition at line 61 of file ByteWrapper.h.


The documentation for this class was generated from the following files: