This file is indexed.

/usr/include/salome/CosNotifyShorthands.h is in salome-kernel-dev 6.5.0-7ubuntu2.

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
// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//

//  SALOME Notification : wrapping of Notification service services
//  File   : CosNotifyShorthands.h
//  Module : SALOME
//
#ifndef _COS_NOTIFY_H_
#define _COS_NOTIFY_H_

#include <SALOMEconfig.h>

#ifndef COS_USES_BOA
#include <COS/TimeBase.hh>
#include <COS/CosNotification.hh>
#include <COS/CosNotifyComm.hh>
#include <COS/CosNotifyChannelAdmin.hh>
#include <COS/CosNotifyFilter.hh>
#else
#include <COS/BOA/TimeBase.hh>
#include <COS/BOA/CosNotification.hh>
#include <COS/BOA/CosNotifyComm.hh>
#include <COS/BOA/CosNotifyChannelAdmin.hh>
#include <COS/BOA/CosNotifyFilter.hh>
#endif

#define CosN   CosNotification
#define CosNC  CosNotifyComm
#define CosNA  CosNotifyChannelAdmin
#define CosNF  CosNotifyFilter

// XXX TODO: need typedefs and defines for
// XXX       compilers that do not support M::x syntax

typedef CosN::AdminProperties                   CosN_AdminProperties;
typedef CosN::AdminPropertiesAdmin              CosN_AdminPropertiesAdmin;
#define CosN_AnyOrder                           CosN::AnyOrder
#define CosN_BAD_PROPERTY                       CosN::BAD_PROPERTY
#define CosN_BAD_TYPE                           CosN::BAD_TYPE
#define CosN_BAD_VALUE                          CosN::BAD_VALUE
#define CosN_BestEffort                         CosN::BestEffort
#define CosN_ConnectionReliability              CosN::ConnectionReliability
#define CosN_DeadlineOrder                      CosN::DeadlineOrder
#define CosN_DefaultPriority                    CosN::DefaultPriority
#define CosN_DiscardPolicy                      CosN::DiscardPolicy
typedef CosN::EventBatch                        CosN_EventBatch;
#define CosN_EventReliability                   CosN::EventReliability
typedef CosN::EventType                         CosN_EventType;
typedef CosN::EventTypeSeq                      CosN_EventTypeSeq;
#define CosN_FifoOrder                          CosN::FifoOrder
#define CosN_HighestPriority                    CosN::HighestPriority
#define CosN_LifoOrder                          CosN::LifoOrder
#define CosN_LowestPriority                     CosN::LowestPriority
#define CosN_MaxEventsPerConsumer               CosN::MaxEventsPerConsumer
#define CosN_MaximumBatchSize                   CosN::MaximumBatchSize
#define CosN_NamedPropertyRangeSeq              CosN::NamedPropertyRangeSeq
#define CosN_OrderPolicy                        CosN::OrderPolicy
#define CosN_PacingInterval                     CosN::PacingInterval
#define CosN_Persistent                         CosN::Persistent
#define CosN_Priority                           CosN::Priority
#define CosN_PriorityOrder                      CosN::PriorityOrder
typedef CosN::Property                          CosN_Property;
typedef CosN::PropertyError                     CosN_PropertyError;
typedef CosN::PropertyErrorSeq                  CosN_PropertyErrorSeq;
typedef CosN::PropertyRange                     CosN_PropertyRange;
typedef CosN::PropertySeq                       CosN_PropertySeq;
typedef CosN::QoSAdmin                          CosN_QoSAdmin;
typedef CosN::QoSError_code                     CosN_QoSError_code;
typedef CosN::QoSProperties                     CosN_QoSProperties;
#define CosN_RejectNewEvents                    CosN::RejectNewEvents
#define CosN_StartTimeSupported                 CosN::StartTimeSupported
#define CosN_StopTimeSupported                  CosN::StopTimeSupported
typedef CosN::StructuredEvent                   CosN_StructuredEvent;
#define CosN_Timeout                            CosN::Timeout
#define CosN_UNAVAILABLE_PROPERTY               CosN::UNAVAILABLE_PROPERTY
#define CosN_UNAVAILABLE_VALUE                  CosN::UNAVAILABLE_VALUE
#define CosN_UNSUPPORTED_PROPERTY               CosN::UNSUPPORTED_PROPERTY
#define CosN_UNSUPPORTED_VALUE                  CosN::UNSUPPORTED_VALUE
typedef CosN::UnsupportedAdmin                  CosN_UnsupportedAdmin;
typedef CosN::UnsupportedQoS                    CosN_UnsupportedQoS;

#define CosNA_ALL_NOW_UPDATES_OFF               CosNA::ALL_NOW_UPDATES_OFF
#define CosNA_ALL_NOW_UPDATES_ON                CosNA::ALL_NOW_UPDATES_ON
#define CosNA_AND_OP                            CosNA::AND_OP
#define CosNA_ANY_EVENT                         CosNA::ANY_EVENT
typedef CosNA::AdminID                          CosNA_AdminID;
typedef CosNA::AdminIDSeq                       CosNA_AdminIDSeq;
typedef CosNA::AdminLimit                       CosNA_AdminLimit;
typedef CosNA::AdminLimitExceeded               CosNA_AdminLimitExceeded;
typedef CosNA::AdminNotFound                    CosNA_AdminNotFound;
typedef CosNA::ChannelID                        CosNA_ChannelID;
typedef CosNA::ChannelIDSeq                     CosNA_ChannelIDSeq;
typedef CosNA::ChannelNotFound                  CosNA_ChannelNotFound;
typedef CosNA::ClientType                       CosNA_ClientType;
typedef CosNA::ConnectionAlreadyActive          CosNA_ConnectionAlreadyActive;
typedef CosNA::ConnectionAlreadyInactive        CosNA_ConnectionAlreadyInactive;
typedef CosNA::ConsumerAdmin                    CosNA_ConsumerAdmin;
typedef CosNA::ConsumerAdmin_ptr                CosNA_ConsumerAdmin_ptr;
typedef CosNA::ConsumerAdmin_var                CosNA_ConsumerAdmin_var;
typedef CosNA::EventChannel                     CosNA_EventChannel;
typedef CosNA::EventChannelFactory              CosNA_EventChannelFactory;
typedef CosNA::EventChannelFactory_ptr          CosNA_EventChannelFactory_ptr;
typedef CosNA::EventChannelFactory_var          CosNA_EventChannelFactory_var;
typedef CosNA::EventChannel_ptr                 CosNA_EventChannel_ptr;
typedef CosNA::EventChannel_var                 CosNA_EventChannel_var;
typedef CosNA::InterFilterGroupOperator         CosNA_InterFilterGroupOperator;
#define CosNA_NONE_NOW_UPDATES_OFF              CosNA::NONE_NOW_UPDATES_OFF
#define CosNA_NONE_NOW_UPDATES_ON               CosNA::NONE_NOW_UPDATES_ON
typedef CosNA::NotConnected                     CosNA_NotConnected;
#define CosNA_OR_OP                             CosNA::OR_OP
typedef CosNA::ObtainInfoMode                   CosNA_ObtainInfoMode;
#define CosNA_PULL_ANY                          CosNA::PULL_ANY
#define CosNA_PULL_SEQUENCE                     CosNA::PULL_SEQUENCE
#define CosNA_PULL_STRUCTURED                   CosNA::PULL_STRUCTURED
#define CosNA_PUSH_ANY                          CosNA::PUSH_ANY
#define CosNA_PUSH_SEQUENCE                     CosNA::PUSH_SEQUENCE
#define CosNA_PUSH_STRUCTURED                   CosNA::PUSH_STRUCTURED
#define CosNA_PUSH_TYPED                        CosNA::PUSH_TYPED
#define CosNA_PULL_TYPED                        CosNA::PULL_TYPED
typedef CosNA::ProxyConsumer                    CosNA_ProxyConsumer;
typedef CosNA::ProxyConsumer_ptr                CosNA_ProxyConsumer_ptr;
typedef CosNA::ProxyConsumer_var                CosNA_ProxyConsumer_var;
typedef CosNA::ProxyID                          CosNA_ProxyID;
typedef CosNA::ProxyIDSeq                       CosNA_ProxyIDSeq;
typedef CosNA::ProxyNotFound                    CosNA_ProxyNotFound;
typedef CosNA::ProxyPullConsumer                CosNA_ProxyPullConsumer;
typedef CosNA::ProxyPullConsumer_ptr            CosNA_ProxyPullConsumer_ptr;
typedef CosNA::ProxyPullConsumer_var            CosNA_ProxyPullConsumer_var;
typedef CosNA::ProxyPullSupplier                CosNA_ProxyPullSupplier;
typedef CosNA::ProxyPullSupplier_ptr            CosNA_ProxyPullSupplier_ptr;
typedef CosNA::ProxyPullSupplier_var            CosNA_ProxyPullSupplier_var;
typedef CosNA::ProxyPushConsumer                CosNA_ProxyPushConsumer;
typedef CosNA::ProxyPushConsumer_ptr            CosNA_ProxyPushConsumer_ptr;
typedef CosNA::ProxyPushConsumer_var            CosNA_ProxyPushConsumer_var;
typedef CosNA::ProxyPushSupplier                CosNA_ProxyPushSupplier;
typedef CosNA::ProxyPushSupplier_ptr            CosNA_ProxyPushSupplier_ptr;
typedef CosNA::ProxyPushSupplier_var            CosNA_ProxyPushSupplier_var;
typedef CosNA::ProxySupplier                    CosNA_ProxySupplier;
typedef CosNA::ProxySupplier_ptr                CosNA_ProxySupplier_ptr;
typedef CosNA::ProxySupplier_var                CosNA_ProxySupplier_var;
typedef CosNA::ProxyType                        CosNA_ProxyType;
#define CosNA_SEQUENCE_EVENT                    CosNA::SEQUENCE_EVENT
#define CosNA_STRUCTURED_EVENT                  CosNA::STRUCTURED_EVENT
typedef CosNA::SequenceProxyPullConsumer        CosNA_SequenceProxyPullConsumer;
typedef CosNA::SequenceProxyPullConsumer_ptr    CosNA_SequenceProxyPullConsumer_ptr;
typedef CosNA::SequenceProxyPullConsumer_var    CosNA_SequenceProxyPullConsumer_var;
typedef CosNA::SequenceProxyPullSupplier        CosNA_SequenceProxyPullSupplier;
typedef CosNA::SequenceProxyPullSupplier_ptr    CosNA_SequenceProxyPullSupplier_ptr;
typedef CosNA::SequenceProxyPullSupplier_var    CosNA_SequenceProxyPullSupplier_var;
typedef CosNA::SequenceProxyPushConsumer        CosNA_SequenceProxyPushConsumer;
typedef CosNA::SequenceProxyPushConsumer_ptr    CosNA_SequenceProxyPushConsumer_ptr;
typedef CosNA::SequenceProxyPushConsumer_var    CosNA_SequenceProxyPushConsumer_var;
typedef CosNA::SequenceProxyPushSupplier        CosNA_SequenceProxyPushSupplier;
typedef CosNA::SequenceProxyPushSupplier_ptr    CosNA_SequenceProxyPushSupplier_ptr;
typedef CosNA::SequenceProxyPushSupplier_var    CosNA_SequenceProxyPushSupplier_var;
typedef CosNA::StructuredProxyPullConsumer      CosNA_StructuredProxyPullConsumer;
typedef CosNA::StructuredProxyPullConsumer_ptr  CosNA_StructuredProxyPullConsumer_ptr;
typedef CosNA::StructuredProxyPullConsumer_var  CosNA_StructuredProxyPullConsumer_var;
typedef CosNA::StructuredProxyPullSupplier      CosNA_StructuredProxyPullSupplier;
typedef CosNA::StructuredProxyPullSupplier_ptr  CosNA_StructuredProxyPullSupplier_ptr;
typedef CosNA::StructuredProxyPullSupplier_var  CosNA_StructuredProxyPullSupplier_var;
typedef CosNA::StructuredProxyPushConsumer      CosNA_StructuredProxyPushConsumer;
typedef CosNA::StructuredProxyPushConsumer_ptr  CosNA_StructuredProxyPushConsumer_ptr;
typedef CosNA::StructuredProxyPushConsumer_var  CosNA_StructuredProxyPushConsumer_var;
typedef CosNA::StructuredProxyPushSupplier      CosNA_StructuredProxyPushSupplier;
typedef CosNA::StructuredProxyPushSupplier_ptr  CosNA_StructuredProxyPushSupplier_ptr;
typedef CosNA::StructuredProxyPushSupplier_var  CosNA_StructuredProxyPushSupplier_var;
typedef CosNA::SupplierAdmin                    CosNA_SupplierAdmin;
typedef CosNA::SupplierAdmin_ptr                CosNA_SupplierAdmin_ptr;
typedef CosNA::SupplierAdmin_var                CosNA_SupplierAdmin_var;

typedef CosNC::InvalidEventType                 CosNC_InvalidEventType;
typedef CosNC::NotifyPublish                    CosNC_NotifyPublish;
typedef CosNC::NotifyPublish_ptr                CosNC_NotifyPublish_ptr;
typedef CosNC::NotifyPublish_var                CosNC_NotifyPublish_var;
typedef CosNC::NotifySubscribe                  CosNC_NotifySubscribe;
typedef CosNC::NotifySubscribe_ptr              CosNC_NotifySubscribe_ptr;
typedef CosNC::NotifySubscribe_var              CosNC_NotifySubscribe_var;
typedef CosNC::PullConsumer                     CosNC_PullConsumer;
typedef CosNC::PullConsumer_ptr                 CosNC_PullConsumer_ptr;
typedef CosNC::PullConsumer_var                 CosNC_PullConsumer_var;
typedef CosNC::PullSupplier                     CosNC_PullSupplier;
typedef CosNC::PullSupplier_ptr                 CosNC_PullSupplier_ptr;
typedef CosNC::PullSupplier_var                 CosNC_PullSupplier_var;
typedef CosNC::PushConsumer                     CosNC_PushConsumer;
typedef CosNC::PushConsumer_ptr                 CosNC_PushConsumer_ptr;
typedef CosNC::PushConsumer_var                 CosNC_PushConsumer_var;
typedef CosNC::PushSupplier                     CosNC_PushSupplier;
typedef CosNC::PushSupplier_ptr                 CosNC_PushSupplier_ptr;
typedef CosNC::PushSupplier_var                 CosNC_PushSupplier_var;
typedef CosNC::SequencePullConsumer             CosNC_SequencePullConsumer;
typedef CosNC::SequencePullConsumer_ptr         CosNC_SequencePullConsumer_ptr;
typedef CosNC::SequencePullConsumer_var         CosNC_SequencePullConsumer_var;
typedef CosNC::SequencePullSupplier             CosNC_SequencePullSupplier;
typedef CosNC::SequencePullSupplier_ptr         CosNC_SequencePullSupplier_ptr;
typedef CosNC::SequencePullSupplier_var         CosNC_SequencePullSupplier_var;
typedef CosNC::SequencePushConsumer             CosNC_SequencePushConsumer;
typedef CosNC::SequencePushConsumer_ptr         CosNC_SequencePushConsumer_ptr;
typedef CosNC::SequencePushConsumer_var         CosNC_SequencePushConsumer_var;
typedef CosNC::SequencePushSupplier             CosNC_SequencePushSupplier;
typedef CosNC::SequencePushSupplier_ptr         CosNC_SequencePushSupplier_ptr;
typedef CosNC::SequencePushSupplier_var         CosNC_SequencePushSupplier_var;
typedef CosNC::StructuredPullConsumer           CosNC_StructuredPullConsumer;
typedef CosNC::StructuredPullConsumer_ptr       CosNC_StructuredPullConsumer_ptr;
typedef CosNC::StructuredPullConsumer_var       CosNC_StructuredPullConsumer_var;
typedef CosNC::StructuredPullSupplier           CosNC_StructuredPullSupplier;
typedef CosNC::StructuredPullSupplier_ptr       CosNC_StructuredPullSupplier_ptr;
typedef CosNC::StructuredPullSupplier_var       CosNC_StructuredPullSupplier_var;
typedef CosNC::StructuredPushConsumer           CosNC_StructuredPushConsumer;
typedef CosNC::StructuredPushConsumer_ptr       CosNC_StructuredPushConsumer_ptr;
typedef CosNC::StructuredPushConsumer_var       CosNC_StructuredPushConsumer_var;
typedef CosNC::StructuredPushSupplier           CosNC_StructuredPushSupplier;
typedef CosNC::StructuredPushSupplier_ptr       CosNC_StructuredPushSupplier_ptr;
typedef CosNC::StructuredPushSupplier_var       CosNC_StructuredPushSupplier_var;

typedef CosNF::CallbackID                       CosNF_CallbackID;
typedef CosNF::CallbackIDSeq                    CosNF_CallbackIDSeq;
typedef CosNF::ConstraintExp                    CosNF_ConstraintExp;
typedef CosNF::ConstraintExpSeq                 CosNF_ConstraintExpSeq;
typedef CosNF::ConstraintID                     CosNF_ConstraintID;
typedef CosNF::ConstraintIDSeq                  CosNF_ConstraintIDSeq;
typedef CosNF::ConstraintInfoSeq                CosNF_ConstraintInfoSeq;
typedef CosNF::ConstraintInfoSeq_var            CosNF_ConstraintInfoSeq_var;
typedef CosNF::ConstraintNotFound               CosNF_ConstraintNotFound;
typedef CosNF::Filter                           CosNF_Filter;
typedef CosNF::FilterAdmin                      CosNF_FilterAdmin;
typedef CosNF::FilterAdmin_ptr                  CosNF_FilterAdmin_ptr;
typedef CosNF::FilterFactory                    CosNF_FilterFactory;
typedef CosNF::FilterFactory_ptr                CosNF_FilterFactory_ptr;
typedef CosNF::FilterFactory_var                CosNF_FilterFactory_var;
typedef CosNF::FilterID                         CosNF_FilterID;
typedef CosNF::FilterIDSeq                      CosNF_FilterIDSeq;
typedef CosNF::FilterNotFound                   CosNF_FilterNotFound;
typedef CosNF::Filter_ptr                       CosNF_Filter_ptr;
typedef CosNF::Filter_var                       CosNF_Filter_var;
typedef CosNF::InvalidConstraint                CosNF_InvalidConstraint;
typedef CosNF::InvalidGrammar                   CosNF_InvalidGrammar;
typedef CosNF::MappingConstraintInfoSeq         CosNF_MappingConstraintInfoSeq;
typedef CosNF::MappingConstraintPairSeq         CosNF_MappingConstraintPairSeq;
typedef CosNF::MappingFilter                    CosNF_MappingFilter;
typedef CosNF::MappingFilter_ptr                CosNF_MappingFilter_ptr;
typedef CosNF::MappingFilter_var                CosNF_MappingFilter_var;

#endif