More complex semantic action for FOF formulas.
More...
#include <TPTPParser.hpp>
|
| void | operator() (qi::unused_type, qi::unused_type, qi::unused_type) const |
| |
More complex semantic action for FOF formulas.
Functions etc to make a FOF formula.
Definition at line 619 of file TPTPParser.hpp.
◆ operator()()
| void add_fof_formula::operator() |
( |
qi::unused_type | , |
|
|
qi::unused_type | , |
|
|
qi::unused_type | ) const |
Definition at line 1397 of file TPTPParser.cpp.
1398 {
1399 if (include_this_item) {
1400 all_formulas.push_back(current_formula);
1401 formula_roles.push_back(current_formula_role);
1402 formula_names.push_back(current_formula_name);
1403 records_p->add_fof_file_record(current_formula_name,
1404 current_formula_role,
1406 include_file_name);
1407 if (current_formula_role == string("conjecture"))
1408 conjecture_found = true;
1409#ifdef DEBUGOUTPUT
1410 cout << current_formula.
to_string() << endl;
1411#endif
1412 }
1413 current_formula_role = "";
1414 }
string to_tptp_string(bool=false) const
Convert a FOF into a nice-looking string in the TPTP format.
string to_string() const
Convert a FOF into a nice-looking string.
The documentation for this struct was generated from the following files:
- /Users/sbh11/Desktop/connection-prover/c++/connect++/source/TPTPParser.hpp
- /Users/sbh11/Desktop/connection-prover/c++/connect++/source/TPTPParser.cpp