OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / mico / basic.h
1 // -*- c++ -*-
2 /*
3  *  MICO --- an Open Source CORBA implementation
4  *  Copyright (c) 1997-2001 by The Mico Team
5  *
6  *  This library is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU Library General Public
8  *  License as published by the Free Software Foundation; either
9  *  version 2 of the License, or (at your option) any later version.
10  *
11  *  This library is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  *  Library General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Library General Public
17  *  License along with this library; if not, write to the Free
18  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  *
20  *  For more information, visit the MICO Home Page at
21  *  http://www.mico.org/
22  */
23
24 #ifndef __mico_basic_h__
25 #define __mico_basic_h__
26
27 namespace CORBA {
28
29 // basic types
30 typedef MICO_Short  Short;
31 typedef MICO_Short& Short_out;
32 typedef MICO_Long  Long;
33 typedef MICO_Long& Long_out;
34 typedef MICO_LongLong  LongLong;
35 typedef MICO_LongLong& LongLong_out;
36 typedef MICO_UShort  UShort;
37 typedef MICO_UShort& UShort_out;
38 typedef MICO_ULong  ULong;
39 typedef MICO_ULong& ULong_out;
40 typedef MICO_ULongLong  ULongLong;
41 typedef MICO_ULongLong& ULongLong_out;
42 typedef MICO_Float  Float;
43 typedef MICO_Float& Float_out;
44 typedef MICO_Double  Double;
45 typedef MICO_Double& Double_out;
46 typedef MICO_LongDouble  LongDouble;
47 typedef MICO_LongDouble& LongDouble_out;
48 typedef MICO_Char  Char;
49 typedef MICO_Char& Char_out;
50 typedef MICO_WChar  WChar;
51 typedef MICO_WChar& WChar_out;
52 typedef MICO_Boolean  Boolean;
53 typedef MICO_Boolean& Boolean_out;
54 typedef MICO_Octet Octet;
55 typedef MICO_Octet& Octet_out;
56
57
58 typedef ULong Flags;
59
60
61 // forwards
62 class Environment;
63 class NamedValue;
64 class NVList;
65 class ExceptionList;
66 class ContextList;
67 class Request;
68 class Context;
69 class Principal;
70 class TypeCode;
71 class TypeCodeChecker;
72 class BOA;
73 class ORB;
74 class ImplementationDef;
75 class ImplRepository;
76 class Repository;
77 class InterfaceDef;
78 class OperationDef;
79 class ServerRequestBase;
80 class ServerRequest;
81 class ImplementationBase;
82 class DynamicImplementation;
83 class StaticServerRequest;
84 class ValueDef;
85
86 class String_var;
87 class String_out;
88 class WString_var;
89 class WString_out;
90 class Object;
91 class Exception;
92 class SystemException;
93 class UserException;
94 class UnknownUserException;
95 class Any;
96
97 class StaticTypeInfo;
98 class StaticAny;
99
100 class DataEncoder;
101 class DataDecoder;
102
103 class ValueBase;
104 class AbstractBase;
105
106 typedef Environment *Environment_ptr;
107 typedef ObjOut<Environment> Environment_out;  // needed in orb.h
108 typedef Environment *EnvironmentRef;
109 typedef NamedValue *NamedValue_ptr;
110 typedef NamedValue *NamedValueRef;
111 typedef NVList *NVList_ptr;
112 typedef NVList *NVListRef;
113 typedef ExceptionList *ExceptionList_ptr;
114 typedef ExceptionList *ExceptionListRef;
115 typedef ContextList *ContextList_ptr;
116 typedef ObjOut<ContextList> ContextList_out;  // needed in orb.h
117 typedef ContextList *ContextListRef;
118 typedef Request *Request_ptr;
119 typedef ObjOut<Request> Request_out;
120 typedef Request *RequestRef;
121 typedef Context *Context_ptr;
122 typedef Context *ContextRef;
123 typedef Principal *Principal_ptr;
124 typedef Principal *PrincipalRef;
125 typedef TypeCode *TypeCode_ptr;
126 typedef TypeCode *TypeCodeRef;
127 typedef ObjVar<TypeCode> TypeCode_var;
128 typedef ObjOut<TypeCode> TypeCode_out;
129 typedef BOA *BOA_ptr;
130 typedef BOA *BOARef;
131 typedef ORB *ORB_ptr;
132 typedef ORB *ORBRef;
133 typedef InterfaceDef *InterfaceDef_ptr;
134 // InterfaceDefRef is defined in ir.h
135 typedef OperationDef *OperationDef_ptr;
136 // OperationDefRef is defined in ir.h
137 typedef ValueDef *ValueDef_ptr;
138 typedef ServerRequest *ServerRequest_ptr;
139 typedef ServerRequest *ServerRequestRef;
140 typedef ServerRequestBase *ServerRequestBase_ptr;
141 typedef ServerRequestBase *ServerRequestBaseRef;
142 typedef StaticServerRequest *StaticServerRequest_ptr;
143 typedef Object *Object_ptr;
144 typedef ObjOut<Object> Object_out;  // needed in any.h
145 typedef Object *ObjectRef;
146
147 }
148
149 #endif // __mico_basic_h__