#include <xml/dom/xmlengxformsinstancemap.h>
class CXmlEngXFormsInstanceMap : public CBase |
Public Member Functions | |
---|---|
~CXmlEngXFormsInstanceMap() | |
IMPORT_C void | AddEntryL(RXmlEngDocument &, const TDesC8 &) |
IMPORT_C CXmlEngXFormsInstanceMap * | NewL() |
IMPORT_C CXmlEngXFormsInstanceMap * | NewLC() |
IMPORT_C void | RemoveEntryL(const TDesC8 &) |
This class associates DOM Documents with a string name. Entries can be added and removed.
IMPORT_C | ~CXmlEngXFormsInstanceMap | ( | ) |
Destructor. Frees internal storage, but does not free the Document instances that were added. These are owned by the caller.
IMPORT_C void | AddEntryL | ( | RXmlEngDocument & | aInstance, |
const TDesC8 & | aName | |||
) |
Adds an entry to the map. The document is associated with a name. If an entry with the same name already exists this method does nothing.
Ownership of the document is not transferred.
Parameters | |
---|---|
aInstance | The DOM document to be stored. |
aName | The name that to be associated with the document. |
Leave Codes | |
---|---|
KErrNoMemory | Memory allocation failure |
IMPORT_C CXmlEngXFormsInstanceMap * | NewL | ( | ) | [static] |
Leave Codes | |
---|---|
KErrNoMemory | Memory allocation failure |
IMPORT_C CXmlEngXFormsInstanceMap * | NewLC | ( | ) | [static] |
Leave Codes | |
---|---|
KErrNoMemory | Memory allocation failure |
IMPORT_C void | RemoveEntryL | ( | const TDesC8 & | aName | ) |
Removes an entry from the map. If the entry does not exist, the method does nothing. Note that the document is not freed.
Parameters | |
---|---|
aName | Name of entry to remove. |
Leave Codes | |
---|---|
KErrNoMemory | Memory allocation failure |