wxPresetXMLDescriptor Class Reference

An XML document which describes presets (of options only currently). More...

#include <wxp.h>

Inheritance diagram for wxPresetXMLDescriptor:

wxPackageXML List of all members.

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.

Detailed Description

An XML document which describes presets (of options only currently).

Definition at line 156 of file wxp.h.


Member Function Documentation

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


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