Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Node list inline functions
24 #ifndef XMLENGINE_NODELIST_H_INCLUDED
25 #define XMLENGINE_NODELIST_H_INCLUDED
27 #include "xmlengnode.h"
28 #include "xmlengnodelist_impl.h"
33 * Template implements list container.
35 * List may contain different types of nodes.
36 * Node pointer is casted to specify node type when
37 * is returned by Next() method.
39 * @lib XmlEngineDOM.lib
50 * @return Number of nodes in a node list
52 inline TInt Count() const;
55 * Checks whether next node exists in a node list
58 * @return TRUE if next node exists, FALSE otherwise
60 inline TBool HasNext() const;
63 * Retrieves next node from a node list
78 friend class TXmlEngNode;
79 friend class TXmlEngElement;
85 * @param aHead node pointer to the node from which the searching
86 of list elements is started
87 * @param aType type of list elements
88 * @param aName name of list elements
89 * @param aNs namespace of list elements
91 * @note If aType is NULL, aName and aNs are ignored
95 TXmlEngNode::TXmlEngDOMNodeType aType,
96 const TDesC8& aName = KNullDesC8,
97 const TDesC8& aNs = KNullDesC8);
103 * @param aHead node pointer to the node from which the searching
104 of list elements is started
105 * @param aType type of list elements
109 TXmlEngNode::TXmlEngDOMNodeType aType);
111 /** List with nodes */
112 RXmlEngNodeListImpl iList;
116 * Template implements list container for nodes.
118 * Specialization for trivial case: list of TXmlEngNode objects
119 * No "thin wrapper" pattern needed, operate directly on NodeListImpl
121 * @lib XmlEngineDOM.lib
125 class RXmlEngNodeList<TXmlEngNode>: public RXmlEngNodeListImpl {};
129 #include "xmlengnodelist.inl"
131 #endif /* XMLENGINE_NODELIST_H_INCLUDED */