upnpmediaserver/contentdirectoryservice/inc/upnpelementbean.inl
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /** @file
       
     2 * Copyright (c) 2002-2004 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:  Element table data handler - inline functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ============================ MEMBER FUNCTIONS ===============================
       
    20 // -----------------------------------------------------------------------------
       
    21 // CUpnpElementBean::SetElmId
       
    22 // (other items were commented in a header).
       
    23 // -----------------------------------------------------------------------------
       
    24 //
       
    25 inline void CUpnpElementBean::SetElmId(TInt aElId)
       
    26 {
       
    27         iElmId = aElId;
       
    28 }
       
    29 // -----------------------------------------------------------------------------
       
    30 // CUpnpElementBean::SetElmHasAttribute
       
    31 // (other items were commented in a header).
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 inline void CUpnpElementBean::SetElmHasAttribute(TBool aElmHasAttribute)
       
    35 {
       
    36         iElmHasAttribute = aElmHasAttribute;
       
    37 }
       
    38 // -----------------------------------------------------------------------------
       
    39 // CUpnpElementBean::SetElmIsRequired
       
    40 // (other items were commented in a header).
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 inline void CUpnpElementBean::SetElmIsRequired(TBool aElmIsRequired)
       
    44 {
       
    45         iElmIsRequired = aElmIsRequired;
       
    46 }
       
    47 // -----------------------------------------------------------------------------
       
    48 // CUpnpElementBean::SetElmObjId
       
    49 // (other items were commented in a header).
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 inline void CUpnpElementBean::SetElmObjId(TInt aElmObjId)
       
    53 {
       
    54         iElmObjId = aElmObjId;
       
    55 }
       
    56 // -----------------------------------------------------------------------------
       
    57 // CUpnpElementBean::ElmId
       
    58 // (other items were commented in a header).
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 inline TInt CUpnpElementBean::ElmId() const
       
    62 {
       
    63         return iElmId;
       
    64 }
       
    65 // -----------------------------------------------------------------------------
       
    66 // CUpnpElementBean::ElmHasAttribute
       
    67 // (other items were commented in a header).
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 inline TBool CUpnpElementBean::ElmHasAttribute() const
       
    71 {
       
    72         return iElmHasAttribute;
       
    73 }
       
    74 // -----------------------------------------------------------------------------
       
    75 // CUpnpElementBean::ElmIsRequired
       
    76 // (other items were commented in a header).
       
    77 // -----------------------------------------------------------------------------
       
    78 //
       
    79 inline TBool CUpnpElementBean::ElmIsRequired() const
       
    80 {
       
    81         return iElmIsRequired;
       
    82 }
       
    83 // -----------------------------------------------------------------------------
       
    84 // CUpnpElementBean::ElmValue
       
    85 // (other items were commented in a header).
       
    86 // -----------------------------------------------------------------------------
       
    87 //
       
    88 inline TDesC8& CUpnpElementBean::ElmValue() const
       
    89 {
       
    90         return *iElmValue;
       
    91 }
       
    92 // -----------------------------------------------------------------------------
       
    93 // CUpnpElementBean::ElmObjId
       
    94 // (other items were commented in a header).
       
    95 // -----------------------------------------------------------------------------
       
    96 //
       
    97 inline TInt CUpnpElementBean::ElmObjId() const
       
    98 {
       
    99         return iElmObjId;
       
   100 }
       
   101 
       
   102 // End of File