decompiler 1.0.0
Public Member Functions | List of all members
IfcOpenfile Class Reference

Open file command to redirect bulk output to a specific file stream. More...

Inheritance diagram for IfcOpenfile:
IfaceBaseCommand IfaceCommand

Public Member Functions

virtual void execute (istream &s)
 
- Public Member Functions inherited from IfaceBaseCommand
virtual void setData (IfaceStatus *root, IfaceData *data)
 Associate a specific data object with this command. More...
 
virtual string getModule (void) const
 Get the formal module name to which this command belongs. More...
 
virtual IfaceDatacreateData (void)
 Create a specialized data object for this command (and its module) More...
 
- Public Member Functions inherited from IfaceCommand
virtual ~IfaceCommand (void)
 Destructor.
 
virtual void setData (IfaceStatus *root, IfaceData *data)=0
 Associate a specific data object with this command. More...
 
virtual void execute (istream &s)=0
 
virtual string getModule (void) const =0
 Get the formal module name to which this command belongs. More...
 
virtual IfaceDatacreateData (void)=0
 Create a specialized data object for this command (and its module) More...
 
void addWord (const string &temp)
 Add a token to the command line string associated with this command. More...
 
void removeWord (void)
 Remove the last token from the associated command line string.
 
const string & getCommandWord (int4 i) const
 Get the i-th command token.
 
void addWords (const vector< string > &wordlist)
 Add words to the associated command line string.
 
int4 numWords (void) const
 Return the number of tokens in the command line string.
 
void commandString (string &res) const
 Get the complete command line string. More...
 
int4 compare (const IfaceCommand &op2) const
 Order two commands by their command line strings. More...
 

Additional Inherited Members

- Protected Attributes inherited from IfaceBaseCommand
IfaceStatusstatus
 The interface owning this command instance.
 

Detailed Description

Open file command to redirect bulk output to a specific file stream.

Member Function Documentation

◆ execute()

void IfcOpenfile::execute ( istream &  s)
virtual

Execute this command. Additional state can be read from the given command line stream. Otherwise, the command gets its data from its registered IfaceData object

Parameters
sis the input stream from the command line

Implements IfaceCommand.

References IfaceStatus::fileoptr, IfaceStatus::optr, and IfaceBaseCommand::status.


The documentation for this class was generated from the following files: