crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbolLib/Utils/SymbolAddressRange.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.IO; |
|
19 using System.Collections.Generic; |
|
20 using SymbolLib.Generics; |
|
21 using SymbianUtils.Range; |
|
22 |
|
23 namespace SymbolLib.Utils |
|
24 { |
|
25 public class SymbolAddressRange : AddressRangeCollection |
|
26 { |
|
27 #region Constructors |
|
28 public SymbolAddressRange( GenericSymbolCollection aCollection ) |
|
29 { |
|
30 foreach ( GenericSymbol sym in aCollection ) |
|
31 { |
|
32 base.Add( sym.AddressRange ); |
|
33 } |
|
34 } |
|
35 #endregion |
|
36 |
|
37 #region API |
|
38 public bool IsWithinRange( long aValue ) |
|
39 { |
|
40 return base.Contains( (uint) aValue ); |
|
41 } |
|
42 #endregion |
|
43 |
|
44 #region Internal methods |
|
45 #endregion |
|
46 |
|
47 #region Data members |
|
48 #endregion |
|
49 } |
|
50 } |