sources:
FilterHome_impl.cpp (1.7k)
FilterHome_impl.h (945 bytes)
ProduktFilter_impl.cpp (1.5k)
ProduktFilter_impl.h (1.1k)
auktion.cpp (217.6k)
auktion.h (105.7k)
auktion.idl (1.8k)
auktion_ccm.cpp (69.8k)
auktion_ccm.h (23.4k)
session.cpp (1.6k)
session.h (1.9k)
session.idl (209 bytes)


website:
more info here
studies/corba/Corba-Code4/Filter/session.cpp
download file

  1 /* * MICO --- an Open Source CORBA implementation * Copyright (c) 1997-2001 by The Mico Team * * This file was automatically generated. DO NOT EDIT! */
  2
  3 #include "session.h"
  4
  5
  6 using namespace std;
  7
  8 //--------------------------------------------------------
  9 // Implementation of stubs
 10 //--------------------------------------------------------
 11
 12 /* * Base interface for class ProduktFilter_Session */
 13
 14 Auktion::ProduktFilter_Session::~ProduktFilter_Session()
 15 {
 16 }
 17
 18 void *
 19 Auktion::ProduktFilter_Session::_narrow_helper( const char *_repoid )
 20 {
 21   if( strcmp( _repoid, "IDL:Auktion/ProduktFilter_Session:1.0" ) == 0 )
 22     return (void *)this;
 23   {
 24     void *_p;
 25     if ((_p = Auktion::CCM_ProduktFilter::_narrow_helper( _repoid )))
 26       return _p;
 27   }
 28   {
 29     void *_p;
 30     if ((_p = Components::SessionComponent::_narrow_helper( _repoid )))
 31       return _p;
 32   }
 33   return NULL;
 34 }
 35
 36 Auktion::ProduktFilter_Session_ptr
 37 Auktion::ProduktFilter_Session::_narrow( CORBA::Object_ptr _obj )
 38 {
 39   if( !CORBA::is_nil( _obj ) ) {
 40     void *_p;
 41     if( (_p = _obj->_narrow_helper( "IDL:Auktion/ProduktFilter_Session:1.0" )))
 42       return _duplicate( (Auktion::ProduktFilter_Session_ptr) _p );
 43   }
 44   return _nil();
 45 }
 46
 47 Auktion::ProduktFilter_Session_ptr
 48 Auktion::ProduktFilter_Session::_narrow( CORBA::AbstractBase_ptr _obj )
 49 {
 50   return _narrow (_obj->_to_object());
 51 }
 52
 53
 54 struct __tc_init_SESSION {
 55   __tc_init_SESSION()
 56   {
 57   }
 58 };
 59
 60 static __tc_init_SESSION __init_SESSION;
 61
 62 //--------------------------------------------------------
 63 // Implementation of skeletons
 64 //--------------------------------------------------------
 65