Includes, clean-up

We are trying to avoid including stuff whenever possible.
Forward declarations are prefered in most cases, just in case...
This commit is contained in:
Artur Meski
2018-09-22 20:05:35 +01:00
parent d4ac425963
commit a36ed9651f
15 changed files with 103 additions and 153 deletions

View File

@@ -4,7 +4,8 @@
*/
#include "symrs.hh"
#include "rs.hh"
#include "bdd_macro.hh"
SymRS::SymRS(RctSys *rs, Options *opts)
{
@@ -35,6 +36,17 @@ SymRS::SymRS(RctSys *rs, Options *opts)
encode();
}
bool SymRS::usingContextAutomaton(void)
{
return rs->ctx_aut != nullptr;
}
BDD SymRS::encEntity(std::string proc_name, std::string entity_name) const
{
return encEntity(rs->getProcessID(proc_name), rs->getEntityID(entity_name));
}
void SymRS::encode(void)
{
VERB("Encoding...");