secureswitools/swisistools/source/sisxlibrary/sisstring.h
branchRCL_3
changeset 62 5cc91383ab1e
parent 0 ba25891c3a9e
child 81 42552535c1ac
equal deleted inserted replaced
61:cd189dac02f7 62:5cc91383ab1e
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   259 	{
   259 	{
   260 	if (aString == NULL)
   260 	if (aString == NULL)
   261 		{
   261 		{
   262 		return true;
   262 		return true;
   263 		}
   263 		}
   264 	return iData.compare (aString) != 0;
   264 	return wcscmp(iData.c_str(), aString) != 0;
   265 	}
   265 	}
   266 
   266 
   267 
   267 
   268 inline bool CSISString::empty () const
   268 inline bool CSISString::empty () const
   269 	{
   269 	{
   276 	}
   276 	}
   277 
   277 
   278 inline void CSISString::AddPackageEntry(std::wostream& aStream, bool aVerbose) const
   278 inline void CSISString::AddPackageEntry(std::wostream& aStream, bool aVerbose) const
   279 	{
   279 	{
   280 	(void)aVerbose;
   280 	(void)aVerbose;
   281 	aStream << iData;
   281 	aStream << iData.c_str();
   282 	}
   282 	}
   283 
   283 
   284 #endif // __SISSTRING_H__
   284 #endif // __SISSTRING_H__
   285 
   285