| //===- OutputCmd.h --------------------------------------------------------===// |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| #ifndef MCLD_SCRIPT_OUTPUTCMD_H_ |
| #define MCLD_SCRIPT_OUTPUTCMD_H_ |
| #include "mcld/Script/ScriptCommand.h" |
| * \brief This class defines the interfaces to Output command. |
| class OutputCmd : public ScriptCommand { |
| explicit OutputCmd(const std::string& pOutputFile); |
| static bool classof(const ScriptCommand* pCmd) { |
| return pCmd->getKind() == ScriptCommand::OUTPUT; |
| void activate(Module& pModule); |
| std::string m_OutputFile; |
| #endif // MCLD_SCRIPT_OUTPUTCMD_H_ |