epoc32/include/xmlengnodelist.inl
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/xmlengnodelist.inl	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,86 +0,0 @@
     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:       Node list inline functions
    1.18 -*
    1.19 -*/
    1.20 -
    1.21 -
    1.22 -
    1.23 -
    1.24 -
    1.25 -
    1.26 -
    1.27 -
    1.28 -
    1.29 -// -----------------------------------------------------------------------------
    1.30 -// Retrieves number of items in node list
    1.31 -// -----------------------------------------------------------------------------
    1.32 -//
    1.33 -template<class T> inline TInt RXmlEngNodeList<T>::Count() const
    1.34 -    {
    1.35 -    return iList.Count();
    1.36 -    }
    1.37 -    
    1.38 -// -----------------------------------------------------------------------------
    1.39 -// Returns true if this node has next sibling, false otherwise.
    1.40 -// -----------------------------------------------------------------------------
    1.41 -//
    1.42 -template<class T> inline TBool RXmlEngNodeList<T>::HasNext() const
    1.43 -    {
    1.44 -    return iList.HasNext();
    1.45 -    }    
    1.46 -
    1.47 -// -----------------------------------------------------------------------------
    1.48 -// Retrieves next node
    1.49 -// -----------------------------------------------------------------------------
    1.50 -//
    1.51 -template<class T> inline T RXmlEngNodeList<T>::Next()
    1.52 -    {
    1.53 -    TXmlEngNode t = iList.Next(); 
    1.54 -    return *(static_cast<T*>(&t));
    1.55 -    }
    1.56 -
    1.57 -// -----------------------------------------------------------------------------
    1.58 -// Closes node list
    1.59 -// -----------------------------------------------------------------------------
    1.60 -//
    1.61 -template<class T> inline void RXmlEngNodeList<T>::Close()
    1.62 -    {
    1.63 -    iList.Close();
    1.64 -    }
    1.65 -
    1.66 -// -----------------------------------------------------------------------------
    1.67 -// Opens node list
    1.68 -// -----------------------------------------------------------------------------
    1.69 -//
    1.70 -template<class T> inline void RXmlEngNodeList<T>::OpenL( 
    1.71 -			void* aHead,
    1.72 -			TXmlEngNode::TXmlEngDOMNodeType aType,
    1.73 -			const TDesC8&	aName,
    1.74 -			const TDesC8&	aNs) 
    1.75 -    {
    1.76 -    iList.OpenL(aHead, aType, aName, aNs);    
    1.77 -    }
    1.78 -
    1.79 -// -----------------------------------------------------------------------------
    1.80 -// Opens node list
    1.81 -// -----------------------------------------------------------------------------
    1.82 -//
    1.83 -template<class T> inline void RXmlEngNodeList<T>::Open( 
    1.84 -			void* aHead,
    1.85 -			TXmlEngNode::TXmlEngDOMNodeType aType)
    1.86 -    {
    1.87 -    iList.Open(aHead, aType);    
    1.88 -    }
    1.89 -