rpt_value_real Class Reference

#include <real.h>

Inheritance diagram for rpt_value_real:

rpt_value

Public Member Functions

virtual ~rpt_value_real ()
double query () const

Static Public Member Functions

static rpt_value::pointer create (double value)

Protected Member Functions

rpt_value::pointer integerize_or_null () const
rpt_value::pointer stringize_or_null () const
rpt_value::pointer booleanize_or_null () const
const char * name () const

Private Member Functions

 rpt_value_real (double value)
 rpt_value_real ()
 rpt_value_real (const rpt_value_real &)
rpt_value_realoperator= (const rpt_value_real &)

Private Attributes

double value

Detailed Description

The rpt_value_real class is used to represent a value which is a floating point value (at least 64 bits).

Definition at line 29 of file real.h.


Constructor & Destructor Documentation

virtual rpt_value_real::~rpt_value_real (  )  [virtual]

The destructor.

rpt_value_real::rpt_value_real ( double  value  )  [private]

The constructor. It is private on purpose, use the "create" class method nstead.

rpt_value_real::rpt_value_real (  )  [private]

The default constructor. Do not use.

rpt_value_real::rpt_value_real ( const rpt_value_real  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_value::pointer rpt_value_real::create ( double  value  )  [static]

The create class method is used to create new dynamically allocated instances of this class.

double rpt_value_real::query (  )  const

The query method may be used to obtain the value of this class.

rpt_value::pointer rpt_value_real::integerize_or_null (  )  const [protected, virtual]

The integerize_or_null method is used to convert a value to an integer, if possible, or return NULL if it is not possible. This NULL is used by the integerize class method to return the unchanged value if no conversion is possible.

Reimplemented from rpt_value.

rpt_value::pointer rpt_value_real::stringize_or_null (  )  const [protected, virtual]

The stringize_or_null method is used to convert a value to a string, if possible, or return NULL if it is not possible. This NULL is used by the stringize class method to return the unchanged value if no conversion is possible.

Reimplemented from rpt_value.

rpt_value::pointer rpt_value_real::booleanize_or_null (  )  const [protected, virtual]

The booleanize_or_null method is used to convert a value to a boolean, if possible, or return NULL if it is not possible. This NULL is used by the booleanize class method to return the unchanged value if no conversion is possible.

Reimplemented from rpt_value.

const char* rpt_value_real::name (  )  const [protected, virtual]

The name method is used to obtain the name of the type of the value.

Implements rpt_value.

rpt_value_real& rpt_value_real::operator= ( const rpt_value_real  )  [private]

The assignment operator. Do not use.


Field Documentation

double rpt_value_real::value [private]

The value instance variable is used to remember the value of this object.

Definition at line 75 of file real.h.


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

Generated on Wed Mar 12 23:37:44 2008 for Aegis by  doxygen 1.5.5