diff -r 7a31f7298d8f -r 0c91f0baec58 crashanalysercmd/Libraries/File Formats/Plugins/XmlFilePlugin/FileFormat/CXmlFileUtilities.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crashanalysercmd/Libraries/File Formats/Plugins/XmlFilePlugin/FileFormat/CXmlFileUtilities.cs Wed Apr 21 09:51:02 2010 +0300 @@ -0,0 +1,44 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +using System; +using System.Collections.Generic; +using System.Text; +using CrashItemLib.Crash.Symbols; +using SymbianStructuresLib.Debug.Symbols; + +namespace XmlFilePlugin.PluginImplementations.FileFormat +{ + static class CXmlFileUtilities + { + public static bool IsSymbolSerializable(CISymbol aSymbol) + { + bool ret = true; + // + if (aSymbol.IsNull) + { + ret = false; + } + else + { + TSymbolType type = aSymbol.Symbol.Type; + ret = ( type != TSymbolType.EUnknown ); + } + return ret; + } + } + +}