#include <packagecmd.h>
Inheritance diagram for wxPackageCommandArray:

Public Member Functions | |
| wxPackageCommandArray (wxPackageBuildSystemStage s=wxPBSS_BUILD) | |
| Default constructor does nothing. | |
| bool | IsOk () const |
| void | AddKeywords (const wxArrayString &names, const wxArrayString &values) |
| Adds given keywords to all commands of this array. | |
| void | AddKeywords (const wxStringHashMap &hash) |
| wxArrayString & | GetTargets () |
| Returns the targets supported by this array of commands. | |
| wxArrayString | GetTargets () const |
| wxString | GetTargetsStr () const |
| wxPackageBuildSystemStage | GetStage () const |
| wxPackageCommand | GetSubstitutedCmd (size_t n) const |
| Does the substitution and others in the n-th command and returns it. | |
| wxPackageCommandArray | GetValidCommandsFor (const wxPackage &) const |
| wxString | GetSelectedTarget () const |
| void | SetTargets (const wxString &str) |
| void | SetTargets (const wxArrayString &str) |
| void | SetSelectedTarget (size_t n) |
| void | CopyTargets (const wxPackageCommandArray &arr) |
Protected Attributes | |
| wxArrayString | m_arrTargets |
| The possible targets which can be invoked for this stage. | |
| size_t | m_nSelectedTarget |
| The currently selected target for this array of commands. | |
| wxPackageBuildSystemStage | m_stage |
| The stage of the commands of this array. | |
Definition at line 135 of file packagecmd.h.
| wxPackageCommandArray wxPackageCommandArray::GetValidCommandsFor | ( | const wxPackage & | ) | const |
Returns an array containing only the commands whose condition->IsValid() function returns true for the given package.
Definition at line 130 of file packagecmd.cpp.
References CopyTargets().
Referenced by wxExtCmdProgressPanel::UpdateCachedCommands(), and wxExtCmdOptionsPanel::UpdateCommands().
| wxString wxPackageCommandArray::GetSelectedTarget | ( | ) | const [inline] |
Returns the currently selected target which can be used for substitution of the keyword.
Definition at line 188 of file packagecmd.h.
References m_arrTargets, and m_nSelectedTarget.
Referenced by GetSubstitutedCmd().
1.5.1-p1