~ubuntu-branches/ubuntu/karmic/hypre/karmic

« back to all changes in this revision

Viewing changes to src/babel/bHYPREClient-CX/sidl_rmi_ConnectRegistry.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-03-20 11:40:12 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090320114012-132h6ok9w2r6o609
Tags: 2.4.0b-2
Rebuild against new openmpi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// File:          sidl_rmi_ConnectRegistry.hxx
3
3
// Symbol:        sidl.rmi.ConnectRegistry-v0.9.15
4
4
// Symbol Type:   class
5
 
// Babel Version: 1.0.0
6
 
// Release:       $Name:  $
7
 
// Revision:      @(#) $Id: sidl_rmi_ConnectRegistry.hxx,v 1.2 2006/09/14 21:52:15 painter Exp $
 
5
// Babel Version: 1.0.4
 
6
// Release:       $Name: V2-4-0b $
 
7
// Revision:      @(#) $Id: sidl_rmi_ConnectRegistry.hxx,v 1.4 2007/09/27 19:55:46 painter Exp $
8
8
// Description:   Client-side glue code for sidl.rmi.ConnectRegistry
9
9
// 
10
10
// Copyright (c) 2000-2002, The Regents of the University of California.
173
173
      typedef struct sidl_rmi_ConnectRegistry__sepv sepv_t;
174
174
 
175
175
      // default constructor
176
 
      ConnectRegistry() { }
 
176
      ConnectRegistry() { 
 
177
      }
177
178
 
178
179
      // static constructor
179
180
      static ::sidl::rmi::ConnectRegistry _create();
209
210
      // For internal use by Impls (fixes bug#275)
210
211
      ConnectRegistry ( ConnectRegistry::ior_t* ior, bool isWeak );
211
212
 
212
 
      ior_t* _get_ior() throw() { return reinterpret_cast< ior_t*>(d_self); }
213
 
 
214
 
      const ior_t* _get_ior() const throw () { return reinterpret_cast< 
215
 
        ior_t*>(d_self); }
216
 
 
217
 
      void _set_ior( ior_t* ptr ) throw () { d_self = reinterpret_cast< 
218
 
        void*>(ptr); }
 
213
      inline ior_t* _get_ior() const throw() {
 
214
        return reinterpret_cast< ior_t*>(d_self);
 
215
      }
 
216
 
 
217
      void _set_ior( ior_t* ptr ) throw () { 
 
218
        d_self = reinterpret_cast< void*>(ptr);
 
219
      }
219
220
 
220
221
      bool _is_nil() const throw () { return (d_self==0); }
221
222
 
300
301
extern "C" {
301
302
 
302
303
 
303
 
  #pragma weak sidl_rmi_ConnectRegistry__connectI
 
304
#pragma weak sidl_rmi_ConnectRegistry__connectI
304
305
 
305
 
  #pragma weak sidl_rmi_ConnectRegistry__rmicast
 
306
#pragma weak sidl_rmi_ConnectRegistry__rmicast
306
307
 
307
308
  /**
308
309
   * Cast method for interface and class type conversions.
315
316
   * RMI connector function for the class. (no addref)
316
317
   */
317
318
  struct sidl_rmi_ConnectRegistry__object*
318
 
  sidl_rmi_ConnectRegistry__connectI(const char * url, sidl_bool ar,
319
 
    struct sidl_BaseInterface__object **_ex);
 
319
  sidl_rmi_ConnectRegistry__connectI(const char * url, sidl_bool ar, struct 
 
320
    sidl_BaseInterface__object **_ex);
320
321
 
321
322
 
322
323
} // end extern "C"