class that handles relation instance inside modules
More...
#include <Relation.h>
class that handles relation instance inside modules
◆ Relation()
Inter4ql::Relation::Relation |
( |
std::string |
a_name, |
|
|
std::vector< Domain *> * |
a_params, |
|
|
std::string |
_module_name |
|
) |
| |
constructor for Relation class
- Parameters
-
a_name | name of relation |
a_params | list of types of parameters |
_module_name | name of a module relation is inside |
◆ ~Relation()
Inter4ql::Relation::~Relation |
( |
| ) |
|
◆ get_module()
std::string Inter4ql::Relation::get_module |
( |
| ) |
|
getter for module name relation is in
- Returns
- module name
◆ get_name()
std::string Inter4ql::Relation::get_name |
( |
| ) |
|
getter for relation name
- Returns
- relation name
◆ get_params()
std::vector< Domain * > * Inter4ql::Relation::get_params |
( |
| ) |
|
getter for relation params
- Returns
- vector of relation parameters types
◆ is_unknown()
bool Inter4ql::Relation::is_unknown |
( |
| ) |
|
getter for value saing, whether this relation is queried for unknown facts
- Returns
- isUnknown value
◆ print()
std::string Inter4ql::Relation::print |
( |
| ) |
|
returns string with relation information
- Returns
- relation information packed in a std::string
◆ set_module()
void Inter4ql::Relation::set_module |
( |
std::string |
_m | ) |
|
setter for module name relation is in
- Parameters
-
◆ set_unknown()
void Inter4ql::Relation::set_unknown |
( |
bool |
value | ) |
|
setter for value saing, whether this relation is queried for unknown facts
- Parameters
-
The documentation for this class was generated from the following files:
- /home/lukasz/Desktop/Inter4QL_5_2/Inter4QL_5_2/src/Relation.h
- /home/lukasz/Desktop/Inter4QL_5_2/Inter4QL_5_2/src/Relation.cc