10 #ifndef __DIADES__CMDINTERFACE__AUTOMATAINTERFACE__HH 11 #define __DIADES__CMDINTERFACE__AUTOMATAINTERFACE__HH 19 namespace CmdInterface
55 const std::string & output,
const FileSuffixes &
suffixes);
67 const std::string & output,
79 const std::string & output,
size_t writeAut(const Diades::Automata::Experimental::AutFsm &fsm, const std::string &output, const FileSuffixes &suffixes)
size_t checkDdAutFileName(const std::string &filename)
check that filename is a proper file with the ddaut suffix
Some utilities to deal with the command line.
size_t writeFiniteAutomaton(const Diades::Automata::Experimental::ConstManagedDdAutFA &mfa, const std::string &output, const FileSuffixes &suffixes)
size_t loadFiniteStateAutomaton(const std::string &input, const Diades::Automata::Experimental::ManagedDdAutFA &mfa)
Load the finite automaton from a file called 'input'.
size_t isOpenableFile(const std::string &filename)
check that the file can be opened
data structure that gathers an FA, a StateManager and a EventManager
data structure that gathers an Fsm, a StateManager and a EventManager
data structure that gathers an FA, a StateManager and a EventManager
size_t checkFileNameSuffix(const std::string &filename, const std::string &suffix)
check that filename has the expected suffix
size_t checkDdAutFile(const std::string &filename)
check that filename is a proper file with the ddaut suffix check that the file 'filename' can be ope...
size_t checkAutFile(const std::string &filename)
check that filename is a proper file with the aut suffix
size_t checkAutFileName(const std::string &filename)
check that filename is a proper filename with the aut suffix
Namespace of the Diades project.
data structure that gathers an Fsm, a StateManager and a EventManager
size_t writeFiniteStateMachine(const Diades::Automata::Experimental::ConstManagedDdAutFsm &mfsm, const std::string &output, const FileSuffixes &suffixes)
FileSuffixes suffixes({"aut","ddaut"})
size_t loadFiniteStateMachine(const std::string &input, const Diades::Automata::Experimental::ManagedDdAutFsm &mfsm)
Load the fsm from a file called 'input'.