TXmlEngFileContainer Class Reference

Link against: xmlengineDOM.lib


#include <
xmlengfilecontainer.h>

Inherits TXmlEngDataContainer.


Detailed Description

Instance of TXmlEngFileContainer class represents data stored in RFile in DOM tree.

RFile container is treated in general as text nodes in DOM tree. Some of the fields in xmlNode structure are reused in order to save memory. Data is stored in file system referenced to by RFile handle.

Sample code for creating filecontainer:

      RXmlEngDOMImplementation domImpl;
      domImpl.OpenL();        
      RXmlEngDocument iDoc; 
      TXmlEngElement elem = iDoc.CreateDocumentElementL(_L8("doc"));
      TXmlEngFileContainer binData = iDoc.CreateFileContainerL(cid, file1);
      elem.AppendChildL(binData);      
      iDoc.Close();               
      domImpl.Close();
Dll XmlEngineDOM.lib
Since:
S60 v3.2

Public Member Functions

IMPORT_C RFile & File () const
 Get RFile reference.

Protected Member Functions

 TXmlEngFileContainer ()
 Default constructor.
 TXmlEngFileContainer (void *aInternal)
 Constructor.

Constructor & Destructor Documentation

TXmlEngFileContainer::TXmlEngFileContainer  )  [inline, protected]
 

Default constructor.

Since:
S60 v3.1
TXmlEngFileContainer::TXmlEngFileContainer void aInternal  )  [inline, protected]
 

Constructor.

Since:
S60 v3.1
Parameters:
aInternal node pointer

Member Function Documentation

IMPORT_C RFile& TXmlEngFileContainer::File  )  const
 

Get RFile reference.

Since:
S60 v3.2
Returns:
RFile reference

The documentation for this class was generated from the following files:

Copyright © Nokia Corporation 2001-2007
Back to top