epoc32/include/xml/dom/xmlengdatacontainer.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/xmlengdatacontainer.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 /*
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:       All binary data functions
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 
    22 
    23 
    24 #ifndef XMLENGINE_DATACONTAINER_H_INCLUDED
    25 #define XMLENGINE_DATACONTAINER_H_INCLUDED
    26 
    27 #include "xmlengnode.h"
    28 
    29 
    30 /**
    31 * TXmlEngDataContainer is a class for representing different types
    32 * of binary data in DOM tree.
    33 *
    34 * It can be cusom-serialized using MXmlEngDataSerializer interface which can 
    35 * be set in TXmlEngSerializationOptions used for saving the tree.
    36 *
    37 * @lib XmlEngineDOM.lib
    38 * @since S60 v3.2
    39 */
    40 class TXmlEngDataContainer : public TXmlEngNode
    41 {
    42 public:
    43 
    44     /**
    45      * Get CID of data container.
    46      *
    47      * @since S60 v3.2
    48      * @return Cid of data container
    49      * 
    50      */
    51     IMPORT_C TPtrC8 Cid() const;
    52         
    53     /**
    54      * Get data size in bytes
    55      *
    56      * @since S60 v3.1
    57      * @return Number of bytes occupied by data
    58      */
    59     IMPORT_C TUint Size() const;
    60 
    61 protected:
    62     /**
    63      * Default constructor
    64 	 *
    65      * @since S60 v3.1
    66      */
    67 	inline TXmlEngDataContainer(); 
    68 
    69     /**
    70      * Constructor
    71      *
    72      * @since S60 v3.1
    73      * @param aInternal node pointer
    74      */
    75 	inline TXmlEngDataContainer(void* aInternal);
    76 };
    77 
    78 
    79  
    80 #include "xmlengdatacontainer.inl"
    81 
    82 #endif /* XMLENGINE_DATACONTAINER_H_INCLUDED */