DACLIPS::Fact Class Reference
#include <fact.h>
List of all members.
Detailed Description
- Author:
- Rick L. Vinyard, Jr. <rvinyard@cs.nmsu.edu>
Definition at line 34 of file fact.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| DACLIPS::Fact::Fact |
( |
Environment & |
environment, |
|
|
void * |
cobj = NULL | |
|
) |
| | |
| DACLIPS::Fact::Fact |
( |
Environment & |
environment, |
|
|
void * |
cobj = NULL | |
|
) |
| | |
Member Function Documentation
| bool DACLIPS::Fact::assign_slot_defaults |
( |
|
) |
|
Assigns default values to a fact.
- Returns:
- true if the default values were successfully set, false otherwise
Definition at line 45 of file fact.cpp.
Returns the template associated with a fact.
Definition at line 51 of file fact.cpp.
| bool DACLIPS::Fact::exists |
( |
|
) |
|
Indicates whether a fact is still in the fact list or has been retracted
- Returns:
- true if the fact is still in the fact list, false otherwise
Definition at line 63 of file fact.cpp.
| long int DACLIPS::Fact::index |
( |
|
) |
|
Returns the fact index of a fact
- Returns:
- the index of the fact or -1 if this fact object is uninitialized
Definition at line 69 of file fact.cpp.
| std::vector< std::string > DACLIPS::Fact::slot_names |
( |
|
) |
|
Returns the slot names associated with this fact
Definition at line 75 of file fact.cpp.
| Values DACLIPS::Fact::slot_value |
( |
const std::string & |
slot_name |
) |
|
Return the values contained within a slot
Definition at line 86 of file fact.cpp.
| bool DACLIPS::Fact::set_slot |
( |
const std::string & |
slot_name, |
|
|
const Values & |
values | |
|
) |
| | |
Sets the named slot to a specific value or values
Definition at line 144 of file fact.cpp.
| bool DACLIPS::Fact::set_slot |
( |
const std::string & |
slot_name, |
|
|
const Value & |
value | |
|
) |
| | |
Sets the named slot to a specific value or values
Definition at line 131 of file fact.cpp.
| bool DACLIPS::Fact::retract |
( |
|
) |
|
| bool DACLIPS::Fact::assign_slot_defaults |
( |
|
) |
|
Assigns default values to a fact.
- Returns:
- true if the default values were successfully set, false otherwise
Returns the template associated with a fact.
| bool DACLIPS::Fact::exists |
( |
|
) |
|
Indicates whether a fact is still in the fact list or has been retracted
- Returns:
- true if the fact is still in the fact list, false otherwise
| long int DACLIPS::Fact::index |
( |
|
) |
|
Returns the fact index of a fact
- Returns:
- the index of the fact or -1 if this fact object is uninitialized
| std::vector<std::string> DACLIPS::Fact::slot_names |
( |
|
) |
|
Returns the slot names associated with this fact
| Values DACLIPS::Fact::slot_value |
( |
const std::string & |
slot_name |
) |
|
Return the values contained within a slot
| bool DACLIPS::Fact::set_slot |
( |
const std::string & |
slot_name, |
|
|
const Values & |
values | |
|
) |
| | |
Sets the named slot to a specific value or values
| bool DACLIPS::Fact::set_slot |
( |
const std::string & |
slot_name, |
|
|
const Value & |
value | |
|
) |
| | |
Sets the named slot to a specific value or values
| bool DACLIPS::Fact::retract |
( |
|
) |
|
The documentation for this class was generated from the following files: