wxPackageCommand Class Reference

#include <packagecmd.h>

List of all members.

Public Member Functions

 wxPackageCommand (const wxString &str=wxEmptyString, const wxString &path=wxEmptyString, const wxPackageCondition &cond=wxEmptyPackageCondition)
 Default constructor does nothing.
wxPackageCommandoperator= (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
wxPackageConditionGetCondition ()
const wxPackageConditionGetCondition () 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


Detailed Description

A simple command which can be executed using wxExecute. It can contain variables enclosed by $(...). They can be evaluated using Evaluate.

Definition at line 35 of file packagecmd.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Feb 1 22:14:32 2007 for wxWidgets Package Manager by  doxygen 1.5.1-p1