1.1 --- a/epoc32/include/xml/dom/xmlengdatacontainer.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/xml/dom/xmlengdatacontainer.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,82 +1,63 @@
1.4 -/*
1.5 -* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies).
1.6 -* All rights reserved.
1.7 -* This component and the accompanying materials are made available
1.8 -* 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
1.9 -* which accompanies this distribution, and is available
1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 -*
1.12 -* Initial Contributors:
1.13 -* Nokia Corporation - initial contribution.
1.14 -*
1.15 -* Contributors:
1.16 -*
1.17 -* Description: All binary data functions
1.18 -*
1.19 -*/
1.20 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
1.21 +// All rights reserved.
1.22 +// This component and the accompanying materials are made available
1.23 +// under the terms of "Eclipse Public License v1.0"
1.24 +// which accompanies this distribution, and is available
1.25 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.26 +//
1.27 +// Initial Contributors:
1.28 +// Nokia Corporation - initial contribution.
1.29 +//
1.30 +// Contributors:
1.31 +//
1.32 +// Description:
1.33 +// All binary data functions
1.34 +//
1.35
1.36
1.37
1.38 -
1.39 -
1.40 -
1.41 -
1.42 -#ifndef XMLENGINE_DATACONTAINER_H_INCLUDED
1.43 -#define XMLENGINE_DATACONTAINER_H_INCLUDED
1.44 -
1.45 -#include "xmlengnode.h"
1.46 -
1.47 -
1.48 /**
1.49 -* TXmlEngDataContainer is a class for representing different types
1.50 -* of binary data in DOM tree.
1.51 -*
1.52 -* It can be cusom-serialized using MXmlEngDataSerializer interface which can
1.53 -* be set in TXmlEngSerializationOptions used for saving the tree.
1.54 -*
1.55 -* @lib XmlEngineDOM.lib
1.56 -* @since S60 v3.2
1.57 + @file
1.58 + @publishedAll
1.59 + @released
1.60 +*/
1.61 +#ifndef XMLENGDATACONTAINER_H
1.62 +#define XMLENGDATACONTAINER_H
1.63 +
1.64 +#include <xml/dom/xmlengnode.h>
1.65 +
1.66 +/**
1.67 +This class represents different types of binary data in DOM tree.
1.68 +
1.69 +It can be custom-serialized using the MXmlEngDataSerializer interface which can
1.70 +be set in the TXmlEngSerializationOptions used for saving the tree.
1.71 */
1.72 class TXmlEngDataContainer : public TXmlEngNode
1.73 {
1.74 public:
1.75
1.76 - /**
1.77 - * Get CID of data container.
1.78 - *
1.79 - * @since S60 v3.2
1.80 - * @return Cid of data container
1.81 - *
1.82 - */
1.83 + /** Get CID of data container.
1.84 + @return Cid of data container
1.85 + */
1.86 IMPORT_C TPtrC8 Cid() const;
1.87
1.88 - /**
1.89 - * Get data size in bytes
1.90 - *
1.91 - * @since S60 v3.1
1.92 - * @return Number of bytes occupied by data
1.93 - */
1.94 + /** Get data size in bytes
1.95 + @return Number of bytes occupied by data
1.96 + */
1.97 IMPORT_C TUint Size() const;
1.98
1.99 protected:
1.100 - /**
1.101 - * Default constructor
1.102 - *
1.103 - * @since S60 v3.1
1.104 - */
1.105 + /** Default constructor */
1.106 inline TXmlEngDataContainer();
1.107
1.108 /**
1.109 - * Constructor
1.110 - *
1.111 - * @since S60 v3.1
1.112 - * @param aInternal node pointer
1.113 - */
1.114 + Constructor
1.115 + @param aInternal node pointer
1.116 + */
1.117 inline TXmlEngDataContainer(void* aInternal);
1.118 };
1.119 +
1.120 +#include <xml/dom/xmlengdatacontainer.inl>
1.121
1.122 +#endif /* XMLENGDATACONTAINER_H */
1.123
1.124 -
1.125 -#include "xmlengdatacontainer.inl"
1.126 -
1.127 -#endif /* XMLENGINE_DATACONTAINER_H_INCLUDED */