rpt_value_null Class Reference

#include <null.h>

Inheritance diagram for rpt_value_null:

rpt_value

Public Member Functions

virtual ~rpt_value_null ()

Static Public Member Functions

static rpt_value::pointer create ()

Protected Member Functions

const char * name () const
rpt_value::pointer arithmetic_or_null () const
rpt_value::pointer stringize_or_null () const
rpt_value::pointer booleanize_or_null () const
rpt_value::pointer lookup (const rpt_value::pointer &rhs, bool lvalue) const
rpt_value::pointer undefer () const
rpt_value::pointer integerize_or_null () const
rpt_value::pointer realize_or_null () const
rpt_value::pointer keys () const
rpt_value::pointer count () const

Private Member Functions

 rpt_value_null ()
 rpt_value_null (const rpt_value_null &)
rpt_value_nulloperator= (const rpt_value_null &)

Detailed Description

The rpt_value_null class is used to represent a value which is nul.

Definition at line 28 of file null.h.


Constructor & Destructor Documentation

virtual rpt_value_null::~rpt_value_null (  )  [virtual]

The destructor.

rpt_value_null::rpt_value_null (  )  [private]

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

rpt_value_null::rpt_value_null ( const rpt_value_null  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_value::pointer rpt_value_null::create (  )  [static]

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

const char* rpt_value_null::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_null::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.

rpt_value::pointer rpt_value_null::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_null::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.

rpt_value::pointer rpt_value_null::lookup ( const rpt_value::pointer rhs,
bool  lvalue 
) const [protected, virtual]

The lookup method is used to index an associate array, or locate a member within a struct.

Parameters:
rhs The member name, or array index
lvalue The result is to be used of an l-value

Reimplemented from rpt_value.

rpt_value::pointer rpt_value_null::undefer (  )  const [protected]

rpt_value::pointer rpt_value_null::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_null::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::pointer rpt_value_null::keys (  )  const [protected, virtual]

The keys method is used to obtain a list of keys of an associative array.

Reimplemented from rpt_value.

rpt_value::pointer rpt_value_null::count (  )  const [protected, virtual]

The count method is used to count the number of elements of an associative array.

Reimplemented from rpt_value.

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

The assignment operator. Do not use.


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