crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianXmlInputLib/Parser/SXILDocument.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     1 /*
       
     2 * Copyright (c) 2009 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 using System;
       
    18 using System.IO;
       
    19 using System.Xml;
       
    20 using System.Text;
       
    21 using System.Collections.Generic;
       
    22 using SymbianTree;
       
    23 
       
    24 namespace SymbianXmlInputLib.Elements
       
    25 {
       
    26     public class SXILDocument : SymDocument, IEnumerable<SXILElement>
       
    27     {
       
    28         #region Constructors
       
    29         public SXILDocument()
       
    30         {
       
    31         }
       
    32         #endregion
       
    33 
       
    34         #region API
       
    35         #endregion
       
    36 
       
    37         #region Properties
       
    38         #endregion
       
    39 
       
    40         #region Internal methods
       
    41         #endregion
       
    42 
       
    43         #region From IEnumerable<SXILElement>
       
    44         public IEnumerator<SXILElement> GetEnumerator()
       
    45         {
       
    46             foreach ( SymNode node in this.Children )
       
    47             {
       
    48                 yield return node as SXILElement;
       
    49             }
       
    50         }
       
    51 
       
    52         System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
       
    53         {
       
    54             foreach ( SymNode node in this.Children )
       
    55             {
       
    56                 yield return node as SXILElement;
       
    57             }
       
    58         }
       
    59         #endregion
       
    60 
       
    61         #region Data members
       
    62         #endregion
       
    63     }
       
    64 }