/usr/include/COS/CosPersistenceDS_CLI.hh is in libcos4-dev 4.1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __CosPersistenceDS__CLI_hh__
#define __CosPersistenceDS__CLI_hh__
#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif
#ifndef USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#include "COS_sysdep.h"
#ifndef __CosPersistencePID_hh_EXTERNAL_GUARD__
#define __CosPersistencePID_hh_EXTERNAL_GUARD__
#include "CosPersistencePID.hh"
#endif
#ifndef __CosPersistenceDDO_hh_EXTERNAL_GUARD__
#define __CosPersistenceDDO_hh_EXTERNAL_GUARD__
#include "CosPersistenceDDO.hh"
#endif
#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll
# endif
#endif
#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef USE_core_stub_in_nt_dll
# define _core_attr _OMNIORB_NTDLL_IMPORT
# else
# define _core_attr
# endif
#endif
#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef USE_dyn_stub_in_nt_dll
# define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
# define _dyn_attr
# endif
#endif
_CORBA_MODULE CosPersistenceDS_CLI
_CORBA_MODULE_BEG
#ifndef __CosPersistenceDS__CLI_mUserEnvironment__
#define __CosPersistenceDS__CLI_mUserEnvironment__
class UserEnvironment;
class _objref_UserEnvironment;
class _impl_UserEnvironment;
typedef _objref_UserEnvironment* UserEnvironment_ptr;
typedef UserEnvironment_ptr UserEnvironmentRef;
class UserEnvironment_Helper {
public:
typedef UserEnvironment_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_UserEnvironment, UserEnvironment_Helper> UserEnvironment_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_UserEnvironment,UserEnvironment_Helper > UserEnvironment_out;
#endif
// interface UserEnvironment
class UserEnvironment {
public:
// Declarations for this interface type.
typedef UserEnvironment_ptr _ptr_type;
typedef UserEnvironment_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_UserEnvironment :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void set_option(::CORBA::Long option, const ::CORBA::Any& value);
void get_option(::CORBA::Long option, ::CORBA::Any_OUT_arg value);
void release();
inline _objref_UserEnvironment() { _PR_setobj(0); } // nil
_objref_UserEnvironment(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_UserEnvironment();
private:
virtual void* _ptrToObjRef(const char*);
_objref_UserEnvironment(const _objref_UserEnvironment&);
_objref_UserEnvironment& operator = (const _objref_UserEnvironment&);
// not implemented
friend class UserEnvironment;
};
class _pof_UserEnvironment : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_UserEnvironment() : _OMNI_NS(proxyObjectFactory)(UserEnvironment::_PD_repoId) {}
virtual ~_pof_UserEnvironment();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_UserEnvironment :
public virtual omniServant
{
public:
virtual ~_impl_UserEnvironment();
virtual void set_option(::CORBA::Long option, const ::CORBA::Any& value) = 0;
virtual void get_option(::CORBA::Long option, ::CORBA::Any_OUT_arg value) = 0;
virtual void release() = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_UserEnvironment;
#ifndef __CosPersistenceDS__CLI_mConnection__
#define __CosPersistenceDS__CLI_mConnection__
class Connection;
class _objref_Connection;
class _impl_Connection;
typedef _objref_Connection* Connection_ptr;
typedef Connection_ptr ConnectionRef;
class Connection_Helper {
public:
typedef Connection_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_Connection, Connection_Helper> Connection_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_Connection,Connection_Helper > Connection_out;
#endif
// interface Connection
class Connection {
public:
// Declarations for this interface type.
typedef Connection_ptr _ptr_type;
typedef Connection_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_Connection :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void set_option(::CORBA::Long option, const ::CORBA::Any& value);
void get_option(::CORBA::Long option, ::CORBA::Any_OUT_arg value);
inline _objref_Connection() { _PR_setobj(0); } // nil
_objref_Connection(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_Connection();
private:
virtual void* _ptrToObjRef(const char*);
_objref_Connection(const _objref_Connection&);
_objref_Connection& operator = (const _objref_Connection&);
// not implemented
friend class Connection;
};
class _pof_Connection : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_Connection() : _OMNI_NS(proxyObjectFactory)(Connection::_PD_repoId) {}
virtual ~_pof_Connection();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_Connection :
public virtual omniServant
{
public:
virtual ~_impl_Connection();
virtual void set_option(::CORBA::Long option, const ::CORBA::Any& value) = 0;
virtual void get_option(::CORBA::Long option, ::CORBA::Any_OUT_arg value) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Connection;
#ifndef __CosPersistenceDS__CLI_mConnectionFactory__
#define __CosPersistenceDS__CLI_mConnectionFactory__
class ConnectionFactory;
class _objref_ConnectionFactory;
class _impl_ConnectionFactory;
typedef _objref_ConnectionFactory* ConnectionFactory_ptr;
typedef ConnectionFactory_ptr ConnectionFactoryRef;
class ConnectionFactory_Helper {
public:
typedef ConnectionFactory_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_ConnectionFactory, ConnectionFactory_Helper> ConnectionFactory_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_ConnectionFactory,ConnectionFactory_Helper > ConnectionFactory_out;
#endif
// interface ConnectionFactory
class ConnectionFactory {
public:
// Declarations for this interface type.
typedef ConnectionFactory_ptr _ptr_type;
typedef ConnectionFactory_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_ConnectionFactory :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
Connection_ptr create_object(::CosPersistenceDS_CLI::UserEnvironment_ptr user_envir);
inline _objref_ConnectionFactory() { _PR_setobj(0); } // nil
_objref_ConnectionFactory(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_ConnectionFactory();
private:
virtual void* _ptrToObjRef(const char*);
_objref_ConnectionFactory(const _objref_ConnectionFactory&);
_objref_ConnectionFactory& operator = (const _objref_ConnectionFactory&);
// not implemented
friend class ConnectionFactory;
};
class _pof_ConnectionFactory : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_ConnectionFactory() : _OMNI_NS(proxyObjectFactory)(ConnectionFactory::_PD_repoId) {}
virtual ~_pof_ConnectionFactory();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_ConnectionFactory :
public virtual omniServant
{
public:
virtual ~_impl_ConnectionFactory();
virtual Connection_ptr create_object(::CosPersistenceDS_CLI::UserEnvironment_ptr user_envir) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ConnectionFactory;
#ifndef __CosPersistenceDS__CLI_mCursor__
#define __CosPersistenceDS__CLI_mCursor__
class Cursor;
class _objref_Cursor;
class _impl_Cursor;
typedef _objref_Cursor* Cursor_ptr;
typedef Cursor_ptr CursorRef;
class Cursor_Helper {
public:
typedef Cursor_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_Cursor, Cursor_Helper> Cursor_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_Cursor,Cursor_Helper > Cursor_out;
#endif
// interface Cursor
class Cursor {
public:
// Declarations for this interface type.
typedef Cursor_ptr _ptr_type;
typedef Cursor_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_Cursor :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void set_position(::CORBA::Long position, const ::CORBA::Any& value);
CosPersistenceDDO::DDO_ptr fetch_object();
inline _objref_Cursor() { _PR_setobj(0); } // nil
_objref_Cursor(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_Cursor();
private:
virtual void* _ptrToObjRef(const char*);
_objref_Cursor(const _objref_Cursor&);
_objref_Cursor& operator = (const _objref_Cursor&);
// not implemented
friend class Cursor;
};
class _pof_Cursor : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_Cursor() : _OMNI_NS(proxyObjectFactory)(Cursor::_PD_repoId) {}
virtual ~_pof_Cursor();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_Cursor :
public virtual omniServant
{
public:
virtual ~_impl_Cursor();
virtual void set_position(::CORBA::Long position, const ::CORBA::Any& value) = 0;
virtual CosPersistenceDDO::DDO_ptr fetch_object() = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Cursor;
#ifndef __CosPersistenceDS__CLI_mCursorFactory__
#define __CosPersistenceDS__CLI_mCursorFactory__
class CursorFactory;
class _objref_CursorFactory;
class _impl_CursorFactory;
typedef _objref_CursorFactory* CursorFactory_ptr;
typedef CursorFactory_ptr CursorFactoryRef;
class CursorFactory_Helper {
public:
typedef CursorFactory_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_CursorFactory, CursorFactory_Helper> CursorFactory_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_CursorFactory,CursorFactory_Helper > CursorFactory_out;
#endif
// interface CursorFactory
class CursorFactory {
public:
// Declarations for this interface type.
typedef CursorFactory_ptr _ptr_type;
typedef CursorFactory_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_CursorFactory :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
Cursor_ptr create_object(::CosPersistenceDS_CLI::Connection_ptr a_connection);
inline _objref_CursorFactory() { _PR_setobj(0); } // nil
_objref_CursorFactory(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_CursorFactory();
private:
virtual void* _ptrToObjRef(const char*);
_objref_CursorFactory(const _objref_CursorFactory&);
_objref_CursorFactory& operator = (const _objref_CursorFactory&);
// not implemented
friend class CursorFactory;
};
class _pof_CursorFactory : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_CursorFactory() : _OMNI_NS(proxyObjectFactory)(CursorFactory::_PD_repoId) {}
virtual ~_pof_CursorFactory();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_CursorFactory :
public virtual omniServant
{
public:
virtual ~_impl_CursorFactory();
virtual Cursor_ptr create_object(::CosPersistenceDS_CLI::Connection_ptr a_connection) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CursorFactory;
#ifndef __CosPersistenceDS__CLI_mPID__CLI__
#define __CosPersistenceDS__CLI_mPID__CLI__
class PID_CLI;
class _objref_PID_CLI;
class _impl_PID_CLI;
typedef _objref_PID_CLI* PID_CLI_ptr;
typedef PID_CLI_ptr PID_CLIRef;
class PID_CLI_Helper {
public:
typedef PID_CLI_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_PID_CLI, PID_CLI_Helper> PID_CLI_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_PID_CLI,PID_CLI_Helper > PID_CLI_out;
#endif
// interface PID_CLI
class PID_CLI {
public:
// Declarations for this interface type.
typedef PID_CLI_ptr _ptr_type;
typedef PID_CLI_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_PID_CLI :
public virtual CosPersistencePID::_objref_PID
{
public:
char* datastore_id();
void datastore_id(const char* _v);
char* id();
void id(const char* _v);
inline _objref_PID_CLI() { _PR_setobj(0); } // nil
_objref_PID_CLI(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_PID_CLI();
private:
virtual void* _ptrToObjRef(const char*);
_objref_PID_CLI(const _objref_PID_CLI&);
_objref_PID_CLI& operator = (const _objref_PID_CLI&);
// not implemented
friend class PID_CLI;
};
class _pof_PID_CLI : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_PID_CLI() : _OMNI_NS(proxyObjectFactory)(PID_CLI::_PD_repoId) {}
virtual ~_pof_PID_CLI();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_PID_CLI :
public virtual CosPersistencePID::_impl_PID
{
public:
virtual ~_impl_PID_CLI();
virtual char* datastore_id() = 0;
virtual void datastore_id(const char* _v) = 0;
virtual char* id() = 0;
virtual void id(const char* _v) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_PID_CLI;
#ifndef __CosPersistenceDS__CLI_mDatastore__CLI__
#define __CosPersistenceDS__CLI_mDatastore__CLI__
class Datastore_CLI;
class _objref_Datastore_CLI;
class _impl_Datastore_CLI;
typedef _objref_Datastore_CLI* Datastore_CLI_ptr;
typedef Datastore_CLI_ptr Datastore_CLIRef;
class Datastore_CLI_Helper {
public:
typedef Datastore_CLI_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_Datastore_CLI, Datastore_CLI_Helper> Datastore_CLI_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_Datastore_CLI,Datastore_CLI_Helper > Datastore_CLI_out;
#endif
// interface Datastore_CLI
class Datastore_CLI {
public:
// Declarations for this interface type.
typedef Datastore_CLI_ptr _ptr_type;
typedef Datastore_CLI_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_Datastore_CLI :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void connect(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* datastore_id, const char* user_name, const char* authentication);
void disconnect(::CosPersistenceDS_CLI::Connection_ptr a_connection);
Connection_ptr get_connection(const char* datastore_id, const char* user_name);
void add_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj);
void delete_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj);
void update_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj);
void retrieve_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj);
Cursor_ptr select_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* key);
void transact(::CosPersistenceDS_CLI::UserEnvironment_ptr user_envir, ::CORBA::Short completion_type);
void assign_PID(::CosPersistenceDS_CLI::PID_CLI_ptr p);
void assign_PID_relative(::CosPersistenceDS_CLI::PID_CLI_ptr source_pid, ::CosPersistenceDS_CLI::PID_CLI_ptr target_pid);
::CORBA::Boolean is_identical_PID(::CosPersistenceDS_CLI::PID_CLI_ptr pid_1, ::CosPersistenceDS_CLI::PID_CLI_ptr pid_2);
char* get_object_type(::CosPersistenceDS_CLI::PID_CLI_ptr p);
void register_mapping_schema(const char* schema_file);
Cursor_ptr execute(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* command);
inline _objref_Datastore_CLI() { _PR_setobj(0); } // nil
_objref_Datastore_CLI(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_Datastore_CLI();
private:
virtual void* _ptrToObjRef(const char*);
_objref_Datastore_CLI(const _objref_Datastore_CLI&);
_objref_Datastore_CLI& operator = (const _objref_Datastore_CLI&);
// not implemented
friend class Datastore_CLI;
};
class _pof_Datastore_CLI : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_Datastore_CLI() : _OMNI_NS(proxyObjectFactory)(Datastore_CLI::_PD_repoId) {}
virtual ~_pof_Datastore_CLI();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_Datastore_CLI :
public virtual omniServant
{
public:
virtual ~_impl_Datastore_CLI();
virtual void connect(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* datastore_id, const char* user_name, const char* authentication) = 0;
virtual void disconnect(::CosPersistenceDS_CLI::Connection_ptr a_connection) = 0;
virtual Connection_ptr get_connection(const char* datastore_id, const char* user_name) = 0;
virtual void add_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj) = 0;
virtual void delete_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj) = 0;
virtual void update_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj) = 0;
virtual void retrieve_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, ::CosPersistenceDDO::DDO_ptr data_obj) = 0;
virtual Cursor_ptr select_object(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* key) = 0;
virtual void transact(::CosPersistenceDS_CLI::UserEnvironment_ptr user_envir, ::CORBA::Short completion_type) = 0;
virtual void assign_PID(::CosPersistenceDS_CLI::PID_CLI_ptr p) = 0;
virtual void assign_PID_relative(::CosPersistenceDS_CLI::PID_CLI_ptr source_pid, ::CosPersistenceDS_CLI::PID_CLI_ptr target_pid) = 0;
virtual ::CORBA::Boolean is_identical_PID(::CosPersistenceDS_CLI::PID_CLI_ptr pid_1, ::CosPersistenceDS_CLI::PID_CLI_ptr pid_2) = 0;
virtual char* get_object_type(::CosPersistenceDS_CLI::PID_CLI_ptr p) = 0;
virtual void register_mapping_schema(const char* schema_file) = 0;
virtual Cursor_ptr execute(::CosPersistenceDS_CLI::Connection_ptr a_connection, const char* command) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Datastore_CLI;
_CORBA_MODULE_END
_CORBA_MODULE POA_CosPersistenceDS_CLI
_CORBA_MODULE_BEG
class UserEnvironment :
public virtual CosPersistenceDS_CLI::_impl_UserEnvironment,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~UserEnvironment();
inline ::CosPersistenceDS_CLI::UserEnvironment_ptr _this() {
return (::CosPersistenceDS_CLI::UserEnvironment_ptr) _do_this(::CosPersistenceDS_CLI::UserEnvironment::_PD_repoId);
}
};
class Connection :
public virtual CosPersistenceDS_CLI::_impl_Connection,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~Connection();
inline ::CosPersistenceDS_CLI::Connection_ptr _this() {
return (::CosPersistenceDS_CLI::Connection_ptr) _do_this(::CosPersistenceDS_CLI::Connection::_PD_repoId);
}
};
class ConnectionFactory :
public virtual CosPersistenceDS_CLI::_impl_ConnectionFactory,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~ConnectionFactory();
inline ::CosPersistenceDS_CLI::ConnectionFactory_ptr _this() {
return (::CosPersistenceDS_CLI::ConnectionFactory_ptr) _do_this(::CosPersistenceDS_CLI::ConnectionFactory::_PD_repoId);
}
};
class Cursor :
public virtual CosPersistenceDS_CLI::_impl_Cursor,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~Cursor();
inline ::CosPersistenceDS_CLI::Cursor_ptr _this() {
return (::CosPersistenceDS_CLI::Cursor_ptr) _do_this(::CosPersistenceDS_CLI::Cursor::_PD_repoId);
}
};
class CursorFactory :
public virtual CosPersistenceDS_CLI::_impl_CursorFactory,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~CursorFactory();
inline ::CosPersistenceDS_CLI::CursorFactory_ptr _this() {
return (::CosPersistenceDS_CLI::CursorFactory_ptr) _do_this(::CosPersistenceDS_CLI::CursorFactory::_PD_repoId);
}
};
class PID_CLI :
public virtual CosPersistenceDS_CLI::_impl_PID_CLI,
public virtual POA_CosPersistencePID::PID
{
public:
virtual ~PID_CLI();
inline ::CosPersistenceDS_CLI::PID_CLI_ptr _this() {
return (::CosPersistenceDS_CLI::PID_CLI_ptr) _do_this(::CosPersistenceDS_CLI::PID_CLI::_PD_repoId);
}
};
class Datastore_CLI :
public virtual CosPersistenceDS_CLI::_impl_Datastore_CLI,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~Datastore_CLI();
inline ::CosPersistenceDS_CLI::Datastore_CLI_ptr _this() {
return (::CosPersistenceDS_CLI::Datastore_CLI_ptr) _do_this(::CosPersistenceDS_CLI::Datastore_CLI::_PD_repoId);
}
};
_CORBA_MODULE_END
_CORBA_MODULE OBV_CosPersistenceDS_CLI
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::UserEnvironment_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::UserEnvironment_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::UserEnvironment_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Connection_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Connection_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::Connection_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::ConnectionFactory_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::ConnectionFactory_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::ConnectionFactory_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Cursor_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Cursor_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::Cursor_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::CursorFactory_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::CursorFactory_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::CursorFactory_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::PID_CLI_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::PID_CLI_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::PID_CLI_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Datastore_CLI_ptr _s);
void operator<<=(::CORBA::Any& _a, CosPersistenceDS_CLI::Datastore_CLI_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosPersistenceDS_CLI::Datastore_CLI_ptr& _s);
inline void
CosPersistenceDS_CLI::UserEnvironment::_marshalObjRef(::CosPersistenceDS_CLI::UserEnvironment_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::Connection::_marshalObjRef(::CosPersistenceDS_CLI::Connection_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::ConnectionFactory::_marshalObjRef(::CosPersistenceDS_CLI::ConnectionFactory_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::Cursor::_marshalObjRef(::CosPersistenceDS_CLI::Cursor_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::CursorFactory::_marshalObjRef(::CosPersistenceDS_CLI::CursorFactory_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::PID_CLI::_marshalObjRef(::CosPersistenceDS_CLI::PID_CLI_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosPersistenceDS_CLI::Datastore_CLI::_marshalObjRef(::CosPersistenceDS_CLI::Datastore_CLI_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosPersistenceDS__CLI
#endif
#endif // __CosPersistenceDS__CLI_hh__
|