CTC++ Coverage Report - Execution Profile #11/43
Directory Summary | Files Summary | Functions Summary | Execution Profile
To files: First | Previous | Next | Last | Index | No Index
File: \meco_domain\conversations\uiservicetab\internal\tsrc\vimpstcmdprocess_utest\src\stub\s_mvpbkcontactlinkstub.cpp
Instrumentation mode: function-decision
TER: 12 % ( 2/ 17)

Start/ | End/ |  |  |
True | False | - | Line | Source
| 1 | /*
| 2 | * ==============================================================================
| 3 | * Name : s_MVPbkContactLinkstub.cpp
| 4 | * Part of : Virtual Phonebook / VPbkEng.dll
| 5 | * Description : Virtual Phonebook contact link for referencing contacts
| 6 | * in different stores.
| 7 | * Version : %version: 1 %
| 8 | *
| 9 | * Copyright © 2002-2007 Nokia. All rights reserved.
| 10 | * This material, including documentation and any related computer
| 11 | * programs, is protected by copyright controlled by Nokia. All
| 12 | * rights are reserved. Copying, including reproducing, storing,
| 13 | * adapting or translating, any or all of this material requires the
| 14 | * prior written consent of Nokia. This material also contains
| 15 | * confidential information which may not be disclosed to others
| 16 | * without the prior written consent of Nokia.
| 17 | * ============================================================================
| 18 | */
| 19 |
| 20 | // INCLUDES
| 21 | #include "s_MVPbkContactLinkstub.h"
| 22 |
76 | 0 |  | 23 | MVPbkContactLink* CVPbkContactLinkStub::NewL()
| 24 | {
| 25 | MVPbkContactLink* list = new(ELeave)CVPbkContactLinkStub;
76 |  |  | 26 | return list;
| 27 | }
| 28 |
| 29 | /**
| 30 | * Returns the contact store which this link belongs to.
| 31 | * @return Contact store associated with this link.
| 32 | */
0 | 0 | - | 33 | MVPbkContactStore& CVPbkContactLinkStub::ContactStore() const
| 34 | {
| 35 | MVPbkContactStore* ret=NULL;
0 |  | - | 36 | return *ret;
| 37 | }
| 38 |
| 39 | /**
| 40 | * Returns ETrue if this link refers to the same contact than
| 41 | * aOther, EFalse otherwise.
| 42 | * @param aOther Contact to check equality for.
| 43 | * @return ETrue if this link refers to the same contact than
| 44 | * aOther, EFalse otherwise.
| 45 | */
0 | 0 | - | 46 | TBool CVPbkContactLinkStub::IsSame(const MVPbkContactLink& aOther) const
| 47 | {
0 | 0 | - | 48 | if (this == &aOther)
0 |  | - | 49 | return ETrue;
| 50 |
0 |  | - | 51 | return EFalse;
| 52 | }
| 53 |
| 54 | /**
| 55 | * Checks if this link refers to the contact aContact.
| 56 | * @param aContact Contact to check.
| 57 | * @return ETrue if this link refers to aContact, EFalse otherwise.
| 58 | */
0 | 0 | - | 59 | TBool CVPbkContactLinkStub::RefersTo(const MVPbkBaseContact& /*aContact*/) const
| 60 | {
0 |  | - | 61 | return ETrue;
| 62 | }
| 63 |
| 64 | /**
| 65 | * Returns persistent streaming interface for this object, or NULL
| 66 | * if persistent streaming is not supported.
| 67 | * @return Persistent streaming object or NULL if not supported.
| 68 | */
0 | 0 | - | 69 | const MVPbkStreamable* CVPbkContactLinkStub::Streamable() const
| 70 | {
0 |  | - | 71 | return NULL;
| 72 | };
| 73 |
| 74 | /**
| 75 | * Returns a packing interface for this link.
| 76 | * @see CVPbkContactLinkArray
| 77 | * @internal
| 78 | * @return Link packing object.
| 79 | */
0 | 0 | - | 80 | const MVPbkContactLinkPacking& CVPbkContactLinkStub::Packing() const
| 81 | {
| 82 | MVPbkContactLinkPacking* ret = NULL;
0 |  | - | 83 | return *ret;
| 84 | };
| 85 |
| 86 | /**
| 87 | * Returns a clone of this contact link.
| 88 | * @return Contact link copy.
| 89 | */
0 | 0 | - | 90 | MVPbkContactLink* CVPbkContactLinkStub::CloneLC() const
| 91 | {
| 92 | MVPbkContactLink* link = CVPbkContactLinkStub::NewL();
0 |  | - | 93 | return link;
| 94 | }
| 95 |
| 96 |
| 97 |
| 98 |
| 99 | // End of File
***TER 12% (2/17) of SOURCE FILE s_mvpbkcontactlinkstub.cpp

Directory Summary | Files Summary | Functions Summary | Execution Profile
To files: First | Previous | Next | Last | Top | Index | No Index