2
* File: bHYPRE_Vector_fStub.c
3
* Symbol: bHYPRE.Vector-v1.0.0
4
* Symbol Type: interface
6
* Description: Client-side glue code for bHYPRE.Vector
8
* WARNING: Automatically generated; changes will be lost
13
* Symbol "bHYPRE.Vector" (version 1.0.0)
16
#ifndef included_bHYPRE_Vector_fStub_h
17
#include "bHYPRE_Vector_fStub.h"
22
#include "sidlfortran.h"
23
#ifndef included_sidlf90array_h
24
#include "sidlf90array.h"
26
#include "sidl_header.h"
27
#ifndef included_sidl_interface_IOR_h
28
#include "sidl_interface_IOR.h"
30
#ifndef included_sidl_Exception_h
31
#include "sidl_Exception.h"
34
#include "babel_config.h"
35
#ifdef SIDL_DYNAMIC_LIBRARY
36
#include "sidl_Loader.h"
38
#include "bHYPRE_Vector_IOR.h"
39
#include "bHYPRE_Vector_fAbbrev.h"
40
#include "sidl_BaseException_IOR.h"
41
#include "sidl_BaseInterface_IOR.h"
42
#include "sidl_ClassInfo_IOR.h"
43
#include "sidl_RuntimeException_IOR.h"
44
#ifndef included_sidl_rmi_ConnectRegistry_h
45
#include "sidl_rmi_ConnectRegistry.h"
48
* Includes for all method dependencies.
51
#ifndef included_bHYPRE_Vector_fStub_h
52
#include "bHYPRE_Vector_fStub.h"
54
#ifndef included_sidl_BaseInterface_fStub_h
55
#include "sidl_BaseInterface_fStub.h"
57
#ifndef included_sidl_ClassInfo_fStub_h
58
#include "sidl_ClassInfo_fStub.h"
60
#ifndef included_sidl_RuntimeException_fStub_h
61
#include "sidl_RuntimeException_fStub.h"
64
#define LANG_SPECIFIC_INIT()
66
* connect_loaded is a boolean value showing if the IHConnect for this object has been loaded into the connectRegistry
69
static int connect_loaded = 0;
71
static struct bHYPRE_Vector__object* bHYPRE_Vector__remoteConnect(const char*
72
url, sidl_bool ar, sidl_BaseInterface *_ex);
73
static struct bHYPRE_Vector__object* bHYPRE_Vector__IHConnect(struct
74
sidl_rmi_InstanceHandle__object *instance,
75
struct sidl_BaseInterface__object **_ex);
77
* Remote Connector for the class.
81
SIDLFortran90Symbol(bhypre_vector_rconnect_m,BHYPRE_VECTOR_RCONNECT_M,bHYPRE_Vector_rConnect_m)
85
SIDL_F90_STR_NEAR_LEN_DECL(url),
87
SIDL_F90_STR_FAR_LEN_DECL(url)
90
struct bHYPRE_Vector__object* _proxy_self = NULL;
91
char* _proxy_url = NULL;
92
struct sidl_BaseInterface__object* _proxy_exception = NULL;
94
sidl_copy_fortran_str(SIDL_F90_STR(url),
95
SIDL_F90_STR_LEN(url));
96
_proxy_self = bHYPRE_Vector__remoteConnect(_proxy_url, 1, &_proxy_exception);
97
if (_proxy_exception) {
98
*exception = (ptrdiff_t)_proxy_exception;
101
*exception = (ptrdiff_t)NULL;
102
*self = (ptrdiff_t)_proxy_self;
104
free((void *)_proxy_url);
107
* Cast method for interface and type conversions.
111
SIDLFortran90Symbol(bhypre_vector__cast_m,BHYPRE_VECTOR__CAST_M,bHYPRE_Vector__cast_m)
118
struct sidl_BaseInterface__object *_base =
119
(struct sidl_BaseInterface__object *)(ptrdiff_t)*ref;
120
struct sidl_BaseInterface__object *proxy_exception;
123
if(!connect_loaded) {
124
sidl_rmi_ConnectRegistry_registerConnect("bHYPRE.Vector",
125
(void*)bHYPRE_Vector__IHConnect, &proxy_exception);
126
SIDL_CHECK(proxy_exception);
131
*retval = (ptrdiff_t)(
132
*_base->d_epv->f__cast)(
134
"bHYPRE.Vector", &proxy_exception);
140
*exception = (ptrdiff_t)proxy_exception;
144
* Cast method for interface and class type conversions.
148
SIDLFortran90Symbol(bhypre_vector__cast2_m,BHYPRE_VECTOR__CAST2_M,bHYPRE_Vector__cast2_m)
152
SIDL_F90_STR_NEAR_LEN_DECL(name),
155
SIDL_F90_STR_FAR_LEN_DECL(name)
158
struct bHYPRE_Vector__epv *_epv = NULL;
159
struct bHYPRE_Vector__object* _proxy_self = NULL;
160
char* _proxy_name = NULL;
161
void* _proxy_retval = NULL;
162
struct sidl_BaseInterface__object* _proxy_exception = NULL;
164
(struct bHYPRE_Vector__object*)
167
sidl_copy_fortran_str(SIDL_F90_STR(name),
168
SIDL_F90_STR_LEN(name));
169
_epv = _proxy_self->d_epv;
172
_proxy_self->d_object,
176
if (_proxy_exception) {
177
*exception = (ptrdiff_t)_proxy_exception;
180
*exception = (ptrdiff_t)NULL;
181
*retval = (ptrdiff_t)_proxy_retval;
183
free((void *)_proxy_name);
188
* Select and execute a method by name
192
SIDLFortran90Symbol(bhypre_vector__exec_m,BHYPRE_VECTOR__EXEC_M,bHYPRE_Vector__exec_m)
195
SIDL_F90_String methodName
196
SIDL_F90_STR_NEAR_LEN_DECL(methodName),
200
SIDL_F90_STR_FAR_LEN_DECL(methodName)
203
struct bHYPRE_Vector__epv *_epv = NULL;
204
struct bHYPRE_Vector__object* _proxy_self = NULL;
205
char* _proxy_methodName = NULL;
206
struct sidl_rmi_Call__object* _proxy_inArgs = NULL;
207
struct sidl_rmi_Return__object* _proxy_outArgs = NULL;
208
struct sidl_BaseInterface__object* _proxy_exception = NULL;
210
(struct bHYPRE_Vector__object*)
213
sidl_copy_fortran_str(SIDL_F90_STR(methodName),
214
SIDL_F90_STR_LEN(methodName));
216
(struct sidl_rmi_Call__object*)
217
(ptrdiff_t)(*inArgs);
219
(struct sidl_rmi_Return__object*)
220
(ptrdiff_t)(*outArgs);
221
_epv = _proxy_self->d_epv;
223
_proxy_self->d_object,
229
if (_proxy_exception) {
230
*exception = (ptrdiff_t)_proxy_exception;
233
*exception = (ptrdiff_t)NULL;
235
free((void *)_proxy_methodName);
240
* Get the URL of the Implementation of this object (for RMI)
244
SIDLFortran90Symbol(bhypre_vector__geturl_m,BHYPRE_VECTOR__GETURL_M,bHYPRE_Vector__getURL_m)
247
SIDL_F90_String retval
248
SIDL_F90_STR_NEAR_LEN_DECL(retval),
250
SIDL_F90_STR_FAR_LEN_DECL(retval)
253
struct bHYPRE_Vector__epv *_epv = NULL;
254
struct bHYPRE_Vector__object* _proxy_self = NULL;
255
char* _proxy_retval = NULL;
256
struct sidl_BaseInterface__object* _proxy_exception = NULL;
258
(struct bHYPRE_Vector__object*)
260
_epv = _proxy_self->d_epv;
262
(*(_epv->f__getURL))(
263
_proxy_self->d_object,
266
if (_proxy_exception) {
267
*exception = (ptrdiff_t)_proxy_exception;
270
*exception = (ptrdiff_t)NULL;
272
SIDL_F90_STR(retval),
273
SIDL_F90_STR_LEN(retval),
276
free((void *)_proxy_retval);
281
* TRUE if this object is remote, false if local
285
SIDLFortran90Symbol(bhypre_vector__isremote_m,BHYPRE_VECTOR__ISREMOTE_M,bHYPRE_Vector__isRemote_m)
288
SIDL_F90_Bool *retval,
292
struct bHYPRE_Vector__epv *_epv = NULL;
293
struct bHYPRE_Vector__object* _proxy_self = NULL;
294
sidl_bool _proxy_retval;
295
struct sidl_BaseInterface__object* _proxy_exception = NULL;
297
(struct bHYPRE_Vector__object*)
299
_epv = _proxy_self->d_epv;
301
(*(_epv->f__isRemote))(
302
_proxy_self->d_object,
305
if (_proxy_exception) {
306
*exception = (ptrdiff_t)_proxy_exception;
309
*exception = (ptrdiff_t)NULL;
310
*retval = ((_proxy_retval == TRUE) ? SIDL_F90_TRUE : SIDL_F90_FALSE);
316
* TRUE if this object is remote, false if local
320
SIDLFortran90Symbol(bhypre_vector__islocal_m,BHYPRE_VECTOR__ISLOCAL_M,bHYPRE_Vector__isLocal_m)
323
SIDL_F90_Bool *retval,
327
struct bHYPRE_Vector__epv *_epv = NULL;
328
struct bHYPRE_Vector__object* _proxy_self = NULL;
329
sidl_bool _proxy_retval;
330
struct sidl_BaseInterface__object* _proxy_exception = NULL;
332
(struct bHYPRE_Vector__object*)
334
_epv = _proxy_self->d_epv;
336
!(*(_epv->f__isRemote))(
337
_proxy_self->d_object,
340
if (_proxy_exception) {
341
*exception = (ptrdiff_t)_proxy_exception;
344
*exception = (ptrdiff_t)NULL;
345
*retval = ((_proxy_retval == TRUE) ? SIDL_F90_TRUE : SIDL_F90_FALSE);
351
* Method to set whether or not method hooks should be invoked.
355
SIDLFortran90Symbol(bhypre_vector__set_hooks_m,BHYPRE_VECTOR__SET_HOOKS_M,bHYPRE_Vector__set_hooks_m)
362
struct bHYPRE_Vector__epv *_epv = NULL;
363
struct bHYPRE_Vector__object* _proxy_self = NULL;
365
struct sidl_BaseInterface__object* _proxy_exception = NULL;
367
(struct bHYPRE_Vector__object*)
369
_proxy_on = ((*on == SIDL_F90_TRUE) ? TRUE : FALSE);
370
_epv = _proxy_self->d_epv;
371
(*(_epv->f__set_hooks))(
372
_proxy_self->d_object,
376
if (_proxy_exception) {
377
*exception = (ptrdiff_t)_proxy_exception;
380
*exception = (ptrdiff_t)NULL;
385
* Set {\tt self} to 0.
389
SIDLFortran90Symbol(bhypre_vector_clear_m,BHYPRE_VECTOR_CLEAR_M,bHYPRE_Vector_Clear_m)
396
struct bHYPRE_Vector__epv *_epv = NULL;
397
struct bHYPRE_Vector__object* _proxy_self = NULL;
398
struct sidl_BaseInterface__object* _proxy_exception = NULL;
400
(struct bHYPRE_Vector__object*)
402
_epv = _proxy_self->d_epv;
405
_proxy_self->d_object,
408
if (_proxy_exception) {
409
*exception = (ptrdiff_t)_proxy_exception;
412
*exception = (ptrdiff_t)NULL;
417
* Copy data from x into {\tt self}.
421
SIDLFortran90Symbol(bhypre_vector_copy_m,BHYPRE_VECTOR_COPY_M,bHYPRE_Vector_Copy_m)
429
struct bHYPRE_Vector__epv *_epv = NULL;
430
struct bHYPRE_Vector__object* _proxy_self = NULL;
431
struct bHYPRE_Vector__object* _proxy_x = NULL;
432
struct sidl_BaseInterface__object* _proxy_exception = NULL;
434
(struct bHYPRE_Vector__object*)
437
(struct bHYPRE_Vector__object*)
439
_epv = _proxy_self->d_epv;
442
_proxy_self->d_object,
446
if (_proxy_exception) {
447
*exception = (ptrdiff_t)_proxy_exception;
450
*exception = (ptrdiff_t)NULL;
455
* Create an {\tt x} compatible with {\tt self}.
456
* The new vector's data is not specified.
458
* NOTE: When this method is used in an inherited class, the
459
* cloned {\tt Vector} object can be cast to an object with the
460
* inherited class type.
464
SIDLFortran90Symbol(bhypre_vector_clone_m,BHYPRE_VECTOR_CLONE_M,bHYPRE_Vector_Clone_m)
472
struct bHYPRE_Vector__epv *_epv = NULL;
473
struct bHYPRE_Vector__object* _proxy_self = NULL;
474
struct bHYPRE_Vector__object* _proxy_x = NULL;
475
struct sidl_BaseInterface__object* _proxy_exception = NULL;
477
(struct bHYPRE_Vector__object*)
479
_epv = _proxy_self->d_epv;
482
_proxy_self->d_object,
486
if (_proxy_exception) {
487
*exception = (ptrdiff_t)_proxy_exception;
490
*exception = (ptrdiff_t)NULL;
491
*x = (ptrdiff_t)_proxy_x;
496
* Scale {\tt self} by {\tt a}.
500
SIDLFortran90Symbol(bhypre_vector_scale_m,BHYPRE_VECTOR_SCALE_M,bHYPRE_Vector_Scale_m)
508
struct bHYPRE_Vector__epv *_epv = NULL;
509
struct bHYPRE_Vector__object* _proxy_self = NULL;
510
struct sidl_BaseInterface__object* _proxy_exception = NULL;
512
(struct bHYPRE_Vector__object*)
514
_epv = _proxy_self->d_epv;
517
_proxy_self->d_object,
521
if (_proxy_exception) {
522
*exception = (ptrdiff_t)_proxy_exception;
525
*exception = (ptrdiff_t)NULL;
530
* Compute {\tt d}, the inner-product of {\tt self} and {\tt x}.
534
SIDLFortran90Symbol(bhypre_vector_dot_m,BHYPRE_VECTOR_DOT_M,bHYPRE_Vector_Dot_m)
543
struct bHYPRE_Vector__epv *_epv = NULL;
544
struct bHYPRE_Vector__object* _proxy_self = NULL;
545
struct bHYPRE_Vector__object* _proxy_x = NULL;
546
struct sidl_BaseInterface__object* _proxy_exception = NULL;
548
(struct bHYPRE_Vector__object*)
551
(struct bHYPRE_Vector__object*)
553
_epv = _proxy_self->d_epv;
556
_proxy_self->d_object,
561
if (_proxy_exception) {
562
*exception = (ptrdiff_t)_proxy_exception;
565
*exception = (ptrdiff_t)NULL;
570
* Add {\tt a}{\tt x} to {\tt self}.
574
SIDLFortran90Symbol(bhypre_vector_axpy_m,BHYPRE_VECTOR_AXPY_M,bHYPRE_Vector_Axpy_m)
583
struct bHYPRE_Vector__epv *_epv = NULL;
584
struct bHYPRE_Vector__object* _proxy_self = NULL;
585
struct bHYPRE_Vector__object* _proxy_x = NULL;
586
struct sidl_BaseInterface__object* _proxy_exception = NULL;
588
(struct bHYPRE_Vector__object*)
591
(struct bHYPRE_Vector__object*)
593
_epv = _proxy_self->d_epv;
596
_proxy_self->d_object,
601
if (_proxy_exception) {
602
*exception = (ptrdiff_t)_proxy_exception;
605
*exception = (ptrdiff_t)NULL;
611
* Add one to the intrinsic reference count in the underlying object.
612
* Object in <code>sidl</code> have an intrinsic reference count.
613
* Objects continue to exist as long as the reference count is
614
* positive. Clients should call this method whenever they
615
* create another ongoing reference to an object or interface.
618
* This does not have a return value because there is no language
619
* independent type that can refer to an interface or a
625
SIDLFortran90Symbol(bhypre_vector_addref_m,BHYPRE_VECTOR_ADDREF_M,bHYPRE_Vector_addRef_m)
631
struct bHYPRE_Vector__epv *_epv = NULL;
632
struct bHYPRE_Vector__object* _proxy_self = NULL;
633
struct sidl_BaseInterface__object* _proxy_exception = NULL;
635
(struct bHYPRE_Vector__object*)
637
_epv = _proxy_self->d_epv;
639
_proxy_self->d_object,
642
if (_proxy_exception) {
643
*exception = (ptrdiff_t)_proxy_exception;
646
*exception = (ptrdiff_t)NULL;
651
* Decrease by one the intrinsic reference count in the underlying
652
* object, and delete the object if the reference is non-positive.
653
* Objects in <code>sidl</code> have an intrinsic reference count.
654
* Clients should call this method whenever they remove a
655
* reference to an object or interface.
659
SIDLFortran90Symbol(bhypre_vector_deleteref_m,BHYPRE_VECTOR_DELETEREF_M,bHYPRE_Vector_deleteRef_m)
665
struct bHYPRE_Vector__epv *_epv = NULL;
666
struct bHYPRE_Vector__object* _proxy_self = NULL;
667
struct sidl_BaseInterface__object* _proxy_exception = NULL;
669
(struct bHYPRE_Vector__object*)
671
_epv = _proxy_self->d_epv;
672
(*(_epv->f_deleteRef))(
673
_proxy_self->d_object,
676
if (_proxy_exception) {
677
*exception = (ptrdiff_t)_proxy_exception;
680
*exception = (ptrdiff_t)NULL;
685
* Return true if and only if <code>obj</code> refers to the same
686
* object as this object.
690
SIDLFortran90Symbol(bhypre_vector_issame_m,BHYPRE_VECTOR_ISSAME_M,bHYPRE_Vector_isSame_m)
694
SIDL_F90_Bool *retval,
698
struct bHYPRE_Vector__epv *_epv = NULL;
699
struct bHYPRE_Vector__object* _proxy_self = NULL;
700
struct sidl_BaseInterface__object* _proxy_iobj = NULL;
701
sidl_bool _proxy_retval;
702
struct sidl_BaseInterface__object* _proxy_exception = NULL;
704
(struct bHYPRE_Vector__object*)
707
(struct sidl_BaseInterface__object*)
709
_epv = _proxy_self->d_epv;
712
_proxy_self->d_object,
716
if (_proxy_exception) {
717
*exception = (ptrdiff_t)_proxy_exception;
720
*exception = (ptrdiff_t)NULL;
721
*retval = ((_proxy_retval == TRUE) ? SIDL_F90_TRUE : SIDL_F90_FALSE);
726
* Return whether this object is an instance of the specified type.
727
* The string name must be the <code>sidl</code> type name. This
728
* routine will return <code>true</code> if and only if a cast to
729
* the string type name would succeed.
733
SIDLFortran90Symbol(bhypre_vector_istype_m,BHYPRE_VECTOR_ISTYPE_M,bHYPRE_Vector_isType_m)
737
SIDL_F90_STR_NEAR_LEN_DECL(name),
738
SIDL_F90_Bool *retval,
740
SIDL_F90_STR_FAR_LEN_DECL(name)
743
struct bHYPRE_Vector__epv *_epv = NULL;
744
struct bHYPRE_Vector__object* _proxy_self = NULL;
745
char* _proxy_name = NULL;
746
sidl_bool _proxy_retval;
747
struct sidl_BaseInterface__object* _proxy_exception = NULL;
749
(struct bHYPRE_Vector__object*)
752
sidl_copy_fortran_str(SIDL_F90_STR(name),
753
SIDL_F90_STR_LEN(name));
754
_epv = _proxy_self->d_epv;
757
_proxy_self->d_object,
761
if (_proxy_exception) {
762
*exception = (ptrdiff_t)_proxy_exception;
765
*exception = (ptrdiff_t)NULL;
766
*retval = ((_proxy_retval == TRUE) ? SIDL_F90_TRUE : SIDL_F90_FALSE);
768
free((void *)_proxy_name);
772
* Return the meta-data about the class implementing this interface.
776
SIDLFortran90Symbol(bhypre_vector_getclassinfo_m,BHYPRE_VECTOR_GETCLASSINFO_M,bHYPRE_Vector_getClassInfo_m)
783
struct bHYPRE_Vector__epv *_epv = NULL;
784
struct bHYPRE_Vector__object* _proxy_self = NULL;
785
struct sidl_ClassInfo__object* _proxy_retval = NULL;
786
struct sidl_BaseInterface__object* _proxy_exception = NULL;
788
(struct bHYPRE_Vector__object*)
790
_epv = _proxy_self->d_epv;
792
(*(_epv->f_getClassInfo))(
793
_proxy_self->d_object,
796
if (_proxy_exception) {
797
*exception = (ptrdiff_t)_proxy_exception;
800
*exception = (ptrdiff_t)NULL;
801
*retval = (ptrdiff_t)_proxy_retval;
806
SIDLFortran90Symbol(bhypre_vector__array_createcol_m,
807
BHYPRE_VECTOR__ARRAY_CREATECOL_M,
808
bHYPRE_Vector__array_createCol_m)
814
*result = (ptrdiff_t)
815
sidl_interface__array_createCol(*dimen, lower, upper);
819
SIDLFortran90Symbol(bhypre_vector__array_createrow_m,
820
BHYPRE_VECTOR__ARRAY_CREATEROW_M,
821
bHYPRE_Vector__array_createRow_m)
827
*result = (ptrdiff_t)
828
sidl_interface__array_createRow(*dimen, lower, upper);
832
SIDLFortran90Symbol(bhypre_vector__array_create1d_m,
833
BHYPRE_VECTOR__ARRAY_CREATE1D_M,
834
bHYPRE_Vector__array_create1d_m)
835
(int32_t *len, int64_t *result)
837
*result = (ptrdiff_t)sidl_interface__array_create1d(*len);
841
SIDLFortran90Symbol(bhypre_vector__array_create2dcol_m,
842
BHYPRE_VECTOR__ARRAY_CREATE2DCOL_M,
843
bHYPRE_Vector__array_create2dCol_m)
844
(int32_t *m, int32_t *n, int64_t *result)
846
*result = (ptrdiff_t)sidl_interface__array_create2dCol(*m, *n);
850
SIDLFortran90Symbol(bhypre_vector__array_create2drow_m,
851
BHYPRE_VECTOR__ARRAY_CREATE2DROW_M,
852
bHYPRE_Vector__array_create2dRow_m)
853
(int32_t *m, int32_t *n, int64_t *result)
855
*result = (ptrdiff_t)sidl_interface__array_create2dRow(*m, *n);
859
SIDLFortran90Symbol(bhypre_vector__array_addref_m,
860
BHYPRE_VECTOR__ARRAY_ADDREF_M,
861
bHYPRE_Vector__array_addRef_m)
864
sidl_interface__array_addRef((struct sidl_interface__array
865
*)(ptrdiff_t)*array);
869
SIDLFortran90Symbol(bhypre_vector__array_deleteref_m,
870
BHYPRE_VECTOR__ARRAY_DELETEREF_M,
871
bHYPRE_Vector__array_deleteRef_m)
874
sidl_interface__array_deleteRef((struct sidl_interface__array
875
*)(ptrdiff_t)*array);
879
SIDLFortran90Symbol(bhypre_vector__array_get1_m,
880
BHYPRE_VECTOR__ARRAY_GET1_M,
881
bHYPRE_Vector__array_get1_m)
886
*result = (ptrdiff_t)
887
sidl_interface__array_get1((const struct sidl_interface__array
893
SIDLFortran90Symbol(bhypre_vector__array_get2_m,
894
BHYPRE_VECTOR__ARRAY_GET2_M,
895
bHYPRE_Vector__array_get2_m)
901
*result = (ptrdiff_t)
902
sidl_interface__array_get2((const struct sidl_interface__array
908
SIDLFortran90Symbol(bhypre_vector__array_get3_m,
909
BHYPRE_VECTOR__ARRAY_GET3_M,
910
bHYPRE_Vector__array_get3_m)
917
*result = (ptrdiff_t)
918
sidl_interface__array_get3((const struct sidl_interface__array
924
SIDLFortran90Symbol(bhypre_vector__array_get4_m,
925
BHYPRE_VECTOR__ARRAY_GET4_M,
926
bHYPRE_Vector__array_get4_m)
934
*result = (ptrdiff_t)
935
sidl_interface__array_get4((const struct sidl_interface__array
937
, *i1, *i2, *i3, *i4);
941
SIDLFortran90Symbol(bhypre_vector__array_get5_m,
942
BHYPRE_VECTOR__ARRAY_GET5_M,
943
bHYPRE_Vector__array_get5_m)
952
*result = (ptrdiff_t)
953
sidl_interface__array_get5((const struct sidl_interface__array
955
, *i1, *i2, *i3, *i4, *i5);
959
SIDLFortran90Symbol(bhypre_vector__array_get6_m,
960
BHYPRE_VECTOR__ARRAY_GET6_M,
961
bHYPRE_Vector__array_get6_m)
971
*result = (ptrdiff_t)
972
sidl_interface__array_get6((const struct sidl_interface__array
974
, *i1, *i2, *i3, *i4, *i5, *i6);
978
SIDLFortran90Symbol(bhypre_vector__array_get7_m,
979
BHYPRE_VECTOR__ARRAY_GET7_M,
980
bHYPRE_Vector__array_get7_m)
991
*result = (ptrdiff_t)
992
sidl_interface__array_get7((const struct sidl_interface__array
994
, *i1, *i2, *i3, *i4, *i5, *i6, *i7);
998
SIDLFortran90Symbol(bhypre_vector__array_get_m,
999
BHYPRE_VECTOR__ARRAY_GET_M,
1000
bHYPRE_Vector__array_get_m)
1005
*result = (ptrdiff_t)
1006
sidl_interface__array_get((const struct sidl_interface__array
1007
*)(ptrdiff_t)*array, indices);
1011
SIDLFortran90Symbol(bhypre_vector__array_set1_m,
1012
BHYPRE_VECTOR__ARRAY_SET1_M,
1013
bHYPRE_Vector__array_set1_m)
1018
sidl_interface__array_set1((struct sidl_interface__array *)(ptrdiff_t)*array
1019
, *i1, (struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1023
SIDLFortran90Symbol(bhypre_vector__array_set2_m,
1024
BHYPRE_VECTOR__ARRAY_SET2_M,
1025
bHYPRE_Vector__array_set2_m)
1031
sidl_interface__array_set2((struct sidl_interface__array *)(ptrdiff_t)*array
1032
, *i1, *i2, (struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1036
SIDLFortran90Symbol(bhypre_vector__array_set3_m,
1037
BHYPRE_VECTOR__ARRAY_SET3_M,
1038
bHYPRE_Vector__array_set3_m)
1045
sidl_interface__array_set3((struct sidl_interface__array *)(ptrdiff_t)*array
1046
, *i1, *i2, *i3, (struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1050
SIDLFortran90Symbol(bhypre_vector__array_set4_m,
1051
BHYPRE_VECTOR__ARRAY_SET4_M,
1052
bHYPRE_Vector__array_set4_m)
1060
sidl_interface__array_set4((struct sidl_interface__array *)(ptrdiff_t)*array
1061
, *i1, *i2, *i3, *i4, (struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1065
SIDLFortran90Symbol(bhypre_vector__array_set5_m,
1066
BHYPRE_VECTOR__ARRAY_SET5_M,
1067
bHYPRE_Vector__array_set5_m)
1076
sidl_interface__array_set5((struct sidl_interface__array *)(ptrdiff_t)*array
1077
, *i1, *i2, *i3, *i4, *i5,
1078
(struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1082
SIDLFortran90Symbol(bhypre_vector__array_set6_m,
1083
BHYPRE_VECTOR__ARRAY_SET6_M,
1084
bHYPRE_Vector__array_set6_m)
1094
sidl_interface__array_set6((struct sidl_interface__array *)(ptrdiff_t)*array
1095
, *i1, *i2, *i3, *i4, *i5, *i6,
1096
(struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1100
SIDLFortran90Symbol(bhypre_vector__array_set7_m,
1101
BHYPRE_VECTOR__ARRAY_SET7_M,
1102
bHYPRE_Vector__array_set7_m)
1113
sidl_interface__array_set7((struct sidl_interface__array *)(ptrdiff_t)*array
1114
, *i1, *i2, *i3, *i4, *i5, *i6, *i7,
1115
(struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1119
SIDLFortran90Symbol(bhypre_vector__array_set_m,
1120
BHYPRE_VECTOR__ARRAY_SET_M,
1121
bHYPRE_Vector__array_set_m)
1126
sidl_interface__array_set((struct sidl_interface__array *)(ptrdiff_t)*array,
1127
indices, (struct sidl_BaseInterface__object *)(ptrdiff_t)*value);
1131
SIDLFortran90Symbol(bhypre_vector__array_dimen_m,
1132
BHYPRE_VECTOR__ARRAY_DIMEN_M,
1133
bHYPRE_Vector__array_dimen_m)
1134
(int64_t *array, int32_t *result)
1137
sidl_interface__array_dimen((struct sidl_interface__array
1138
*)(ptrdiff_t)*array);
1142
SIDLFortran90Symbol(bhypre_vector__array_lower_m,
1143
BHYPRE_VECTOR__ARRAY_LOWER_M,
1144
bHYPRE_Vector__array_lower_m)
1150
sidl_interface__array_lower((struct sidl_interface__array
1151
*)(ptrdiff_t)*array, *ind);
1155
SIDLFortran90Symbol(bhypre_vector__array_upper_m,
1156
BHYPRE_VECTOR__ARRAY_UPPER_M,
1157
bHYPRE_Vector__array_upper_m)
1163
sidl_interface__array_upper((struct sidl_interface__array
1164
*)(ptrdiff_t)*array, *ind);
1168
SIDLFortran90Symbol(bhypre_vector__array_length_m,
1169
BHYPRE_VECTOR__ARRAY_LENGTH_M,
1170
bHYPRE_Vector__array_length_m)
1176
sidl_interface__array_length((struct sidl_interface__array
1177
*)(ptrdiff_t)*array, *ind);
1181
SIDLFortran90Symbol(bhypre_vector__array_stride_m,
1182
BHYPRE_VECTOR__ARRAY_STRIDE_M,
1183
bHYPRE_Vector__array_stride_m)
1189
sidl_interface__array_stride((struct sidl_interface__array
1190
*)(ptrdiff_t)*array, *ind);
1194
SIDLFortran90Symbol(bhypre_vector__array_iscolumnorder_m,
1195
BHYPRE_VECTOR__ARRAY_ISCOLUMNORDER_M,
1196
bHYPRE_Vector__array_isColumnOrder_m)
1198
SIDL_F90_Bool *result)
1200
*result = sidl_interface__array_isColumnOrder((struct sidl_interface__array
1201
*)(ptrdiff_t)*array);
1205
SIDLFortran90Symbol(bhypre_vector__array_isroworder_m,
1206
BHYPRE_VECTOR__ARRAY_ISROWORDER_M,
1207
bHYPRE_Vector__array_isRowOrder_m)
1209
SIDL_F90_Bool *result)
1211
*result = sidl_interface__array_isRowOrder((struct sidl_interface__array
1212
*)(ptrdiff_t)*array);
1216
SIDLFortran90Symbol(bhypre_vector__array_copy_m,
1217
BHYPRE_VECTOR__ARRAY_COPY_M,
1218
bHYPRE_Vector__array_copy_m)
1222
sidl_interface__array_copy((const struct sidl_interface__array
1224
(struct sidl_interface__array *)(ptrdiff_t)*dest);
1228
SIDLFortran90Symbol(bhypre_vector__array_smartcopy_m,
1229
BHYPRE_VECTOR__ARRAY_SMARTCOPY_M,
1230
bHYPRE_Vector__array_smartCopy_m)
1233
sidl_interface__array_smartCopy((struct sidl_interface__array
1238
SIDLFortran90Symbol(bhypre_vector__array_slice_m,
1239
BHYPRE_VECTOR__ARRAY_SLICE_M,
1240
bHYPRE_Vector__array_slice_m)
1245
int32_t srcStride[],
1249
*result = (ptrdiff_t)
1250
sidl_interface__array_slice((struct sidl_interface__array *)(ptrdiff_t)*src,
1251
*dimen, numElem, srcStart, srcStride, newStart);
1255
SIDLFortran90Symbol(bhypre_vector__array_ensure_m,
1256
BHYPRE_VECTOR__ARRAY_ENSURE_M,
1257
bHYPRE_Vector__array_ensure_m)
1263
*result = (ptrdiff_t)
1264
sidl_interface__array_ensure((struct sidl_interface__array
1271
#ifndef included_sidl_BaseClass_h
1272
#include "sidl_BaseClass.h"
1274
#ifndef included_sidl_ClassInfo_h
1275
#include "sidl_ClassInfo.h"
1277
#ifndef included_sidl_rmi_ProtocolFactory_h
1278
#include "sidl_rmi_ProtocolFactory.h"
1280
#ifndef included_sidl_rmi_InstanceRegistry_h
1281
#include "sidl_rmi_InstanceRegistry.h"
1283
#ifndef included_sidl_rmi_InstanceHandle_h
1284
#include "sidl_rmi_InstanceHandle.h"
1286
#ifndef included_sidl_rmi_Invocation_h
1287
#include "sidl_rmi_Invocation.h"
1289
#ifndef included_sidl_rmi_Response_h
1290
#include "sidl_rmi_Response.h"
1292
#ifndef included_sidl_rmi_ServerRegistry_h
1293
#include "sidl_rmi_ServerRegistry.h"
1295
#ifndef included_sidl_rmi_ConnectRegistry_h
1296
#include "sidl_rmi_ConnectRegistry.h"
1298
#ifndef included_sidl_io_Serializable_h
1299
#include "sidl_io_Serializable.h"
1301
#include "sidl_Exception.h"
1307
#include "sidl_thread.h"
1309
static struct sidl_recursive_mutex_t bHYPRE__Vector__mutex= SIDL_RECURSIVE_MUTEX_INITIALIZER;
1310
#define LOCK_STATIC_GLOBALS sidl_recursive_mutex_lock( &bHYPRE__Vector__mutex )
1311
#define UNLOCK_STATIC_GLOBALS sidl_recursive_mutex_unlock( &bHYPRE__Vector__mutex )
1312
/* #define HAVE_LOCKED_STATIC_GLOBALS (sidl_recursive_mutex_trylock( &bHYPRE__Vector__mutex )==EDEADLOCK) */
1314
#define LOCK_STATIC_GLOBALS
1315
#define UNLOCK_STATIC_GLOBALS
1316
/* #define HAVE_LOCKED_STATIC_GLOBALS (1) */
1319
/* Static variables to hold version of IOR */
1320
static const int32_t s_IOR_MAJOR_VERSION = 0;
1321
static const int32_t s_IOR_MINOR_VERSION = 10;
1323
/* Static variables for managing EPV initialization. */
1324
static int s_remote_initialized = 0;
1326
static struct bHYPRE__Vector__epv s_rem_epv__bhypre__vector;
1328
static struct bHYPRE_Vector__epv s_rem_epv__bhypre_vector;
1330
static struct sidl_BaseInterface__epv s_rem_epv__sidl_baseinterface;
1333
/* REMOTE CAST: dynamic type casting for remote objects. */
1334
static void* remote_bHYPRE__Vector__cast(
1335
struct bHYPRE__Vector__object* self,
1336
const char* name, sidl_BaseInterface* _ex)
1342
*_ex = NULL; /* default to no exception */
1343
cmp0 = strcmp(name, "bHYPRE._Vector");
1345
(*self->d_epv->f_addRef)(self, _ex); SIDL_CHECK(*_ex);
1349
else if (cmp0 < 0) {
1350
cmp1 = strcmp(name, "bHYPRE.Vector");
1352
(*self->d_epv->f_addRef)(self, _ex); SIDL_CHECK(*_ex);
1353
cast = &((*self).d_bhypre_vector);
1357
else if (cmp0 > 0) {
1358
cmp1 = strcmp(name, "sidl.BaseInterface");
1360
(*self->d_epv->f_addRef)(self, _ex); SIDL_CHECK(*_ex);
1361
cast = &((*self).d_sidl_baseinterface);
1365
if ((*self->d_epv->f_isType)(self,name, _ex)) {
1366
void* (*func)(struct sidl_rmi_InstanceHandle__object*,
1367
struct sidl_BaseInterface__object**) =
1368
(void* (*)(struct sidl_rmi_InstanceHandle__object*,
1369
struct sidl_BaseInterface__object**))
1370
sidl_rmi_ConnectRegistry_getConnect(name, _ex);SIDL_CHECK(*_ex);
1371
cast = (*func)(((struct bHYPRE__Vector__remote*)self->d_data)->d_ih, _ex);
1379
/* REMOTE DELETE: call the remote destructor for the object. */
1380
static void remote_bHYPRE__Vector__delete(
1381
struct bHYPRE__Vector__object* self,
1382
sidl_BaseInterface* _ex)
1388
/* REMOTE GETURL: call the getURL function for the object. */
1389
static char* remote_bHYPRE__Vector__getURL(
1390
struct bHYPRE__Vector__object* self, sidl_BaseInterface* _ex)
1392
struct sidl_rmi_InstanceHandle__object *conn = ((struct
1393
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1396
return sidl_rmi_InstanceHandle_getObjectURL(conn, _ex);
1401
/* REMOTE ADDREF: For internal babel use only! Remote addRef. */
1402
static void remote_bHYPRE__Vector__raddRef(
1403
struct bHYPRE__Vector__object* self,sidl_BaseInterface* _ex)
1405
sidl_BaseException netex = NULL;
1406
/* initialize a new invocation */
1407
sidl_BaseInterface _throwaway = NULL;
1408
struct sidl_rmi_InstanceHandle__object *_conn = ((struct
1409
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1410
sidl_rmi_Response _rsvp = NULL;
1411
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1412
"addRef", _ex ); SIDL_CHECK(*_ex);
1413
/* send actual RMI request */
1414
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv,_ex);SIDL_CHECK(*_ex);
1415
/* Check for exceptions */
1416
netex = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);
1418
sidl_BaseInterface throwaway_exception = NULL;
1419
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(netex,
1420
&throwaway_exception);
1424
/* cleanup and return */
1426
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv,&_throwaway); }
1427
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp,&_throwaway); }
1431
/* REMOTE ISREMOTE: returns true if this object is Remote (it is). */
1433
remote_bHYPRE__Vector__isRemote(
1434
struct bHYPRE__Vector__object* self,
1435
sidl_BaseInterface *_ex) {
1440
/* REMOTE METHOD STUB:_set_hooks */
1442
remote_bHYPRE__Vector__set_hooks(
1443
/* in */ struct bHYPRE__Vector__object* self ,
1444
/* in */ sidl_bool on,
1445
/* out */ struct sidl_BaseInterface__object* *_ex)
1447
LANG_SPECIFIC_INIT();
1450
/* initialize a new invocation */
1451
sidl_BaseInterface _throwaway = NULL;
1452
sidl_BaseException _be = NULL;
1453
sidl_rmi_Response _rsvp = NULL;
1454
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1455
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1456
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1457
"_set_hooks", _ex ); SIDL_CHECK(*_ex);
1459
/* pack in and inout arguments */
1460
sidl_rmi_Invocation_packBool( _inv, "on", on, _ex);SIDL_CHECK(*_ex);
1462
/* send actual RMI request */
1463
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1465
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1467
sidl_BaseInterface throwaway_exception = NULL;
1468
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector._set_hooks.", &throwaway_exception);
1469
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1470
&throwaway_exception);
1474
/* unpack out and inout arguments */
1476
/* cleanup and return */
1478
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1479
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1484
/* REMOTE EXEC: call the exec function for the object. */
1485
static void remote_bHYPRE__Vector__exec(
1486
struct bHYPRE__Vector__object* self,const char* methodName,
1487
sidl_rmi_Call inArgs,
1488
sidl_rmi_Return outArgs,
1489
sidl_BaseInterface* _ex)
1494
/* REMOTE METHOD STUB:Clear */
1496
remote_bHYPRE__Vector_Clear(
1497
/* in */ struct bHYPRE__Vector__object* self ,
1498
/* out */ struct sidl_BaseInterface__object* *_ex)
1500
LANG_SPECIFIC_INIT();
1503
/* initialize a new invocation */
1504
sidl_BaseInterface _throwaway = NULL;
1505
sidl_BaseException _be = NULL;
1506
sidl_rmi_Response _rsvp = NULL;
1507
int32_t _retval = 0;
1508
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1509
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1510
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1511
"Clear", _ex ); SIDL_CHECK(*_ex);
1513
/* pack in and inout arguments */
1515
/* send actual RMI request */
1516
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1518
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1520
sidl_BaseInterface throwaway_exception = NULL;
1521
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Clear.", &throwaway_exception);
1522
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1523
&throwaway_exception);
1527
/* extract return value */
1528
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1529
_ex);SIDL_CHECK(*_ex);
1531
/* unpack out and inout arguments */
1533
/* cleanup and return */
1535
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1536
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1541
/* REMOTE METHOD STUB:Copy */
1543
remote_bHYPRE__Vector_Copy(
1544
/* in */ struct bHYPRE__Vector__object* self ,
1545
/* in */ struct bHYPRE_Vector__object* x,
1546
/* out */ struct sidl_BaseInterface__object* *_ex)
1548
LANG_SPECIFIC_INIT();
1551
/* initialize a new invocation */
1552
sidl_BaseInterface _throwaway = NULL;
1553
sidl_BaseException _be = NULL;
1554
sidl_rmi_Response _rsvp = NULL;
1555
int32_t _retval = 0;
1556
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1557
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1558
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1559
"Copy", _ex ); SIDL_CHECK(*_ex);
1561
/* pack in and inout arguments */
1563
char* _url = sidl_BaseInterface__getURL((sidl_BaseInterface)x,
1564
_ex);SIDL_CHECK(*_ex);
1565
sidl_rmi_Invocation_packString( _inv, "x", _url, _ex);SIDL_CHECK(*_ex);
1568
sidl_rmi_Invocation_packString( _inv, "x", NULL, _ex);SIDL_CHECK(*_ex);
1571
/* send actual RMI request */
1572
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1574
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1576
sidl_BaseInterface throwaway_exception = NULL;
1577
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Copy.", &throwaway_exception);
1578
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1579
&throwaway_exception);
1583
/* extract return value */
1584
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1585
_ex);SIDL_CHECK(*_ex);
1587
/* unpack out and inout arguments */
1589
/* cleanup and return */
1591
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1592
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1597
/* REMOTE METHOD STUB:Clone */
1599
remote_bHYPRE__Vector_Clone(
1600
/* in */ struct bHYPRE__Vector__object* self ,
1601
/* out */ struct bHYPRE_Vector__object** x,
1602
/* out */ struct sidl_BaseInterface__object* *_ex)
1604
LANG_SPECIFIC_INIT();
1607
/* initialize a new invocation */
1608
sidl_BaseInterface _throwaway = NULL;
1609
sidl_BaseException _be = NULL;
1610
sidl_rmi_Response _rsvp = NULL;
1612
int32_t _retval = 0;
1613
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1614
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1615
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1616
"Clone", _ex ); SIDL_CHECK(*_ex);
1618
/* pack in and inout arguments */
1620
/* send actual RMI request */
1621
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1623
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1625
sidl_BaseInterface throwaway_exception = NULL;
1626
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Clone.", &throwaway_exception);
1627
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1628
&throwaway_exception);
1632
/* extract return value */
1633
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1634
_ex);SIDL_CHECK(*_ex);
1636
/* unpack out and inout arguments */
1637
sidl_rmi_Response_unpackString( _rsvp, "x", &x_str, _ex);SIDL_CHECK(*_ex);
1638
*x = bHYPRE_Vector__connectI(x_str, FALSE, _ex);SIDL_CHECK(*_ex);
1640
/* cleanup and return */
1642
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1643
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1648
/* REMOTE METHOD STUB:Scale */
1650
remote_bHYPRE__Vector_Scale(
1651
/* in */ struct bHYPRE__Vector__object* self ,
1653
/* out */ struct sidl_BaseInterface__object* *_ex)
1655
LANG_SPECIFIC_INIT();
1658
/* initialize a new invocation */
1659
sidl_BaseInterface _throwaway = NULL;
1660
sidl_BaseException _be = NULL;
1661
sidl_rmi_Response _rsvp = NULL;
1662
int32_t _retval = 0;
1663
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1664
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1665
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1666
"Scale", _ex ); SIDL_CHECK(*_ex);
1668
/* pack in and inout arguments */
1669
sidl_rmi_Invocation_packDouble( _inv, "a", a, _ex);SIDL_CHECK(*_ex);
1671
/* send actual RMI request */
1672
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1674
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1676
sidl_BaseInterface throwaway_exception = NULL;
1677
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Scale.", &throwaway_exception);
1678
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1679
&throwaway_exception);
1683
/* extract return value */
1684
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1685
_ex);SIDL_CHECK(*_ex);
1687
/* unpack out and inout arguments */
1689
/* cleanup and return */
1691
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1692
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1697
/* REMOTE METHOD STUB:Dot */
1699
remote_bHYPRE__Vector_Dot(
1700
/* in */ struct bHYPRE__Vector__object* self ,
1701
/* in */ struct bHYPRE_Vector__object* x,
1702
/* out */ double* d,
1703
/* out */ struct sidl_BaseInterface__object* *_ex)
1705
LANG_SPECIFIC_INIT();
1708
/* initialize a new invocation */
1709
sidl_BaseInterface _throwaway = NULL;
1710
sidl_BaseException _be = NULL;
1711
sidl_rmi_Response _rsvp = NULL;
1712
int32_t _retval = 0;
1713
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1714
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1715
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1716
"Dot", _ex ); SIDL_CHECK(*_ex);
1718
/* pack in and inout arguments */
1720
char* _url = sidl_BaseInterface__getURL((sidl_BaseInterface)x,
1721
_ex);SIDL_CHECK(*_ex);
1722
sidl_rmi_Invocation_packString( _inv, "x", _url, _ex);SIDL_CHECK(*_ex);
1725
sidl_rmi_Invocation_packString( _inv, "x", NULL, _ex);SIDL_CHECK(*_ex);
1728
/* send actual RMI request */
1729
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1731
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1733
sidl_BaseInterface throwaway_exception = NULL;
1734
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Dot.", &throwaway_exception);
1735
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1736
&throwaway_exception);
1740
/* extract return value */
1741
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1742
_ex);SIDL_CHECK(*_ex);
1744
/* unpack out and inout arguments */
1745
sidl_rmi_Response_unpackDouble( _rsvp, "d", d, _ex);SIDL_CHECK(*_ex);
1747
/* cleanup and return */
1749
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1750
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1755
/* REMOTE METHOD STUB:Axpy */
1757
remote_bHYPRE__Vector_Axpy(
1758
/* in */ struct bHYPRE__Vector__object* self ,
1760
/* in */ struct bHYPRE_Vector__object* x,
1761
/* out */ struct sidl_BaseInterface__object* *_ex)
1763
LANG_SPECIFIC_INIT();
1766
/* initialize a new invocation */
1767
sidl_BaseInterface _throwaway = NULL;
1768
sidl_BaseException _be = NULL;
1769
sidl_rmi_Response _rsvp = NULL;
1770
int32_t _retval = 0;
1771
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1772
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1773
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1774
"Axpy", _ex ); SIDL_CHECK(*_ex);
1776
/* pack in and inout arguments */
1777
sidl_rmi_Invocation_packDouble( _inv, "a", a, _ex);SIDL_CHECK(*_ex);
1779
char* _url = sidl_BaseInterface__getURL((sidl_BaseInterface)x,
1780
_ex);SIDL_CHECK(*_ex);
1781
sidl_rmi_Invocation_packString( _inv, "x", _url, _ex);SIDL_CHECK(*_ex);
1784
sidl_rmi_Invocation_packString( _inv, "x", NULL, _ex);SIDL_CHECK(*_ex);
1787
/* send actual RMI request */
1788
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1790
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1792
sidl_BaseInterface throwaway_exception = NULL;
1793
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.Axpy.", &throwaway_exception);
1794
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1795
&throwaway_exception);
1799
/* extract return value */
1800
sidl_rmi_Response_unpackInt( _rsvp, "_retval", &_retval,
1801
_ex);SIDL_CHECK(*_ex);
1803
/* unpack out and inout arguments */
1805
/* cleanup and return */
1807
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1808
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1813
/* REMOTE METHOD STUB:addRef */
1815
remote_bHYPRE__Vector_addRef(
1816
/* in */ struct bHYPRE__Vector__object* self ,
1817
/* out */ struct sidl_BaseInterface__object* *_ex)
1819
LANG_SPECIFIC_INIT();
1822
struct bHYPRE__Vector__remote* r_obj = (struct
1823
bHYPRE__Vector__remote*)self->d_data;
1824
LOCK_STATIC_GLOBALS;
1825
r_obj->d_refcount++;
1826
UNLOCK_STATIC_GLOBALS;
1830
/* REMOTE METHOD STUB:deleteRef */
1832
remote_bHYPRE__Vector_deleteRef(
1833
/* in */ struct bHYPRE__Vector__object* self ,
1834
/* out */ struct sidl_BaseInterface__object* *_ex)
1836
LANG_SPECIFIC_INIT();
1839
struct bHYPRE__Vector__remote* r_obj = (struct
1840
bHYPRE__Vector__remote*)self->d_data;
1841
LOCK_STATIC_GLOBALS;
1842
r_obj->d_refcount--;
1843
if(r_obj->d_refcount == 0) {
1844
sidl_rmi_InstanceHandle_deleteRef(r_obj->d_ih, _ex);
1848
UNLOCK_STATIC_GLOBALS;
1852
/* REMOTE METHOD STUB:isSame */
1854
remote_bHYPRE__Vector_isSame(
1855
/* in */ struct bHYPRE__Vector__object* self ,
1856
/* in */ struct sidl_BaseInterface__object* iobj,
1857
/* out */ struct sidl_BaseInterface__object* *_ex)
1859
LANG_SPECIFIC_INIT();
1862
/* initialize a new invocation */
1863
sidl_BaseInterface _throwaway = NULL;
1864
sidl_BaseException _be = NULL;
1865
sidl_rmi_Response _rsvp = NULL;
1866
sidl_bool _retval = FALSE;
1867
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1868
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1869
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1870
"isSame", _ex ); SIDL_CHECK(*_ex);
1872
/* pack in and inout arguments */
1874
char* _url = sidl_BaseInterface__getURL((sidl_BaseInterface)iobj,
1875
_ex);SIDL_CHECK(*_ex);
1876
sidl_rmi_Invocation_packString( _inv, "iobj", _url, _ex);SIDL_CHECK(*_ex);
1879
sidl_rmi_Invocation_packString( _inv, "iobj", NULL, _ex);SIDL_CHECK(*_ex);
1882
/* send actual RMI request */
1883
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1885
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1887
sidl_BaseInterface throwaway_exception = NULL;
1888
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.isSame.", &throwaway_exception);
1889
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1890
&throwaway_exception);
1894
/* extract return value */
1895
sidl_rmi_Response_unpackBool( _rsvp, "_retval", &_retval,
1896
_ex);SIDL_CHECK(*_ex);
1898
/* unpack out and inout arguments */
1900
/* cleanup and return */
1902
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1903
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1908
/* REMOTE METHOD STUB:isType */
1910
remote_bHYPRE__Vector_isType(
1911
/* in */ struct bHYPRE__Vector__object* self ,
1912
/* in */ const char* name,
1913
/* out */ struct sidl_BaseInterface__object* *_ex)
1915
LANG_SPECIFIC_INIT();
1918
/* initialize a new invocation */
1919
sidl_BaseInterface _throwaway = NULL;
1920
sidl_BaseException _be = NULL;
1921
sidl_rmi_Response _rsvp = NULL;
1922
sidl_bool _retval = FALSE;
1923
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1924
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1925
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1926
"isType", _ex ); SIDL_CHECK(*_ex);
1928
/* pack in and inout arguments */
1929
sidl_rmi_Invocation_packString( _inv, "name", name, _ex);SIDL_CHECK(*_ex);
1931
/* send actual RMI request */
1932
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1934
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1936
sidl_BaseInterface throwaway_exception = NULL;
1937
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.isType.", &throwaway_exception);
1938
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1939
&throwaway_exception);
1943
/* extract return value */
1944
sidl_rmi_Response_unpackBool( _rsvp, "_retval", &_retval,
1945
_ex);SIDL_CHECK(*_ex);
1947
/* unpack out and inout arguments */
1949
/* cleanup and return */
1951
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
1952
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
1957
/* REMOTE METHOD STUB:getClassInfo */
1958
static struct sidl_ClassInfo__object*
1959
remote_bHYPRE__Vector_getClassInfo(
1960
/* in */ struct bHYPRE__Vector__object* self ,
1961
/* out */ struct sidl_BaseInterface__object* *_ex)
1963
LANG_SPECIFIC_INIT();
1966
/* initialize a new invocation */
1967
sidl_BaseInterface _throwaway = NULL;
1968
sidl_BaseException _be = NULL;
1969
sidl_rmi_Response _rsvp = NULL;
1970
char*_retval_str = NULL;
1971
struct sidl_ClassInfo__object* _retval = 0;
1972
struct sidl_rmi_InstanceHandle__object * _conn = ((struct
1973
bHYPRE__Vector__remote*)self->d_data)->d_ih;
1974
sidl_rmi_Invocation _inv = sidl_rmi_InstanceHandle_createInvocation( _conn,
1975
"getClassInfo", _ex ); SIDL_CHECK(*_ex);
1977
/* pack in and inout arguments */
1979
/* send actual RMI request */
1980
_rsvp = sidl_rmi_Invocation_invokeMethod(_inv, _ex);SIDL_CHECK(*_ex);
1982
_be = sidl_rmi_Response_getExceptionThrown(_rsvp, _ex);SIDL_CHECK(*_ex);
1984
sidl_BaseInterface throwaway_exception = NULL;
1985
sidl_BaseException_addLine(_be, "Exception unserialized from bHYPRE._Vector.getClassInfo.", &throwaway_exception);
1986
*_ex = (sidl_BaseInterface) sidl_BaseInterface__rmicast(_be,
1987
&throwaway_exception);
1991
/* extract return value */
1992
sidl_rmi_Response_unpackString( _rsvp, "_retval", &_retval_str,
1993
_ex);SIDL_CHECK(*_ex);
1994
_retval = sidl_ClassInfo__connectI(_retval_str, FALSE,
1995
_ex);SIDL_CHECK(*_ex);
1997
/* unpack out and inout arguments */
1999
/* cleanup and return */
2001
if(_inv) { sidl_rmi_Invocation_deleteRef(_inv, &_throwaway); }
2002
if(_rsvp) { sidl_rmi_Response_deleteRef(_rsvp, &_throwaway); }
2007
/* REMOTE EPV: create remote entry point vectors (EPVs). */
2008
static void bHYPRE__Vector__init_remote_epv(void)
2010
/* assert( HAVE_LOCKED_STATIC_GLOBALS ); */
2011
struct bHYPRE__Vector__epv* epv = &s_rem_epv__bhypre__vector;
2012
struct bHYPRE_Vector__epv* e0 = &s_rem_epv__bhypre_vector;
2013
struct sidl_BaseInterface__epv* e1 = &s_rem_epv__sidl_baseinterface;
2015
epv->f__cast = remote_bHYPRE__Vector__cast;
2016
epv->f__delete = remote_bHYPRE__Vector__delete;
2017
epv->f__exec = remote_bHYPRE__Vector__exec;
2018
epv->f__getURL = remote_bHYPRE__Vector__getURL;
2019
epv->f__raddRef = remote_bHYPRE__Vector__raddRef;
2020
epv->f__isRemote = remote_bHYPRE__Vector__isRemote;
2021
epv->f__set_hooks = remote_bHYPRE__Vector__set_hooks;
2022
epv->f__ctor = NULL;
2023
epv->f__ctor2 = NULL;
2024
epv->f__dtor = NULL;
2025
epv->f_Clear = remote_bHYPRE__Vector_Clear;
2026
epv->f_Copy = remote_bHYPRE__Vector_Copy;
2027
epv->f_Clone = remote_bHYPRE__Vector_Clone;
2028
epv->f_Scale = remote_bHYPRE__Vector_Scale;
2029
epv->f_Dot = remote_bHYPRE__Vector_Dot;
2030
epv->f_Axpy = remote_bHYPRE__Vector_Axpy;
2031
epv->f_addRef = remote_bHYPRE__Vector_addRef;
2032
epv->f_deleteRef = remote_bHYPRE__Vector_deleteRef;
2033
epv->f_isSame = remote_bHYPRE__Vector_isSame;
2034
epv->f_isType = remote_bHYPRE__Vector_isType;
2035
epv->f_getClassInfo = remote_bHYPRE__Vector_getClassInfo;
2037
e0->f__cast = (void* (*)(void*,const char*,
2038
sidl_BaseInterface*)) epv->f__cast;
2039
e0->f__delete = (void (*)(void*,sidl_BaseInterface*)) epv->f__delete;
2040
e0->f__getURL = (char* (*)(void*,sidl_BaseInterface*)) epv->f__getURL;
2041
e0->f__raddRef = (void (*)(void*,sidl_BaseInterface*)) epv->f__raddRef;
2042
e0->f__isRemote = (sidl_bool (*)(void*,
2043
sidl_BaseInterface*)) epv->f__isRemote;
2044
e0->f__set_hooks = (void (*)(void*,int32_t,
2045
sidl_BaseInterface*)) epv->f__set_hooks;
2046
e0->f__exec = (void (*)(void*,const char*,
2047
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
2048
struct sidl_BaseInterface__object **)) epv->f__exec;
2049
e0->f_Clear = (int32_t (*)(void*,
2050
struct sidl_BaseInterface__object **)) epv->f_Clear;
2051
e0->f_Copy = (int32_t (*)(void*,struct bHYPRE_Vector__object*,
2052
struct sidl_BaseInterface__object **)) epv->f_Copy;
2053
e0->f_Clone = (int32_t (*)(void*,struct bHYPRE_Vector__object**,
2054
struct sidl_BaseInterface__object **)) epv->f_Clone;
2055
e0->f_Scale = (int32_t (*)(void*,double,
2056
struct sidl_BaseInterface__object **)) epv->f_Scale;
2057
e0->f_Dot = (int32_t (*)(void*,struct bHYPRE_Vector__object*,double*,
2058
struct sidl_BaseInterface__object **)) epv->f_Dot;
2059
e0->f_Axpy = (int32_t (*)(void*,double,struct bHYPRE_Vector__object*,
2060
struct sidl_BaseInterface__object **)) epv->f_Axpy;
2061
e0->f_addRef = (void (*)(void*,
2062
struct sidl_BaseInterface__object **)) epv->f_addRef;
2063
e0->f_deleteRef = (void (*)(void*,
2064
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
2065
e0->f_isSame = (sidl_bool (*)(void*,struct sidl_BaseInterface__object*,
2066
struct sidl_BaseInterface__object **)) epv->f_isSame;
2067
e0->f_isType = (sidl_bool (*)(void*,const char*,
2068
struct sidl_BaseInterface__object **)) epv->f_isType;
2069
e0->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
2070
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
2072
e1->f__cast = (void* (*)(void*,const char*,
2073
sidl_BaseInterface*)) epv->f__cast;
2074
e1->f__delete = (void (*)(void*,sidl_BaseInterface*)) epv->f__delete;
2075
e1->f__getURL = (char* (*)(void*,sidl_BaseInterface*)) epv->f__getURL;
2076
e1->f__raddRef = (void (*)(void*,sidl_BaseInterface*)) epv->f__raddRef;
2077
e1->f__isRemote = (sidl_bool (*)(void*,
2078
sidl_BaseInterface*)) epv->f__isRemote;
2079
e1->f__set_hooks = (void (*)(void*,int32_t,
2080
sidl_BaseInterface*)) epv->f__set_hooks;
2081
e1->f__exec = (void (*)(void*,const char*,
2082
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
2083
struct sidl_BaseInterface__object **)) epv->f__exec;
2084
e1->f_addRef = (void (*)(void*,
2085
struct sidl_BaseInterface__object **)) epv->f_addRef;
2086
e1->f_deleteRef = (void (*)(void*,
2087
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
2088
e1->f_isSame = (sidl_bool (*)(void*,struct sidl_BaseInterface__object*,
2089
struct sidl_BaseInterface__object **)) epv->f_isSame;
2090
e1->f_isType = (sidl_bool (*)(void*,const char*,
2091
struct sidl_BaseInterface__object **)) epv->f_isType;
2092
e1->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
2093
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
2095
s_remote_initialized = 1;
2098
/* Create an instance that connects to an existing remote object. */
2099
static struct bHYPRE_Vector__object*
2100
bHYPRE_Vector__remoteConnect(const char *url, sidl_bool ar,
2101
sidl_BaseInterface *_ex)
2103
struct bHYPRE__Vector__object* self;
2105
struct bHYPRE__Vector__object* s0;
2107
struct bHYPRE__Vector__remote* r_obj;
2108
sidl_rmi_InstanceHandle instance = NULL;
2109
char* objectID = NULL;
2110
objectID = sidl_rmi_ServerRegistry_isLocalObject(url, _ex);
2112
sidl_BaseInterface bi =
2113
(sidl_BaseInterface)sidl_rmi_InstanceRegistry_getInstanceByString(
2116
sidl_BaseInterface_addRef(bi, _ex);
2118
return bHYPRE_Vector__rmicast(bi, _ex);
2120
instance = sidl_rmi_ProtocolFactory_connectInstance(url, ar, _ex );
2121
if ( instance == NULL) { return NULL; }
2123
(struct bHYPRE__Vector__object*) malloc(
2124
sizeof(struct bHYPRE__Vector__object));
2127
(struct bHYPRE__Vector__remote*) malloc(
2128
sizeof(struct bHYPRE__Vector__remote));
2130
r_obj->d_refcount = 1;
2131
r_obj->d_ih = instance;
2134
LOCK_STATIC_GLOBALS;
2135
if (!s_remote_initialized) {
2136
bHYPRE__Vector__init_remote_epv();
2138
UNLOCK_STATIC_GLOBALS;
2140
s0->d_bhypre_vector.d_epv = &s_rem_epv__bhypre_vector;
2141
s0->d_bhypre_vector.d_object = (void*) self;
2143
s0->d_sidl_baseinterface.d_epv = &s_rem_epv__sidl_baseinterface;
2144
s0->d_sidl_baseinterface.d_object = (void*) self;
2146
s0->d_data = (void*) r_obj;
2147
s0->d_epv = &s_rem_epv__bhypre__vector;
2149
self->d_data = (void*) r_obj;
2151
return bHYPRE_Vector__rmicast(self, _ex);
2153
/* Create an instance that uses an already existing */
2154
/* InstanceHandel to connect to an existing remote object. */
2155
static struct bHYPRE_Vector__object*
2156
bHYPRE_Vector__IHConnect(sidl_rmi_InstanceHandle instance,
2157
sidl_BaseInterface *_ex)
2159
struct bHYPRE__Vector__object* self;
2161
struct bHYPRE__Vector__object* s0;
2163
struct bHYPRE__Vector__remote* r_obj;
2165
(struct bHYPRE__Vector__object*) malloc(
2166
sizeof(struct bHYPRE__Vector__object));
2169
(struct bHYPRE__Vector__remote*) malloc(
2170
sizeof(struct bHYPRE__Vector__remote));
2172
r_obj->d_refcount = 1;
2173
r_obj->d_ih = instance;
2176
LOCK_STATIC_GLOBALS;
2177
if (!s_remote_initialized) {
2178
bHYPRE__Vector__init_remote_epv();
2180
UNLOCK_STATIC_GLOBALS;
2182
s0->d_bhypre_vector.d_epv = &s_rem_epv__bhypre_vector;
2183
s0->d_bhypre_vector.d_object = (void*) self;
2185
s0->d_sidl_baseinterface.d_epv = &s_rem_epv__sidl_baseinterface;
2186
s0->d_sidl_baseinterface.d_object = (void*) self;
2188
s0->d_data = (void*) r_obj;
2189
s0->d_epv = &s_rem_epv__bhypre__vector;
2191
self->d_data = (void*) r_obj;
2193
sidl_rmi_InstanceHandle_addRef(instance, _ex);
2194
return bHYPRE_Vector__rmicast(self, _ex);
2197
* Cast method for interface and class type conversions.
2200
struct bHYPRE_Vector__object*
2201
bHYPRE_Vector__rmicast(
2203
sidl_BaseInterface* _ex)
2205
struct bHYPRE_Vector__object* cast = NULL;
2208
if(!connect_loaded) {
2209
sidl_rmi_ConnectRegistry_registerConnect("bHYPRE.Vector",
2210
(void*)bHYPRE_Vector__IHConnect, _ex);
2214
struct sidl_BaseInterface__object* base = (struct
2215
sidl_BaseInterface__object*) obj;
2216
cast = (struct bHYPRE_Vector__object*) (*base->d_epv->f__cast)(
2218
"bHYPRE.Vector", _ex); SIDL_CHECK(*_ex);
2227
* RMI connector function for the class.
2230
struct bHYPRE_Vector__object*
2231
bHYPRE_Vector__connectI(const char* url, sidl_bool ar,
2232
struct sidl_BaseInterface__object **_ex)
2234
return bHYPRE_Vector__remoteConnect(url, ar, _ex);