NuSMV/code/nusmv/shell/hrc/hrcCmd.c File Reference

#include "nusmv/shell/cmd/cmd.h"
#include "nusmv/shell/hrc/hrcCmd.h"
#include "nusmv/core/hrc/hrc.h"
#include "nusmv/core/utils/ErrorMgr.h"
#include "nusmv/core/utils/StreamMgr.h"
#include "nusmv/core/utils/Logger.h"
#include "nusmv/core/parser/symbols.h"
#include "nusmv/core/parser/parser.h"
#include "nusmv/core/parser/ord/ParserOrd.h"
#include "nusmv/core/compile/compile.h"

Functions

int CommandHrcDumpModel (NuSMVEnv_ptr env, int argc, char **argv)
int CommandHrcWriteModel (NuSMVEnv_ptr env, int argc, char **argv)
 The header file for the shell interface of the hrc packace.
void Hrc_init_cmd (NuSMVEnv_ptr env)
 Initializes the commands of the hrc package.
void Hrc_quit_cmd (NuSMVEnv_ptr env)
 Removes the commands provided by the hrc package.

Variables

cmp_struct_ptr cmps
 Shell interface to the hrc package.

Function Documentation

int CommandHrcDumpModel ( NuSMVEnv_ptr  env,
int  argc,
char **  argv 
)
Command:
hrc_dump_model: Writes the hrc structure from root node to a given SMV file

Command arguments: [-h] | [-o "filename"] [-d] Writes the currently loaded SMV model stored in hrc structure in the specified file. If no file is specified the standard output is used.

Command Options:

-f "format"

Dumps in the given format (debug, smv or xml).

-o "filename"

Dumps output to "filename"

-d

Renames every module name appending the suffix "_hrc"

-i

Disable indentation.

int CommandHrcWriteModel ( NuSMVEnv_ptr  env,
int  argc,
char **  argv 
)

The header file for the shell interface of the hrc packace.

Author:
Sergio Mover
Todo:
: Missing description

AutomaticStart

Command:
hrc_write_model: Writes the hrc structure from root node to a given SMV file

Command arguments: [-h] | [-o "filename"] [-d]

Writes the currently loaded SMV model stored in hrc structure in the specified file. If no file is specified the

standard output is used.

Command Options:

-o "filename"

Attempts to write the SMV model in "filename".

-d
Renames modules appending "_hrc" the the original module name.
void Hrc_init_cmd ( NuSMVEnv_ptr  env  ) 

Initializes the commands of the hrc package.

AutomaticEnd

void Hrc_quit_cmd ( NuSMVEnv_ptr  env  ) 

Removes the commands provided by the hrc package.


Variable Documentation

cmp_struct_ptr cmps

Shell interface to the hrc package.

Author:
Sergio Mover This file contains the interface of the compile package with the interactive shell.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 14 Oct 2015 for NuSMV Developers Manual by  doxygen 1.6.1