LTP GCOV extension - code coverage report
Current view: directory - src/cpp/prod/lib - ref.cpp
Test: YAORB-0.2.info
Date: 2006-02-27 Instrumented lines: 8
Code covered: 100.0 % Executed lines: 8

       1                 : //==============================================================================
       2                 : // File <$/src/cpp/prod/lib/ref.cpp>
       3                 : // This file is part of YaOrb : Yet Another Object Request Broker,
       4                 : // Copyright (c) 2000-2003, Marc Alff.
       5                 : //
       6                 : // This program is free software; you can redistribute it and/or
       7                 : // modify it under the terms of the GNU General Public License
       8                 : // as published by the Free Software Foundation; either version 2
       9                 : // of the License, or (at your option) any later version.
      10                 : //
      11                 : // This program is distributed in the hope that it will be useful,
      12                 : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      13                 : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14                 : // GNU General Public License for more details.
      15                 : //
      16                 : // You should have received a copy of the GNU General Public License
      17                 : // along with this program; if not, write to the Free Software
      18                 : // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
      19                 : //
      20                 : //==============================================================================
      21                 : 
      22                 : #include <yaorb/CORBA.h>
      23                 : #include <yaorb/YAORB.h>
      24                 : 
      25                 : #include "src/cpp/prod/tool/DEVELOPMENT.h"
      26                 : #include "src/cpp/prod/tool/Assert.h"
      27                 : #include "src/cpp/prod/protocol/iop/iop.h"
      28                 : #include "src/cpp/prod/protocol/iiop/iiop.h"
      29                 : #include "src/cpp/prod/protocol/cdr/cdr_memory.h"
      30                 : 
      31                 : //=============================================================================
      32                 : // Ref
      33                 : //=============================================================================
      34                 : 
      35                 : YAORB::Ref::Ref(
      36                 :    YARemoteOrb *remoteOrb,
      37               4 :    const GIOPEncapsulation& objKey)
      38                 :  :  _remoteOrb(remoteOrb),
      39               4 :     _objKey(objKey)
      40                 : {
      41                 : }
      42                 : 
      43               4 : YAORB::Ref::Ref(const YAORB::Ref & ref)
      44                 :  :  _remoteOrb(ref._remoteOrb),
      45               4 :     _objKey(ref._objKey)
      46                 : {
      47                 : }
      48                 : 
      49                 : YARemoteOrb*
      50               8 : YAORB::Ref::GetRemoteOrb() const
      51                 : {
      52                 :    return _remoteOrb ;
      53                 : }
      54                 : 
      55                 : const GIOPEncapsulation &
      56               4 : YAORB::Ref::GetObjKey() const
      57                 : {
      58                 :    return _objKey ;
      59                 : }
      60                 : 
      61               8 : YAORB::Ref::~Ref()
      62                 : {
      63               8 : }
      64                 : 

Generated by: LTP GCOV extension version 1.4