crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianXmlInputLib/Elements/Types/FileSystem/SXILElementFile.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 
       
    23 namespace SymbianXmlInputLib.Elements.Types.FileSystem
       
    24 {
       
    25     public class SXILElementFile : SXILElementFileSystem
       
    26     {
       
    27         #region Constructors
       
    28         internal SXILElementFile( FileInfo aFile )
       
    29         {
       
    30             iFile = aFile;
       
    31         }
       
    32         #endregion
       
    33 
       
    34         #region API
       
    35         #endregion
       
    36 
       
    37         #region Properties
       
    38         public override bool Exists
       
    39         {
       
    40             get { return iFile.Exists; }
       
    41         }
       
    42 
       
    43         public override string Name
       
    44         {
       
    45             get { return iFile.FullName; }
       
    46             set { iFile = new FileInfo( value ); }
       
    47         }
       
    48         #endregion
       
    49 
       
    50         #region Operators
       
    51         public static implicit operator FileInfo( SXILElementFile aElement )
       
    52         {
       
    53             return aElement.iFile;
       
    54         }
       
    55         #endregion
       
    56 
       
    57         #region Internal methods
       
    58         #endregion
       
    59 
       
    60         #region Data members
       
    61         private FileInfo iFile;
       
    62         #endregion
       
    63     }
       
    64 }