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::Integer Class Reference

#include <IntegerWrapper.h>

Static Public Member Functions

static int parseInt (const std::string &s) throw (NumberFormatException)
 A collection of static methods to perform conversions between strings and integer values. More...
 
static std::string toString (int i)
 Encode an integer value into its string representation. More...
 

Static Public Attributes

static const int MIN_VALUE
 The minimum value for an integer. More...
 
static const int MAX_VALUE
 The maximum value for an integer. More...
 

Detailed Description

Definition at line 34 of file IntegerWrapper.h.

Member Function Documentation

static int asdm::Integer::parseInt ( const std::string &  s)
throw (NumberFormatException
)
static

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

Parse a string supposed to represent an integer value and returns this value.

Parameters
sthe string to parse
Returns
an int.
Exceptions
NumberFormatException.
static std::string asdm::Integer::toString ( int  i)
static

Encode an integer value into its string representation.

Parameters
ithe integer value to be encoded.
Returns
the string representing the integer value passed as parameter.

Member Data Documentation

const int asdm::Integer::MAX_VALUE
static

The maximum value for an integer.

Definition at line 63 of file IntegerWrapper.h.

const int asdm::Integer::MIN_VALUE
static

The minimum value for an integer.

Definition at line 58 of file IntegerWrapper.h.


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