equal
deleted
inserted
replaced
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 |