blob: 675ec3ff96450cb2c02c5653cc3983566db43212 (
plain)
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
|
// This may look like C, but it's really -*- C++ -*-
// ============================================================================
//
// = LIBRARY
// TAO
//
// = FILENAME
// iiopobj.h
//
// = AUTHOR
// Copyright 1994-1995 by Sun Microsystems Inc.
//
// ============================================================================
#if !defined (TAO_IIOPORB_H)
# define TAO_IIOPORB_H
#include "tao/corba.h"
typedef class IIOP_ORB *IIOP_ORB_ptr;
// ORB pseudo-objref
class TAO_Export IIOP_ORB : public CORBA_ORB
// = TITLE
// Bridge implementation of IIOP_ORB
//
// = DESCRIPTION
// This is one of the two main hooks into IIOP in this Win32
// C/C++/COM based implementation; the other being IIOP_Object.
{
public:
IIOP_ORB (void);
// constructor
~IIOP_ORB (void);
// destructor
CORBA::Object_ptr string_to_object (const CORBA::String str,
CORBA::Environment &env);
// Get an object reference from the IOR string
CORBA::String object_to_string (CORBA::Object_ptr obj,
CORBA::Environment &env);
// Convert an object reference to an IOR stringified form
TAO_HRESULT QueryInterface (REFIID riid,
void **ppv);
// COM stuff - get the underlying IUnknown object based on the riid
// = ACCESSORS
void use_omg_ior_format (CORBA::Boolean ior);
// Set the IOR flag.
CORBA::Boolean use_omg_ior_format (void);
// Get the IOR flag.
private:
CORBA::Boolean use_omg_ior_format_;
// decides whether to use the URL notation or to use IOR notation
// These are not provided.
IIOP_ORB (const IIOP_ORB &);
IIOP_ORB &operator = (const IIOP_ORB &);
};
typedef IIOP_ORB *IIOP_ORB_ptr;
#endif /* TAO_IIOPORB_H */
|