crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianParserLib/BaseStructures/ParserFieldName.cs
equal
deleted
inserted
replaced
|
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.Collections.Generic; |
|
19 using System.Text; |
|
20 |
|
21 namespace SymbianParserLib.BaseStructures |
|
22 { |
|
23 public class ParserFieldName |
|
24 { |
|
25 #region Constructors |
|
26 public ParserFieldName() |
|
27 { |
|
28 } |
|
29 |
|
30 public ParserFieldName( string aName ) |
|
31 { |
|
32 iName = aName; |
|
33 } |
|
34 |
|
35 internal ParserFieldName( ParserFieldName aCopy ) |
|
36 { |
|
37 iName = aCopy.Name; |
|
38 } |
|
39 #endregion |
|
40 |
|
41 #region API |
|
42 public static implicit operator string( ParserFieldName aFieldName ) |
|
43 { |
|
44 return aFieldName.Name; |
|
45 } |
|
46 #endregion |
|
47 |
|
48 #region Properties |
|
49 public string Name |
|
50 { |
|
51 get { return iName; } |
|
52 set { iName = value; } |
|
53 } |
|
54 #endregion |
|
55 |
|
56 #region Internal methods |
|
57 #endregion |
|
58 |
|
59 #region Internal constants |
|
60 #endregion |
|
61 |
|
62 #region From System.Object |
|
63 public override string ToString() |
|
64 { |
|
65 return Name; |
|
66 } |
|
67 #endregion |
|
68 |
|
69 #region Data members |
|
70 private string iName = string.Empty; |
|
71 #endregion |
|
72 } |
|
73 } |