epoc32/include/mw/aiwgenericparam.inl
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/aiwgenericparam.inl	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/aiwgenericparam.inl	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,71 @@
     1.4 -aiwgenericparam.inl
     1.5 +/*
     1.6 +* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:     Inline function implementations of class TAiwGenericParam.
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +inline TAiwGenericParam::TAiwGenericParam() :
    1.27 +    iSemanticId(EGenericParamUnspecified), iValue()
    1.28 +    {
    1.29 +    }
    1.30 +
    1.31 +inline TAiwGenericParam::TAiwGenericParam(TGenericParamId aSemanticId) :
    1.32 +    iSemanticId(aSemanticId), iValue()
    1.33 +    {
    1.34 +    }
    1.35 +
    1.36 +inline TAiwGenericParam::TAiwGenericParam(TGenericParamId aSemanticId, 
    1.37 +    const TAiwVariant& aValue) : 
    1.38 +    iSemanticId(aSemanticId), iValue(aValue)
    1.39 +    {
    1.40 +    }
    1.41 +
    1.42 +inline void TAiwGenericParam::SetSemanticId(TGenericParamId aSemanticId)
    1.43 +    {
    1.44 +    iSemanticId = aSemanticId;
    1.45 +    }
    1.46 +
    1.47 +inline TGenericParamId TAiwGenericParam::SemanticId() const
    1.48 +    {
    1.49 +    return iSemanticId;
    1.50 +    }
    1.51 +
    1.52 +inline TAiwVariant& TAiwGenericParam::Value()
    1.53 +    {
    1.54 +    return iValue;
    1.55 +    }
    1.56 +
    1.57 +inline const TAiwVariant& TAiwGenericParam::Value() const
    1.58 +    {
    1.59 +    return iValue;
    1.60 +    }
    1.61 +
    1.62 +inline void TAiwGenericParam::Reset()
    1.63 +    {
    1.64 +    iSemanticId = EGenericParamUnspecified;
    1.65 +    iValue.Reset();
    1.66 +    }
    1.67 +
    1.68 +inline TBool operator!=(const TAiwGenericParam& aLhs, 
    1.69 +    const TAiwGenericParam& aRhs)
    1.70 +    {
    1.71 +    return !(aLhs == aRhs);
    1.72 +    }
    1.73 +
    1.74 +// End of file
    1.75 +