| 1077 | } |
| 1078 | |
| 1079 | inline void smem_reverse_hash_str(agent* thisAgent, smem_hash_id hash_value, std::string& dest) |
| 1080 | { |
| 1081 | thisAgent->smem_stmts->hash_rev_str->bind_int(1, hash_value); |
| 1082 | soar_module::exec_result res = thisAgent->smem_stmts->hash_rev_str->execute(); |
| 1083 | (void)res; // quells compiler warning |
| 1084 | assert(res == soar_module::row); |
| 1085 | dest.assign(thisAgent->smem_stmts->hash_rev_str->column_text(0)); |
| 1086 | thisAgent->smem_stmts->hash_rev_str->reinitialize(); |
| 1087 | } |
| 1088 | |
| 1089 | inline Symbol* smem_reverse_hash(agent* thisAgent, byte symbol_type, smem_hash_id hash_value) |
| 1090 | { |
no test coverage detected