rpt_value_boolean Class Reference

#include <boolean.h>

Inheritance diagram for rpt_value_boolean:

rpt_value

Public Member Functions

virtual ~rpt_value_boolean ()
bool query () const

Static Public Member Functions

static rpt_value::pointer create (bool value)

Protected Member Functions

rpt_value::pointer integerize_or_null () const
rpt_value::pointer arithmetic_or_null () const
const char * name () const
rpt_value::pointer stringize_or_null () const
rpt_value::pointer realize_or_null () const

Private Member Functions

 rpt_value_boolean (bool value)
 rpt_value_boolean ()
 rpt_value_boolean (const rpt_value_boolean &)
rpt_value_booleanoperator= (const rpt_value_boolean &)

Private Attributes

bool value

Detailed Description

The rpt_value_boolean class is used to represent a value which is a boolean.

Definition at line 30 of file boolean.h.


Constructor & Destructor Documentation

virtual rpt_value_boolean::~rpt_value_boolean (  )  [virtual]

The destructor.

rpt_value_boolean::rpt_value_boolean ( bool  value  )  [private]

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

rpt_value_boolean::rpt_value_boolean (  )  [private]

The default constructor. Do not use.

rpt_value_boolean::rpt_value_boolean ( const rpt_value_boolean  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_value::pointer rpt_value_boolean::create ( bool  value  )  [static]

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

bool rpt_value_boolean::query (  )  const

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

rpt_value::pointer rpt_value_boolean::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_boolean::arithmetic_or_null (  )  const [protected, virtual]

The arithmetic_or_null method is used to convert a value to an arithmetic type (real or 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.

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

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

Implements rpt_value.

rpt_value::pointer rpt_value_boolean::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_boolean::realize_or_null (  )  const [protected, virtual]

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

Reimplemented from rpt_value.

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

The assignment operator. Do not use.


Field Documentation

bool rpt_value_boolean::value [private]

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

Definition at line 79 of file boolean.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