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
26 // -----------------------------------------------------------------------------
27 // Retrieves number of items in node list
28 // -----------------------------------------------------------------------------
30 template<class T> inline TInt RXmlEngNodeList<T>::Count() const
35 // -----------------------------------------------------------------------------
36 // Returns true if this node has next sibling, false otherwise.
37 // -----------------------------------------------------------------------------
39 template<class T> inline TBool RXmlEngNodeList<T>::HasNext() const
41 return iList.HasNext();
44 // -----------------------------------------------------------------------------
45 // Retrieves next node
46 // -----------------------------------------------------------------------------
48 template<class T> inline T RXmlEngNodeList<T>::Next()
50 TXmlEngNode t = iList.Next();
51 return *(static_cast<T*>(&t));
54 // -----------------------------------------------------------------------------
56 // -----------------------------------------------------------------------------
58 template<class T> inline void RXmlEngNodeList<T>::Close()
63 // -----------------------------------------------------------------------------
65 // -----------------------------------------------------------------------------
67 template<class T> inline void RXmlEngNodeList<T>::OpenL(
69 TXmlEngNode::TXmlEngDOMNodeType aType,
73 iList.OpenL(aHead, aType, aName, aNs);
76 // -----------------------------------------------------------------------------
78 // -----------------------------------------------------------------------------
80 template<class T> inline void RXmlEngNodeList<T>::Open(
82 TXmlEngNode::TXmlEngDOMNodeType aType)
84 iList.Open(aHead, aType);