#include <iri_rule_learner/RuleLearnerConfig.h>
#include <fstream>
Go to the source code of this file.
Classes | |
class | Symbol |
Functions | |
char | choose_variable_separator (std::string str) |
bool | compare_vector_strings (std::vector< std::string > v1, std::vector< std::string > v2) |
Symbol | get_symbol_from_string (std::string line) |
std::string | get_symbol_name_from_string (std::string line) |
std::vector< std::string > | get_symbol_param_names_from_string (std::string line) |
template<typename T > | |
void | remove_duplicates (std::vector< T > &vec) |
std::string | trim (const std::string &str, const std::string &whitespace=" \t") |
Variables | |
static const std::string | DEFAULT_ACTION_NAME = "default" |
static const std::string | DUMMY_ACTION_NAME = "dummyAction" |
char choose_variable_separator | ( | std::string | str | ) |
Definition at line 17 of file symbols.cpp.
bool compare_vector_strings | ( | std::vector< std::string > | v1, |
std::vector< std::string > | v2 | ||
) |
Definition at line 3 of file symbols.cpp.
Symbol get_symbol_from_string | ( | std::string | line | ) |
Definition at line 118 of file symbols.cpp.
std::string get_symbol_name_from_string | ( | std::string | line | ) |
Definition at line 126 of file symbols.cpp.
std::vector< std::string > get_symbol_param_names_from_string | ( | std::string | line | ) |
Definition at line 138 of file symbols.cpp.
void remove_duplicates | ( | std::vector< T > & | vec | ) |
std::string trim | ( | const std::string & | str, |
const std::string & | whitespace = " \t" |
||
) |
Definition at line 31 of file symbols.cpp.
const std::string DEFAULT_ACTION_NAME = "default" [static] |
const std::string DUMMY_ACTION_NAME = "dummyAction" [static] |