upnpmediaserver/contentdirectoryservice/inc/upnpobjectbean.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 // -----------------------------------------------------------------------------
       
    22 // CUpnpObjectBean::SetObjSearchable
       
    23 // (other items were commented in a header).
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline void CUpnpObjectBean::SetObjSearchable(TInt aObjSearchable)
       
    27 {
       
    28         iObjSearchable = aObjSearchable;
       
    29 }
       
    30 // -----------------------------------------------------------------------------
       
    31 // CUpnpObjectBean::SetObjId
       
    32 // (other items were commented in a header).
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 inline void CUpnpObjectBean::SetObjId(TInt aObjId)
       
    36 {
       
    37         iObjId = aObjId;
       
    38 }
       
    39 // -----------------------------------------------------------------------------
       
    40 // CUpnpObjectBean::SetObjParentId
       
    41 // (other items were commented in a header).
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 inline void CUpnpObjectBean::SetObjParentId(TInt aObjParentId)
       
    45 {
       
    46         iObjParentId = aObjParentId;
       
    47 }
       
    48 // -----------------------------------------------------------------------------
       
    49 // CUpnpObjectBean::SetObjRestricted
       
    50 // (other items were commented in a header).
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 inline void CUpnpObjectBean::SetObjRestricted(TBool aObjRestricted)
       
    54 {
       
    55         iObjRestricted = aObjRestricted;
       
    56 }
       
    57 // -----------------------------------------------------------------------------
       
    58 // CUpnpObjectBean::SetObjRefId
       
    59 // (other items were commented in a header).
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 inline void CUpnpObjectBean::SetObjRefId(TInt aObjRefId)
       
    63 {
       
    64         iObjRefId = aObjRefId;
       
    65 }
       
    66 // -----------------------------------------------------------------------------
       
    67 // CUpnpObjectBean::ObjId
       
    68 // (other items were commented in a header).
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 inline TInt CUpnpObjectBean::ObjId() const
       
    72 {
       
    73         return iObjId;
       
    74 }
       
    75 // -----------------------------------------------------------------------------
       
    76 // CUpnpObjectBean::ObjParentID
       
    77 // (other items were commented in a header).
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 inline TInt CUpnpObjectBean::ObjParentId() const
       
    81 {
       
    82         return iObjParentId;
       
    83 }
       
    84 // -----------------------------------------------------------------------------
       
    85 // CUpnpObjectBean::ObjTitle
       
    86 // (other items were commented in a header).
       
    87 // -----------------------------------------------------------------------------
       
    88 //
       
    89 inline TDesC8& CUpnpObjectBean::ObjTitle() const
       
    90 {
       
    91         return *iObjTitle;
       
    92 }
       
    93 // -----------------------------------------------------------------------------
       
    94 // CUpnpObjectBean::ObjClass
       
    95 // (other items were commented in a header).
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 inline TDesC8& CUpnpObjectBean::ObjClass() const
       
    99 {
       
   100         return *iObjClass;
       
   101 }
       
   102 // -----------------------------------------------------------------------------
       
   103 // CUpnpObjectBean::ObjRestricted
       
   104 // (other items were commented in a header).
       
   105 // -----------------------------------------------------------------------------
       
   106 //
       
   107 inline TBool CUpnpObjectBean::ObjRestricted() const
       
   108 {
       
   109         return iObjRestricted;
       
   110 }
       
   111 
       
   112 // -----------------------------------------------------------------------------
       
   113 // CUpnpObjectBean::ObjSearchable
       
   114 // (other items were commented in a header).
       
   115 // -----------------------------------------------------------------------------
       
   116 //
       
   117 inline TBool CUpnpObjectBean::ObjSearchable() const
       
   118 {
       
   119         return iObjSearchable;
       
   120 }
       
   121 // -----------------------------------------------------------------------------
       
   122 // CUpnpObjectBean::ObjRefId
       
   123 // (other items were commented in a header).
       
   124 // -----------------------------------------------------------------------------
       
   125 //
       
   126 inline TInt CUpnpObjectBean::ObjRefId() const
       
   127 {
       
   128         return iObjRefId;
       
   129 }
       
   130 // End of File