lestes::md::types::num_range Class Reference

Information about ranges of a numeric type. More...

#include <num_range.g.hh>

Inheritance diagram for lestes::md::types::num_range:

Inheritance graph
[legend]
List of all members.

Public Member Functions

lstring max_get () const
 The method max_get returns the value of the field num_range::max.
void max_set (lstring)
 The method max_set sets the field num_range::max to the given value.
bool is_signed_get () const
 The method is_signed_get returns the value of the field num_range::is_signed.
void is_signed_set (bool)
 The method is_signed_set sets the field num_range::is_signed to the given value.
ulint digits_get () const
 The method digits_get returns the value of the field num_range::digits.
void digits_set (ulint)
 The method digits_set sets the field num_range::digits to the given value.
ulint bits_get () const
 The method bits_get returns the value of the field num_range::bits.
void bits_set (ulint)
 The method bits_set sets the field num_range::bits to the given value.
ptr< num_rangemantisa_get () const
 The method mantisa_get returns the value of the field num_range::mantisa.
void mantisa_set (const ptr< num_range > &)
 The method mantisa_set sets the field num_range::mantisa to the given value.
ptr< num_rangeexponent_get () const
 The method exponent_get returns the value of the field num_range::exponent.
void exponent_set (const ptr< num_range > &)
 The method exponent_set sets the field num_range::exponent to the given value.
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< num_rangecreate (lstring a__num_range__max, bool a__num_range__is_signed, ulint a__num_range__digits, ulint a__num_range__bits, ptr< num_range > a__num_range__mantisa, ptr< num_range > a__num_range__exponent)
 First generated factory method for class num_range.

Protected Member Functions

 num_range (lstring a__num_range__max, bool a__num_range__is_signed, ulint a__num_range__digits, ulint a__num_range__bits, ptr< num_range > a__num_range__mantisa, ptr< num_range > a__num_range__exponent)
 Generated constructor for class num_range.
virtual void gc_mark ()
 Marking routine for class num_range.

Private Attributes

lstring max
 Maximum value.
bool is_signed
 Is signed?
ulint digits
 Maximum digits count.
ulint bits
 Bitwidth.
srp< num_rangemantisa
 Range of mantisa.
srp< num_rangeexponent
 Range of exponent.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Information about ranges of a numeric type.


Constructor & Destructor Documentation

lestes::md::types::num_range::num_range ( lstring  a__num_range__max,
bool  a__num_range__is_signed,
ulint  a__num_range__digits,
ulint  a__num_range__bits,
ptr< num_range a__num_range__mantisa,
ptr< num_range a__num_range__exponent 
) [protected]

Generated constructor for class num_range.

Generated constructor for class num_range.

Author:
lsg


Member Function Documentation

lstring lestes::md::types::num_range::max_get (  )  const

The method max_get returns the value of the field num_range::max.

Returns:
The value of num_range::max.
Author:
lsg

void lestes::md::types::num_range::max_set ( lstring  x  ) 

The method max_set sets the field num_range::max to the given value.

Parameters:
[in] x The new value to set num_range::max to.
Author:
lsg

bool lestes::md::types::num_range::is_signed_get (  )  const

The method is_signed_get returns the value of the field num_range::is_signed.

Returns:
The value of num_range::is_signed.
Author:
lsg

void lestes::md::types::num_range::is_signed_set ( bool  x  ) 

The method is_signed_set sets the field num_range::is_signed to the given value.

Parameters:
[in] x The new value to set num_range::is_signed to.
Author:
lsg

ulint lestes::md::types::num_range::digits_get (  )  const

The method digits_get returns the value of the field num_range::digits.

Returns:
The value of num_range::digits.
Author:
lsg

void lestes::md::types::num_range::digits_set ( ulint  x  ) 

The method digits_set sets the field num_range::digits to the given value.

Parameters:
[in] x The new value to set num_range::digits to.
Author:
lsg

ulint lestes::md::types::num_range::bits_get (  )  const

The method bits_get returns the value of the field num_range::bits.

Returns:
The value of num_range::bits.
Author:
lsg

void lestes::md::types::num_range::bits_set ( ulint  x  ) 

The method bits_set sets the field num_range::bits to the given value.

Parameters:
[in] x The new value to set num_range::bits to.
Author:
lsg

ptr< num_range > lestes::md::types::num_range::mantisa_get (  )  const

The method mantisa_get returns the value of the field num_range::mantisa.

Returns:
The value of num_range::mantisa.
Author:
lsg

void lestes::md::types::num_range::mantisa_set ( const ptr< num_range > &  x  ) 

The method mantisa_set sets the field num_range::mantisa to the given value.

Parameters:
[in] x The new value to set num_range::mantisa to.
Author:
lsg

ptr< num_range > lestes::md::types::num_range::exponent_get (  )  const

The method exponent_get returns the value of the field num_range::exponent.

Returns:
The value of num_range::exponent.
Author:
lsg

void lestes::md::types::num_range::exponent_set ( const ptr< num_range > &  x  ) 

The method exponent_set sets the field num_range::exponent to the given value.

Parameters:
[in] x The new value to set num_range::exponent to.
Author:
lsg

ptr< num_range > lestes::md::types::num_range::create ( lstring  a__num_range__max,
bool  a__num_range__is_signed,
ulint  a__num_range__digits,
ulint  a__num_range__bits,
ptr< num_range a__num_range__mantisa,
ptr< num_range a__num_range__exponent 
) [static]

First generated factory method for class num_range.

This factory method for class num_range takes values of all fields as arguments.

Author:
lsg

ptr< object::reflection_list > lestes::md::types::num_range::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

ptr< object::field_list_list > lestes::md::types::num_range::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::object.

void lestes::md::types::num_range::gc_mark ( void   )  [protected, virtual]

Marking routine for class num_range.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::mem::keystone.


Member Data Documentation

lstring lestes::md::types::num_range::max [private]

Maximum value.

bool lestes::md::types::num_range::is_signed [private]

Is signed?

ulint lestes::md::types::num_range::digits [private]

Maximum digits count.

ulint lestes::md::types::num_range::bits [private]

Bitwidth.

srp< num_range > lestes::md::types::num_range::mantisa [private]

Range of mantisa.

srp< num_range > lestes::md::types::num_range::exponent [private]

Range of exponent.

ptr< object::reflection_list > lestes::md::types::num_range::reflection = reflection [static, private]

Reimplemented from lestes::std::object.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:25 2007 for lestes by doxygen 1.5.1-20070107