Inheritance diagram for DTNOpenCommand:
Definition at line 65 of file dtntest.cc.
Public Member Functions | |
void | init_opts () |
DTNOpenCommand () | |
int | exec (int argc, const char **argv, Tcl_Interp *interp) |
Override this to parse the list of arguments as strings. | |
Public Attributes | |
oasys::OptParser | parser_ |
OpenOpts | opts_ |
Classes | |
struct | OpenOpts |
DTNOpenCommand::DTNOpenCommand | ( | ) | [inline] |
Definition at line 79 of file dtntest.cc.
References oasys::OptParser::addopt(), opts_, parser_, and DTNOpenCommand::OpenOpts::version_.
void DTNOpenCommand::init_opts | ( | ) | [inline] |
Definition at line 75 of file dtntest.cc.
References DTN_IPC_VERSION, opts_, and DTNOpenCommand::OpenOpts::version_.
Referenced by exec().
int DTNOpenCommand::exec | ( | int | argc, | |
const char ** | argv, | |||
Tcl_Interp * | interp | |||
) | [inline, virtual] |
Override this to parse the list of arguments as strings.
argc | Argument count | |
argv | Argument values | |
interp | Tcl interpreter |
Reimplemented from oasys::TclCommand.
Definition at line 83 of file dtntest.cc.
References dtn_open(), dtn_strerror(), DTN_SUCCESS, dtnipc_version, handle, init_opts(), opts_, oasys::OptParser::parse(), parser_, oasys::TclCommand::resultf(), DTNOpenCommand::OpenOpts::version_, and oasys::TclCommand::wrong_num_args().