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

« back to all changes in this revision

Viewing changes to src/babel/bHYPREClient-CX/sidl_io_IOException.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_io_IOException.hxx
3
3
// Symbol:        sidl.io.IOException-v0.9.15
4
4
// Symbol Type:   class
5
 
// Babel Version: 1.0.0
6
 
// Release:       $Name:  $
7
 
// Revision:      @(#) $Id: sidl_io_IOException.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_io_IOException.hxx,v 1.4 2007/09/27 19:55:46 painter Exp $
8
8
// Description:   Client-side glue code for sidl.io.IOException
9
9
// 
10
10
// Copyright (c) 2000-2002, The Regents of the University of California.
84
84
     * 
85
85
     *  generic exception for I/O issues 
86
86
     */
87
 
    class IOException: public virtual ::sidl::RuntimeException,
88
 
      public virtual ::sidl::SIDLException {
 
87
    class IOException: public virtual ::sidl::RuntimeException, public virtual 
 
88
      ::sidl::SIDLException {
89
89
 
90
90
      //////////////////////////////////////////////////
91
91
      // 
121
121
      typedef struct sidl_io_IOException__sepv sepv_t;
122
122
 
123
123
      // default constructor
124
 
      IOException() { }
 
124
      IOException() { 
 
125
      }
125
126
 
126
127
      // static constructor
127
128
      static ::sidl::io::IOException _create();
136
137
      }
137
138
 
138
139
      // RMI connect 2
139
 
      static ::sidl::io::IOException _connect( /*in*/ const std::string& url,
 
140
      static ::sidl::io::IOException _connect( /*in*/ const std::string& url, 
140
141
        /*in*/ const bool ar  );
141
142
 
142
143
      // default destructor
156
157
      // For internal use by Impls (fixes bug#275)
157
158
      IOException ( IOException::ior_t* ior, bool isWeak );
158
159
 
159
 
      ior_t* _get_ior() throw() { return reinterpret_cast< ior_t*>(d_self); }
160
 
 
161
 
      const ior_t* _get_ior() const throw () { return reinterpret_cast< 
162
 
        ior_t*>(d_self); }
163
 
 
164
 
      void _set_ior( ior_t* ptr ) throw () { d_self = reinterpret_cast< 
165
 
        void*>(ptr); }
 
160
      inline ior_t* _get_ior() const throw() {
 
161
        return reinterpret_cast< ior_t*>(d_self);
 
162
      }
 
163
 
 
164
      void _set_ior( ior_t* ptr ) throw () { 
 
165
        d_self = reinterpret_cast< void*>(ptr);
 
166
      }
166
167
 
167
168
      bool _is_nil() const throw () { return (d_self==0); }
168
169
 
226
227
extern "C" {
227
228
 
228
229
 
229
 
  #pragma weak sidl_io_IOException__connectI
 
230
#pragma weak sidl_io_IOException__connectI
230
231
 
231
 
  #pragma weak sidl_io_IOException__rmicast
 
232
#pragma weak sidl_io_IOException__rmicast
232
233
 
233
234
  /**
234
235
   * Cast method for interface and class type conversions.
241
242
   * RMI connector function for the class. (no addref)
242
243
   */
243
244
  struct sidl_io_IOException__object*
244
 
  sidl_io_IOException__connectI(const char * url, sidl_bool ar,
245
 
    struct sidl_BaseInterface__object **_ex);
 
245
  sidl_io_IOException__connectI(const char * url, sidl_bool ar, struct 
 
246
    sidl_BaseInterface__object **_ex);
246
247
 
247
248
 
248
249
} // end extern "C"