Soar Kernel  9.3.2 08-06-12
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions
soar_module::boolean_param Class Reference

#include <soar_module.h>

Inherits soar_module::constant_param< boolean >.

Inherited by rl_learning_param, and wma_activation_param.

Public Member Functions

 boolean_param (const char *new_name, boolean new_value, predicate< boolean > *new_prot_pred)
- Public Member Functions inherited from soar_module::constant_param< boolean >
virtual void add_mapping (booleanval, const char *str)
 constant_param (const char *new_name, booleannew_value, predicate< boolean > *new_prot_pred)
virtual char * get_string ()
virtual boolean get_value ()
virtual bool set_string (const char *new_string)
virtual void set_value (booleannew_value)
virtual bool validate_string (const char *new_string)
virtual ~constant_param ()
- Public Member Functions inherited from soar_module::param
 param (const char *new_name)
virtual ~param ()
- Public Member Functions inherited from soar_module::named_object
const char * get_name ()
 named_object (const char *new_name)
virtual ~named_object ()

Additional Inherited Members

- Protected Attributes inherited from soar_module::constant_param< boolean >
predicate< boolean > * prot_pred
std::map< std::string, boolean > * string_to_value
boolean value
std::map< boolean, const char * > * value_to_string

Detailed Description

Definition at line 718 of file soar_module.h.

Constructor & Destructor Documentation

soar_module::boolean_param::boolean_param ( const char *  new_name,
boolean  new_value,
predicate< boolean > *  new_prot_pred 
)
inline

Definition at line 721 of file soar_module.h.

References soar_module::constant_param< boolean >::add_mapping(), soar_module::off, and soar_module::on.

: constant_param<boolean>( new_name, new_value, new_prot_pred )
{
add_mapping( off, "off" );
add_mapping( on, "on" );
}

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