#include <packagecmd.h>
Public Member Functions | |
wxPackageCommand (const wxString &str=wxEmptyString, const wxString &path=wxEmptyString, const wxPackageCondition &cond=wxEmptyPackageCondition) | |
Default constructor does nothing. | |
wxPackageCommand & | operator= (const wxString &cmd) |
void | AddKeyword (const wxString &name, const wxString &value) |
void | AddKeywords (const wxArrayString &names, const wxArrayString &values) |
void | AddKeywords (const wxStringHashMap &hash) |
operator wxString () const | |
bool | IsOk () const |
void | UpdateWorkingDirectory (const wxString &decompressionpath) const |
long | Run (wxProcess *proc=NULL) const |
wxPackageCondition & | GetCondition () |
const wxPackageCondition & | GetCondition () const |
wxString | GetCommand () const |
wxString | GetWorkingPath () const |
wxString | GetProgram () const |
wxString | GetProgramWithPath (const wxCompilerSettings &) const |
wxString | GetProgramArguments () const |
wxStringHashMap & | GetKeywords () |
void | SetCondition (const wxPackageCondition &cnd) |
void | SetCommand (const wxString &cmd) |
void | SetWorkingPath (const wxString &path) |
Protected Attributes | |
wxString | m_strCmd |
wxString | m_strPath |
wxPackageCondition | m_cond |
The condition for this command. | |
wxStringHashMap | m_hashmapKeywords |
Definition at line 35 of file packagecmd.h.
wxString wxPackageCommand::m_strPath [protected] |
The working directory where the command should be launched. If empty is the decompression directory of the package owning *this.
Definition at line 114 of file packagecmd.h.
Referenced by GetWorkingPath(), and SetWorkingPath().
wxStringHashMap wxPackageCommand::m_hashmapKeywords [protected] |
A set of keywords which are substituted in the command and in its working path by GetSubstitutedCmd.
Definition at line 121 of file packagecmd.h.
Referenced by AddKeyword(), GetCommand(), GetKeywords(), and GetWorkingPath().