2 * Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Inline function implementations of class TAiwVariant.
23 inline TAiwVariant::TAiwVariant() : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
30 inline TAiwVariant::TAiwVariant(TInt32 aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
35 inline TAiwVariant::TAiwVariant(const TUid& aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
40 inline TAiwVariant::TAiwVariant(const TDesC& aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
46 inline TAiwVariant::TAiwVariant(const HBufC* aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
55 inline TAiwVariant::TAiwVariant(const TTime& aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
60 inline TAiwVariant::TAiwVariant(const TDesC8& aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
67 inline TAiwVariant::TAiwVariant(const RFile& aValue) : iTypeId(EVariantTypeNull), iPtrC(), iPtrC8()
73 inline TVariantTypeId TAiwVariant::TypeId() const
75 return static_cast<TVariantTypeId>(iTypeId);
78 inline TBool TAiwVariant::IsEmpty() const
80 return (iTypeId == EVariantTypeNull);
83 inline void TAiwVariant::Set(const HBufC* aValue)
88 inline TAiwVariant& TAiwVariant::operator=(TInt32 aValue)
94 inline TAiwVariant& TAiwVariant::operator=(const TUid& aValue)
100 inline TAiwVariant& TAiwVariant::operator=(const TDesC& aValue)
106 inline TAiwVariant& TAiwVariant::operator=(const HBufC* aValue)
112 inline TAiwVariant& TAiwVariant::operator=(const TTime& aValue)
119 inline TAiwVariant& TAiwVariant::operator=(const TDesC8& aValue)
126 inline TAiwVariant& TAiwVariant::operator=(const RFile& aValue)
133 inline TBool operator!=(const TAiwVariant& aLhs, const TAiwVariant& aRhs)
135 return !(aLhs == aRhs);