#include <wxp.h>
Inheritance diagram for wxPresetXMLDescriptor:
Public Member Functions | |
wxPresetXMLDescriptor () | |
virtual | ~wxPresetXMLDescriptor () |
bool | Load (wxInputStream &stream) |
bool | SavePresets (wxOutputStream &stream) |
Saves the s_presetHashMap presets in the given output stream. | |
wxPackageCommandSet | LoadCommandSet (const wxXmlNode *n) |
Loads a <command-set> from the given node. | |
Static Public Member Functions | |
static wxArrayString | GetCommandPresetNamesFor (wxPackageBuildSystemType type) |
TODO. | |
static wxArrayString | GetOptionPresetNamesFor (wxPackageBuildSystemType type) |
TODO. | |
static void | Dump () |
static bool | Load (const wxString &filename) |
Like other Load overload. | |
static bool | SavePresets (const wxString &filename) |
Like other Save overload. | |
Static Public Attributes | |
static wxPackageCommandOptionArrayHashMap | s_hashmapOptions |
The option presets loaded so far. | |
static wxPackageCommandSetHashMap | s_hashmapCommands |
The command presets loaded so far. |
Definition at line 156 of file wxp.h.
bool wxPresetXMLDescriptor::Load | ( | wxInputStream & | stream | ) |
Loads an XML preset descriptor stream and adds the presets to the s_presetHashMap.
Definition at line 518 of file wxp.cpp.
References wxPackageXML::HandleUnknownTag(), wxPackageCommandSet::IsOk(), LoadCommandSet(), wxPackageXML::LoadOptions(), s_hashmapCommands, s_hashmapOptions, wxPackageCommandSet::SetDescription(), and wxPackageCommandOptionArray::SetDescription().
Referenced by Load().