upnpmediaserver/contentdirectoryservice/inc/upnpattributebean.inl
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /** @file
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies  this distribution, and is available 
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Attribute table data handler - inline functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ============================ MEMBER FUNCTIONS ===============================
       
    20 
       
    21 // -----------------------------------------------------------------------------
       
    22 // CUpnpAttributeBean::SetAtrId
       
    23 // (other items were commented in a header).
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline void CUpnpAttributeBean::SetAtrId(TInt aElId)
       
    27 {
       
    28         iAtrId = aElId;
       
    29 }
       
    30 // -----------------------------------------------------------------------------
       
    31 // CUpnpAttributeBean::SetAtrIsRequired
       
    32 // (other items were commented in a header).
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 inline void CUpnpAttributeBean::SetAtrIsRequired(TBool aAtrIsRequired)
       
    36 {
       
    37         iAtrIsRequired = aAtrIsRequired;
       
    38 }
       
    39 // -----------------------------------------------------------------------------
       
    40 // CUpnpAttributeBean::SetAtrObjId
       
    41 // (other items were commented in a header).
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 inline void CUpnpAttributeBean::SetAtrElmId(TInt aAtrElmId)
       
    45 {
       
    46         iAtrElmId = aAtrElmId;
       
    47 }
       
    48 // -----------------------------------------------------------------------------
       
    49 // CUpnpAttributeBean::AtrId
       
    50 // (other items were commented in a header).
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 inline TInt CUpnpAttributeBean::AtrId() const
       
    54 {
       
    55         return iAtrId;
       
    56 }
       
    57 // -----------------------------------------------------------------------------
       
    58 // CUpnpAttributeBean::AtrName
       
    59 // (other items were commented in a header).
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 inline TDesC8& CUpnpAttributeBean::AtrName() const
       
    63 {
       
    64         return *iAtrName;
       
    65 }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // CUpnpAttributeBean::AtrIsRequired
       
    69 // (other items were commented in a header).
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 inline TBool CUpnpAttributeBean::AtrIsRequired() const
       
    73 {
       
    74         return iAtrIsRequired;
       
    75 }
       
    76 // -----------------------------------------------------------------------------
       
    77 // CUpnpAttributeBean::AtrValue
       
    78 // (other items were commented in a header).
       
    79 // -----------------------------------------------------------------------------
       
    80 //
       
    81 inline TDesC8& CUpnpAttributeBean::AtrValue() const
       
    82 {
       
    83         return *iAtrValue;
       
    84 }
       
    85 // -----------------------------------------------------------------------------
       
    86 // CUpnpAttributeBean::AtrObjId
       
    87 // (other items were commented in a header).
       
    88 // -----------------------------------------------------------------------------
       
    89 //
       
    90 inline TInt CUpnpAttributeBean::AtrElmId() const
       
    91 {
       
    92         return iAtrElmId;
       
    93 }
       
    94 
       
    95 // End of File