casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | List of all members
asdm::Long Class Reference

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

#include <LongWrapper.h>

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

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

Definition at line 38 of file LongWrapper.h.

Member Function Documentation

static int64_t asdm::Long::parseLong ( const std::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 std::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

const int64_t asdm::Long::MAX_VALUE
static

The maximum value for a int64_t.

Definition at line 65 of file LongWrapper.h.

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

const int64_t asdm::Long::MIN_VALUE
static

The minimum value for a int64_t.

Definition at line 60 of file LongWrapper.h.


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