asdm::Long Class Reference

#include <Long.h>

List of all members.


Detailed Description

A collection of static methods to perform conversions between strings and long long values.


Static Public Member Functions

long long parseLong (const string &s) throw (NumberFormatException)
string toString (long long l)

Static Public Attributes

const long long MIN_VALUE
const long long MAX_VALUE


Member Function Documentation

long long asdm::Long::parseLong const string &  s  )  throw (NumberFormatException) [static]
 

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

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

string asdm::Long::toString long long  l  )  [static]
 

Encode a long long value into its string representation.

Parameters:
l the long long value to be encoded.
Returns:
the string representing the long long value passed as parameter.


Member Data Documentation

const long long asdm::Long::MAX_VALUE [static]
 

The maximum value for a long long.

const long long asdm::Long::MIN_VALUE [static]
 

The minimum value for a long long.


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