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

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

#include <LongWrapper.h>

List of all members.

Static Public Member Functions

static int64_t parseLong (const string &s) throw (NumberFormatException)
 Parse a string supposed to represent a int64_t value and returns this value.
static string toString (int64_t l)
 Encode a int64_t value into its string representation.
static int64_t parseLong (const string &s) throw (NumberFormatException)
 Parse a string supposed to represent a int64_t value and returns this value.
static string toString (int64_t l)
 Encode a int64_t value into its string representation.

Static Public Attributes

static const int64_t MIN_VALUE
 The minimum value for a int64_t.
static const int64_t MAX_VALUE
 The maximum value for a int64_t.

Detailed Description

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

Definition at line 40 of file LongWrapper.h.


Member Function Documentation

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

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

Parameters:
sthe string to parse
Returns:
a int64_t.
Exceptions:
NumberFormatException.
static int64_t asdm::Long::parseLong ( const string &  s) throw (NumberFormatException) [static]

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

Parameters:
sthe string to parse
Returns:
a int64_t.
Exceptions:
NumberFormatException.
static string asdm::Long::toString ( int64_t  l) [static]

Encode a int64_t value into its string representation.

Parameters:
lthe int64_t value to be encoded.
Returns:
the string representing the int64_t value passed as parameter.
static string asdm::Long::toString ( int64_t  l) [static]

Encode a int64_t value into its string representation.

Parameters:
lthe int64_t value to be encoded.
Returns:
the string representing the int64_t value passed as parameter.

Member Data Documentation

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

The maximum value for a int64_t.

Definition at line 67 of file LongWrapper.h.

Referenced by asdm::ArrayTimeInterval::ArrayTimeInterval().

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

The minimum value for a int64_t.

Definition at line 62 of file LongWrapper.h.


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