zeroc-ice 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -1
- data/ext/Communicator.cpp +72 -2
- data/ext/Communicator.h +1 -1
- data/ext/Config.h +11 -1
- data/ext/Connection.cpp +22 -2
- data/ext/Connection.h +4 -1
- data/ext/Endpoint.cpp +1 -1
- data/ext/Endpoint.h +1 -1
- data/ext/ImplicitContext.cpp +1 -1
- data/ext/ImplicitContext.h +1 -1
- data/ext/Init.cpp +1 -1
- data/ext/Logger.cpp +1 -1
- data/ext/Logger.h +1 -1
- data/ext/Operation.cpp +1 -1
- data/ext/Operation.h +1 -1
- data/ext/Properties.cpp +1 -1
- data/ext/Properties.h +1 -1
- data/ext/Proxy.cpp +70 -1
- data/ext/Proxy.h +1 -1
- data/ext/Slice.cpp +1 -1
- data/ext/Slice.h +1 -1
- data/ext/Types.cpp +21 -5
- data/ext/Types.h +1 -1
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +1 -1
- data/ext/ValueFactoryManager.cpp +2 -2
- data/ext/ValueFactoryManager.h +2 -2
- data/ext/ice/cpp/include/Ice/Application.h +234 -76
- data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -1
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -1
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -2
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -1
- data/ext/ice/cpp/include/Ice/Buffer.h +1 -1
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -1
- data/ext/ice/cpp/include/Ice/Comparable.h +81 -1
- data/ext/ice/cpp/include/Ice/Config.h +8 -1
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -1
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -1
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -1
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -2
- data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -2
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -1
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -1
- data/ext/ice/cpp/include/Ice/Exception.h +57 -15
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +19 -1
- data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -2
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/Format.h +13 -14
- data/ext/ice/cpp/include/Ice/Functional.h +6 -1
- data/ext/ice/cpp/include/Ice/GCObject.h +1 -1
- data/ext/ice/cpp/include/Ice/Handle.h +1 -1
- data/ext/ice/cpp/include/Ice/Ice.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +38 -3
- data/ext/ice/cpp/include/Ice/Incoming.h +15 -2
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +37 -4
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/Initialize.h +764 -98
- data/ext/ice/cpp/include/Ice/InputStream.h +637 -112
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -1
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -1
- data/ext/ice/cpp/include/Ice/LocalObject.h +5 -1
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -1
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -6
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +3 -1
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -23
- data/ext/ice/cpp/include/Ice/Object.h +338 -47
- data/ext/ice/cpp/include/Ice/ObjectF.h +5 -1
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -1
- data/ext/ice/cpp/include/Ice/Optional.h +22 -6
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -1
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +436 -92
- data/ext/ice/cpp/include/Ice/Protocol.h +31 -1
- data/ext/ice/cpp/include/Ice/Proxy.h +2244 -190
- data/ext/ice/cpp/include/Ice/ProxyF.h +3 -1
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -1
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -1
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -1
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -9
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/SHA1.h +1 -1
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -1
- data/ext/ice/cpp/include/Ice/Service.h +267 -138
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -1
- data/ext/ice/cpp/include/Ice/SlicedData.h +80 -33
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -1
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +324 -116
- data/ext/ice/cpp/include/Ice/StringConverter.h +32 -1
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -1
- data/ext/ice/cpp/include/Ice/UUID.h +2 -1
- data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -2
- data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -2
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -1
- data/ext/ice/cpp/include/Ice/Value.h +41 -1
- data/ext/ice/cpp/include/Ice/ValueF.h +3 -1
- data/ext/ice/cpp/include/IceSSL/Config.h +1 -1
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -1
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -53
- data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -218
- data/ext/ice/cpp/include/IceSSL/SChannel.h +34 -27
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +35 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +33 -24
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Cond.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +11 -3
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +59 -31
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Exception.h +1 -1
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Functional.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Handle.h +1 -1
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Lock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Mutex.h +2 -5
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Optional.h +95 -1
- data/ext/ice/cpp/include/IceUtil/Options.h +1 -1
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -4
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +5 -3
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Shared.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +106 -86
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Thread.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Time.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Timer.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UUID.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +80 -20
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +927 -130
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Connection.h +990 -194
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +21 -9
- data/ext/ice/cpp/include/generated/Ice/Current.h +180 -17
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +484 -118
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +41 -17
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +29 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +11 -5
- data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -7
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +150 -28
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +629 -83
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +19 -7
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +5104 -794
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2222 -443
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +27 -9
- data/ext/ice/cpp/include/generated/Ice/Logger.h +104 -26
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2534 -455
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1004 -126
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +72 -12
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +142 -28
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +17 -7
- data/ext/ice/cpp/include/generated/Ice/Process.h +511 -71
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/Properties.h +306 -58
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +737 -121
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +22 -8
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1526 -279
- data/ext/ice/cpp/include/generated/Ice/Router.h +1009 -198
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +174 -18
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +13 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +177 -23
- data/ext/ice/cpp/include/generated/Ice/Version.h +43 -13
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +71 -15
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +13 -5
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +39 -9
- data/ext/ice/cpp/src/Ice/ACM.cpp +12 -3
- data/ext/ice/cpp/src/Ice/ACM.h +1 -1
- data/ext/ice/cpp/src/Ice/ACMF.h +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.h +1 -1
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.h +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Communicator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +34 -13
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +10 -10
- data/ext/ice/cpp/src/Ice/Cond.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -6
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Connection.cpp +27 -11
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +24 -19
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +45 -37
- data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -8
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Connector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Connector.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -1
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -7
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -1
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -1
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +24 -10
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -13
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EventHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Exception.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/GCObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +24 -29
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +2 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -1
- data/ext/ice/cpp/src/Ice/Incoming.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -1
- data/ext/ice/cpp/src/Ice/Initialize.cpp +10 -16
- data/ext/ice/cpp/src/Ice/InputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instance.cpp +13 -34
- data/ext/ice/cpp/src/Ice/Instance.h +1 -1
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +33 -13
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -1
- data/ext/ice/cpp/src/Ice/LocalException.cpp +279 -279
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Locator.cpp +287 -174
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +1 -1
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/Logger.cpp +6 -4
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Metrics.cpp +297 -109
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Network.cpp +188 -225
- data/ext/ice/cpp/src/Ice/Network.h +3 -12
- data/ext/ice/cpp/src/Ice/NetworkF.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -1
- data/ext/ice/cpp/src/Ice/Object.cpp +7 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -19
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +116 -150
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +11 -11
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +25 -42
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Plugin.cpp +9 -5
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -34
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +69 -40
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +6 -4
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +89 -54
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +15 -21
- data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -10
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +4 -2
- data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -2
- data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -13
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +46 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/Reference.cpp +56 -6
- data/ext/ice/cpp/src/Ice/Reference.h +13 -2
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +51 -90
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +203 -117
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -1
- data/ext/ice/cpp/src/Ice/Router.cpp +167 -89
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +6 -28
- data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -3
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/SHA1.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Selector.cpp +19 -26
- data/ext/ice/cpp/src/Ice/Selector.h +1 -1
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +15 -31
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -1
- data/ext/ice/cpp/src/Ice/SharedContext.h +1 -1
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -1
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +32 -52
- data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -1
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -1
- data/ext/ice/cpp/src/Ice/StringUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +5 -13
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +8 -11
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Thread.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +13 -13
- data/ext/ice/cpp/src/Ice/ThreadPool.h +1 -1
- data/ext/ice/cpp/src/Ice/Timer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/TransceiverF.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +19 -27
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +17 -54
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Value.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +9 -5
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -6
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -5
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +8 -9
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +85 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +599 -113
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +70 -24
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +635 -69
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +71 -9
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Instance.h +1 -1
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +25 -62
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +19 -27
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +7 -16
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -5
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.h +1 -1
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -1
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Random.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +1 -5
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -1
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +1 -1
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +160 -150
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +9 -8
- data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Checksum.h +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +567 -585
- data/ext/ice/cpp/src/Slice/Grammar.h +2 -2
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +131 -47
- data/ext/ice/cpp/src/Slice/JavaUtil.h +10 -5
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -1
- data/ext/ice/cpp/src/Slice/MD5.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +383 -101
- data/ext/ice/cpp/src/Slice/Parser.h +40 -3
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -2
- data/ext/ice/cpp/src/Slice/Python.cpp +7 -15
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +66 -9
- data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -2
- data/ext/ice/cpp/src/Slice/Ruby.cpp +1 -1
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +2 -2
- data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +214 -135
- data/ext/ice/cpp/src/Slice/SliceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +99 -17
- data/ext/ice/cpp/src/Slice/Util.h +5 -4
- data/ice.gemspec +2 -2
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +2 -2
- data/lib/Glacier2/PermissionsVerifier.rb +2 -2
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -2
- data/lib/Glacier2/Router.rb +2 -2
- data/lib/Glacier2/RouterF.rb +2 -2
- data/lib/Glacier2/SSLInfo.rb +2 -2
- data/lib/Glacier2/Session.rb +2 -2
- data/lib/Ice.rb +2 -2
- data/lib/Ice/BuiltinSequences.rb +2 -2
- data/lib/Ice/Communicator.rb +2 -2
- data/lib/Ice/CommunicatorF.rb +2 -2
- data/lib/Ice/Connection.rb +2 -2
- data/lib/Ice/ConnectionF.rb +2 -2
- data/lib/Ice/Current.rb +2 -2
- data/lib/Ice/Endpoint.rb +2 -2
- data/lib/Ice/EndpointF.rb +2 -2
- data/lib/Ice/EndpointTypes.rb +2 -2
- data/lib/Ice/FacetMap.rb +2 -2
- data/lib/Ice/Identity.rb +2 -2
- data/lib/Ice/ImplicitContext.rb +2 -2
- data/lib/Ice/ImplicitContextF.rb +2 -2
- data/lib/Ice/Instrumentation.rb +2 -2
- data/lib/Ice/InstrumentationF.rb +2 -2
- data/lib/Ice/LocalException.rb +2 -2
- data/lib/Ice/Locator.rb +2 -2
- data/lib/Ice/LocatorF.rb +2 -2
- data/lib/Ice/Logger.rb +2 -2
- data/lib/Ice/LoggerF.rb +2 -2
- data/lib/Ice/Metrics.rb +2 -2
- data/lib/Ice/ObjectAdapter.rb +2 -2
- data/lib/Ice/ObjectAdapterF.rb +2 -2
- data/lib/Ice/ObjectFactory.rb +2 -2
- data/lib/Ice/Plugin.rb +2 -2
- data/lib/Ice/PluginF.rb +2 -2
- data/lib/Ice/Process.rb +2 -2
- data/lib/Ice/ProcessF.rb +2 -2
- data/lib/Ice/Properties.rb +2 -2
- data/lib/Ice/PropertiesAdmin.rb +2 -2
- data/lib/Ice/PropertiesF.rb +2 -2
- data/lib/Ice/RemoteLogger.rb +2 -2
- data/lib/Ice/Router.rb +2 -2
- data/lib/Ice/RouterF.rb +2 -2
- data/lib/Ice/ServantLocator.rb +2 -2
- data/lib/Ice/ServantLocatorF.rb +2 -2
- data/lib/Ice/SliceChecksumDict.rb +2 -2
- data/lib/Ice/ValueFactory.rb +2 -2
- data/lib/Ice/Version.rb +2 -2
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +2 -2
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +2 -2
- data/lib/IceGrid/Descriptor.rb +2 -2
- data/lib/IceGrid/Exception.rb +2 -2
- data/lib/IceGrid/FileParser.rb +2 -2
- data/lib/IceGrid/PluginFacade.rb +2 -2
- data/lib/IceGrid/Registry.rb +2 -2
- data/lib/IceGrid/Session.rb +2 -2
- data/lib/IceGrid/UserAccountMapper.rb +2 -2
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +2 -2
- data/lib/IcePatch2/FileServer.rb +2 -2
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +2 -2
- data/lib/IceStorm/Metrics.rb +2 -2
- data/slice/Glacier2/Metrics.ice +2 -2
- data/slice/Glacier2/PermissionsVerifier.ice +2 -2
- data/slice/Glacier2/PermissionsVerifierF.ice +2 -2
- data/slice/Glacier2/Router.ice +2 -2
- data/slice/Glacier2/RouterF.ice +2 -2
- data/slice/Glacier2/SSLInfo.ice +2 -2
- data/slice/Glacier2/Session.ice +2 -2
- data/slice/Ice/BuiltinSequences.ice +2 -2
- data/slice/Ice/Communicator.ice +66 -73
- data/slice/Ice/CommunicatorF.ice +2 -2
- data/slice/Ice/Connection.ice +47 -17
- data/slice/Ice/ConnectionF.ice +2 -2
- data/slice/Ice/Current.ice +4 -5
- data/slice/Ice/Endpoint.ice +16 -16
- data/slice/Ice/EndpointF.ice +2 -2
- data/slice/Ice/EndpointTypes.ice +2 -2
- data/slice/Ice/FacetMap.ice +2 -2
- data/slice/Ice/Identity.ice +2 -2
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/ImplicitContextF.ice +2 -2
- data/slice/Ice/Instrumentation.ice +2 -2
- data/slice/Ice/InstrumentationF.ice +2 -2
- data/slice/Ice/LocalException.ice +2 -2
- data/slice/Ice/Locator.ice +3 -3
- data/slice/Ice/LocatorF.ice +2 -2
- data/slice/Ice/Logger.ice +2 -2
- data/slice/Ice/LoggerF.ice +2 -2
- data/slice/Ice/Metrics.ice +2 -2
- data/slice/Ice/ObjectAdapter.ice +10 -10
- data/slice/Ice/ObjectAdapterF.ice +2 -2
- data/slice/Ice/ObjectFactory.ice +3 -3
- data/slice/Ice/Plugin.ice +4 -4
- data/slice/Ice/PluginF.ice +2 -2
- data/slice/Ice/Process.ice +2 -2
- data/slice/Ice/ProcessF.ice +2 -2
- data/slice/Ice/Properties.ice +11 -11
- data/slice/Ice/PropertiesAdmin.ice +2 -2
- data/slice/Ice/PropertiesF.ice +2 -2
- data/slice/Ice/RemoteLogger.ice +12 -23
- data/slice/Ice/Router.ice +2 -2
- data/slice/Ice/RouterF.ice +2 -2
- data/slice/Ice/ServantLocator.ice +2 -2
- data/slice/Ice/ServantLocatorF.ice +2 -2
- data/slice/Ice/SliceChecksumDict.ice +2 -2
- data/slice/Ice/ValueFactory.ice +14 -16
- data/slice/Ice/Version.ice +2 -2
- data/slice/IceBT/ConnectionInfo.ice +2 -2
- data/slice/IceBT/EndpointInfo.ice +2 -2
- data/slice/IceBT/Types.ice +2 -2
- data/slice/IceBox/IceBox.ice +3 -4
- data/slice/IceDiscovery/IceDiscovery.ice +2 -2
- data/slice/IceGrid/Admin.ice +2 -2
- data/slice/IceGrid/Descriptor.ice +2 -2
- data/slice/IceGrid/Exception.ice +2 -2
- data/slice/IceGrid/FileParser.ice +2 -2
- data/slice/IceGrid/PluginFacade.ice +6 -6
- data/slice/IceGrid/Registry.ice +2 -2
- data/slice/IceGrid/Session.ice +2 -2
- data/slice/IceGrid/UserAccountMapper.ice +2 -2
- data/slice/IceIAP/ConnectionInfo.ice +2 -2
- data/slice/IceIAP/EndpointInfo.ice +2 -2
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +2 -2
- data/slice/IcePatch2/FileInfo.ice +2 -2
- data/slice/IcePatch2/FileServer.ice +2 -2
- data/slice/IceSSL/ConnectionInfo.ice +2 -2
- data/slice/IceSSL/ConnectionInfoF.ice +2 -2
- data/slice/IceSSL/EndpointInfo.ice +2 -2
- data/slice/IceStorm/IceStorm.ice +5 -6
- data/slice/IceStorm/Metrics.ice +2 -2
- metadata +3 -13
- data/BZIP2_LICENSE +0 -42
- data/ext/ice/bzip2/blocksort.c +0 -1094
- data/ext/ice/bzip2/bzlib.c +0 -1572
- data/ext/ice/bzip2/bzlib.h +0 -282
- data/ext/ice/bzip2/bzlib_private.h +0 -509
- data/ext/ice/bzip2/compress.c +0 -672
- data/ext/ice/bzip2/crctable.c +0 -104
- data/ext/ice/bzip2/decompress.c +0 -646
- data/ext/ice/bzip2/huffman.c +0 -205
- data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -15,6 +15,10 @@
|
|
15
15
|
namespace Ice
|
16
16
|
{
|
17
17
|
|
18
|
+
/**
|
19
|
+
* Obtains the map containing the checksums for Slice definitions.
|
20
|
+
* @return The checksum map.
|
21
|
+
*/
|
18
22
|
ICE_API SliceChecksumDict sliceChecksums();
|
19
23
|
|
20
24
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -17,48 +17,50 @@
|
|
17
17
|
namespace Ice
|
18
18
|
{
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
/**
|
21
|
+
* Encapsulates the details of a slice for an unknown class or exception type.
|
22
|
+
* \headerfile Ice/Ice.h
|
23
|
+
*/
|
23
24
|
struct ICE_API SliceInfo
|
24
25
|
#ifndef ICE_CPP11_MAPPING
|
25
26
|
: public ::IceUtil::Shared
|
26
27
|
#endif
|
27
28
|
{
|
28
|
-
|
29
|
-
|
30
|
-
|
29
|
+
/**
|
30
|
+
* The Slice type ID for this slice.
|
31
|
+
*/
|
31
32
|
::std::string typeId;
|
32
33
|
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
/**
|
35
|
+
* The Slice compact type ID for this slice.
|
36
|
+
*/
|
36
37
|
int compactId;
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
39
|
+
/**
|
40
|
+
* The encoded bytes for this slice, including the leading size integer.
|
41
|
+
*/
|
41
42
|
::std::vector<Byte> bytes;
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
44
|
+
/**
|
45
|
+
* The class instances referenced by this slice.
|
46
|
+
*/
|
46
47
|
::std::vector<ValuePtr> instances;
|
47
48
|
|
48
|
-
|
49
|
-
|
50
|
-
|
49
|
+
/**
|
50
|
+
* Whether or not the slice contains optional members.
|
51
|
+
*/
|
51
52
|
bool hasOptionalMembers;
|
52
53
|
|
53
|
-
|
54
|
-
|
55
|
-
|
54
|
+
/**
|
55
|
+
* Whether or not this is the last slice.
|
56
|
+
*/
|
56
57
|
bool isLastSlice;
|
57
58
|
};
|
58
59
|
|
59
|
-
|
60
|
-
|
61
|
-
|
60
|
+
/**
|
61
|
+
* Holds the slices of unknown types.
|
62
|
+
* \headerfile Ice/Ice.h
|
63
|
+
*/
|
62
64
|
class ICE_API SlicedData
|
63
65
|
#ifndef ICE_CPP11_MAPPING
|
64
66
|
: public ::IceUtil::Shared
|
@@ -72,22 +74,26 @@ public:
|
|
72
74
|
|
73
75
|
SlicedData(const SliceInfoSeq&);
|
74
76
|
|
77
|
+
/** The slices of unknown types. */
|
75
78
|
const SliceInfoSeq slices;
|
76
79
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
+
/**
|
81
|
+
* Clears the slices to break potential cyclic references.
|
82
|
+
*/
|
80
83
|
void clear();
|
81
84
|
|
82
85
|
#ifndef ICE_CPP11_MAPPING
|
86
|
+
/// \cond INTERNAL
|
83
87
|
void _iceGcVisitMembers(IceInternal::GCVisitor&);
|
88
|
+
/// \endcond
|
84
89
|
#endif
|
85
90
|
|
86
91
|
};
|
87
92
|
|
88
|
-
|
89
|
-
|
90
|
-
|
93
|
+
/**
|
94
|
+
* Represents an instance of an unknown type.
|
95
|
+
* \headerfile Ice/Ice.h
|
96
|
+
*/
|
91
97
|
class ICE_API UnknownSlicedValue :
|
92
98
|
#ifdef ICE_CPP11_MAPPING
|
93
99
|
public Value
|
@@ -97,26 +103,67 @@ class ICE_API UnknownSlicedValue :
|
|
97
103
|
{
|
98
104
|
public:
|
99
105
|
|
100
|
-
|
106
|
+
/**
|
107
|
+
* Constructs the placeholder instance.
|
108
|
+
* @param unknownTypeId The Slice type ID of the unknown value.
|
109
|
+
*/
|
110
|
+
UnknownSlicedValue(const std::string& unknownTypeId);
|
101
111
|
|
102
112
|
#ifdef ICE_CPP11_MAPPING
|
113
|
+
/**
|
114
|
+
* Obtains the sliced data associated with this instance.
|
115
|
+
* @return The sliced data if the value has a preserved-slice base class and has been sliced during
|
116
|
+
* unmarshaling of the value, or nil otherwise.
|
117
|
+
*/
|
103
118
|
virtual SlicedDataPtr ice_getSlicedData() const override;
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Determine the Slice type ID associated with this instance.
|
122
|
+
* @return The type ID supplied to the constructor.
|
123
|
+
*/
|
104
124
|
virtual std::string ice_id() const override;
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Clones this object.
|
128
|
+
* @return A new instance.
|
129
|
+
*/
|
105
130
|
std::shared_ptr<UnknownSlicedValue> ice_clone() const;
|
106
131
|
|
132
|
+
/// \cond STREAM
|
107
133
|
virtual void _iceWrite(::Ice::OutputStream*) const override;
|
108
134
|
virtual void _iceRead(::Ice::InputStream*) override;
|
135
|
+
/// \endcond
|
109
136
|
|
110
137
|
protected:
|
111
138
|
|
139
|
+
/// \cond INTERNAL
|
112
140
|
virtual std::shared_ptr<Value> _iceCloneImpl() const override;
|
141
|
+
/// \endcond
|
142
|
+
|
113
143
|
#else
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Obtains the sliced data associated with this instance.
|
147
|
+
* @return The sliced data if the value has a preserved-slice base class and has been sliced during
|
148
|
+
* unmarshaling of the value, or nil otherwise.
|
149
|
+
*/
|
114
150
|
virtual SlicedDataPtr ice_getSlicedData() const;
|
115
|
-
virtual const std::string& ice_id(const Current& = Ice::emptyCurrent) const;
|
116
151
|
|
152
|
+
/**
|
153
|
+
* Determine the Slice type ID associated with this instance.
|
154
|
+
* @param current The current object for this invocation.
|
155
|
+
* @return The type ID supplied to the constructor.
|
156
|
+
*/
|
157
|
+
virtual const std::string& ice_id(const Current& current = Ice::emptyCurrent) const;
|
158
|
+
|
159
|
+
/// \cond INTERNAL
|
117
160
|
virtual void _iceGcVisitMembers(IceInternal::GCVisitor&);
|
161
|
+
/// \endcond
|
162
|
+
|
163
|
+
/// \cond STREAM
|
118
164
|
virtual void _iceWrite(::Ice::OutputStream*) const;
|
119
165
|
virtual void _iceRead(::Ice::InputStream*);
|
166
|
+
/// \endcond
|
120
167
|
#endif
|
121
168
|
|
122
169
|
private:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -21,9 +21,11 @@ class SlicedData;
|
|
21
21
|
class UnknownSlicedValue;
|
22
22
|
|
23
23
|
#ifdef ICE_CPP11_MAPPING
|
24
|
+
/// \cond INTERNAL
|
24
25
|
using SliceInfoPtr = ::std::shared_ptr<SliceInfo>;
|
25
26
|
using SlicedDataPtr = ::std::shared_ptr<SlicedData>;
|
26
27
|
using UnknownSlicedValuePtr = ::std::shared_ptr<UnknownSlicedValue>;
|
28
|
+
/// \endcond
|
27
29
|
#else
|
28
30
|
ICE_API IceUtil::Shared* upCast(SliceInfo*);
|
29
31
|
typedef IceInternal::Handle<SliceInfo> SliceInfoPtr;
|
@@ -35,6 +37,7 @@ ICE_API IceUtil::Shared* upCast(UnknownSlicedValue*);
|
|
35
37
|
typedef IceInternal::Handle<UnknownSlicedValue> UnknownSlicedValuePtr;
|
36
38
|
#endif
|
37
39
|
|
40
|
+
/** The slices of unknown types. */
|
38
41
|
typedef ::std::vector<SliceInfoPtr> SliceInfoSeq;
|
39
42
|
|
40
43
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -20,65 +20,95 @@
|
|
20
20
|
namespace Ice
|
21
21
|
{
|
22
22
|
|
23
|
-
|
24
|
-
// Allows streams to select the desired StreamHelper for a given streamable object;
|
25
|
-
// see StreamableTraits below.
|
26
|
-
//
|
23
|
+
/// \cond STREAM
|
27
24
|
|
25
|
+
/**
|
26
|
+
* The stream helper category allows streams to select the desired StreamHelper for a given streamable object.
|
27
|
+
*/
|
28
28
|
typedef int StreamHelperCategory;
|
29
29
|
|
30
|
+
/** For types with no specialized trait. */
|
30
31
|
const StreamHelperCategory StreamHelperCategoryUnknown = 0;
|
32
|
+
/** For built-in types. */
|
31
33
|
const StreamHelperCategory StreamHelperCategoryBuiltin = 1;
|
34
|
+
/** For struct types. */
|
32
35
|
const StreamHelperCategory StreamHelperCategoryStruct = 2;
|
33
|
-
|
36
|
+
/** For struct types with cpp:class metadata. */
|
37
|
+
const StreamHelperCategory StreamHelperCategoryStructClass = 3;
|
38
|
+
/** For enum types. */
|
34
39
|
const StreamHelperCategory StreamHelperCategoryEnum = 4;
|
40
|
+
/** For sequence types. */
|
35
41
|
const StreamHelperCategory StreamHelperCategorySequence = 5;
|
42
|
+
/** For dictionary types. */
|
36
43
|
const StreamHelperCategory StreamHelperCategoryDictionary = 6;
|
44
|
+
/** For proxy types. */
|
37
45
|
const StreamHelperCategory StreamHelperCategoryProxy = 7;
|
46
|
+
/** For class types. */
|
38
47
|
const StreamHelperCategory StreamHelperCategoryClass = 8;
|
48
|
+
/** For exception types. */
|
39
49
|
const StreamHelperCategory StreamHelperCategoryUserException = 9;
|
40
50
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
51
|
+
/**
|
52
|
+
* The optional format.
|
53
|
+
*
|
54
|
+
* Optional data members and parameters are encoded with a specific
|
55
|
+
* optional format. This optional format describes how the data is encoded
|
56
|
+
* and how it can be skipped by the unmarshaling code if the optional ID
|
57
|
+
* isn't known to the receiver.
|
58
|
+
*/
|
50
59
|
#ifdef ICE_CPP11_MAPPING
|
51
60
|
enum class OptionalFormat : unsigned char
|
52
61
|
{
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
62
|
+
/** Fixed 1-byte encoding. */
|
63
|
+
F1 = 0,
|
64
|
+
/** Fixed 2-byte encoding. */
|
65
|
+
F2 = 1,
|
66
|
+
/** Fixed 4-byte encoding. */
|
67
|
+
F4 = 2,
|
68
|
+
/** Fixed 8-byte encoding. */
|
69
|
+
F8 = 3,
|
70
|
+
/** "Size encoding" using 1 to 5 bytes, e.g., enum, class identifier. */
|
71
|
+
Size = 4,
|
72
|
+
/**
|
73
|
+
* "Size encoding" using 1 to 5 bytes followed by data, e.g., string, fixed size
|
74
|
+
* struct, or containers whose size can be computed prior to marshaling.
|
75
|
+
*/
|
76
|
+
VSize = 5,
|
77
|
+
/** Fixed size using 4 bytes followed by data, e.g., variable-size struct, container. */
|
78
|
+
FSize = 6,
|
79
|
+
/** Class instance. */
|
61
80
|
Class = 7
|
62
81
|
};
|
63
82
|
#else
|
64
83
|
enum OptionalFormat
|
65
84
|
{
|
66
|
-
|
85
|
+
/** Fixed 1-byte encoding. */
|
86
|
+
OptionalFormatF1 = 0,
|
87
|
+
/** Fixed 2-byte encoding. */
|
67
88
|
OptionalFormatF2 = 1,
|
89
|
+
/** Fixed 4-byte encoding. */
|
68
90
|
OptionalFormatF4 = 2,
|
91
|
+
/** Fixed 8-byte encoding. */
|
69
92
|
OptionalFormatF8 = 3,
|
93
|
+
/** "Size encoding" using 1 to 5 bytes, e.g., enum, class identifier. */
|
70
94
|
OptionalFormatSize = 4,
|
95
|
+
/**
|
96
|
+
* "Size encoding" using 1 to 5 bytes followed by data, e.g., string, fixed size
|
97
|
+
* struct, or containers whose size can be computed prior to marshaling.
|
98
|
+
*/
|
71
99
|
OptionalFormatVSize = 5,
|
100
|
+
/** Fixed size using 4 bytes followed by data, e.g., variable-size struct, container. */
|
72
101
|
OptionalFormatFSize = 6,
|
102
|
+
/** Class instance. */
|
73
103
|
OptionalFormatClass = 7
|
74
104
|
};
|
75
105
|
#endif
|
76
106
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
107
|
+
/**
|
108
|
+
* Determines whether the provided type is a container. For now, the implementation only checks
|
109
|
+
* if there is a T::iterator typedef using SFINAE.
|
110
|
+
* \headerfile Ice/Ice.h
|
111
|
+
*/
|
82
112
|
template<typename T>
|
83
113
|
struct IsContainer
|
84
114
|
{
|
@@ -91,11 +121,11 @@ struct IsContainer
|
|
91
121
|
static const bool value = sizeof(test<T>(0)) == sizeof(char);
|
92
122
|
};
|
93
123
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
124
|
+
/**
|
125
|
+
* Determines whether the provided type is a map. For now, the implementation only checks if there
|
126
|
+
* is a T::mapped_type typedef using SFINAE.
|
127
|
+
* \headerfile Ice/Ice.h
|
128
|
+
*/
|
99
129
|
template<typename T>
|
100
130
|
struct IsMap
|
101
131
|
{
|
@@ -110,10 +140,10 @@ struct IsMap
|
|
110
140
|
|
111
141
|
#ifdef ICE_CPP11_MAPPING
|
112
142
|
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
143
|
+
/**
|
144
|
+
* Base traits template. Types with no specialized trait use this trait.
|
145
|
+
* \headerfile Ice/Ice.h
|
146
|
+
*/
|
117
147
|
template<typename T, typename Enabler = void>
|
118
148
|
struct StreamableTraits
|
119
149
|
{
|
@@ -133,6 +163,10 @@ struct StreamableTraits
|
|
133
163
|
//static const bool fixedLength = false;
|
134
164
|
};
|
135
165
|
|
166
|
+
/**
|
167
|
+
* Specialization for sequence and dictionary types.
|
168
|
+
* \headerfile Ice/Ice.h
|
169
|
+
*/
|
136
170
|
template<typename T>
|
137
171
|
struct StreamableTraits<T, typename ::std::enable_if<IsMap<T>::value || IsContainer<T>::value>::type>
|
138
172
|
{
|
@@ -141,6 +175,10 @@ struct StreamableTraits<T, typename ::std::enable_if<IsMap<T>::value || IsContai
|
|
141
175
|
static const bool fixedLength = false;
|
142
176
|
};
|
143
177
|
|
178
|
+
/**
|
179
|
+
* Specialization for exceptions.
|
180
|
+
* \headerfile Ice/Ice.h
|
181
|
+
*/
|
144
182
|
template<typename T>
|
145
183
|
struct StreamableTraits<T, typename ::std::enable_if<::std::is_base_of<::Ice::UserException, T>::value>::type>
|
146
184
|
{
|
@@ -152,9 +190,10 @@ struct StreamableTraits<T, typename ::std::enable_if<::std::is_base_of<::Ice::Us
|
|
152
190
|
//
|
153
191
|
};
|
154
192
|
|
155
|
-
|
156
|
-
|
157
|
-
|
193
|
+
/**
|
194
|
+
* Specialization for arrays (std::pair<const T*, const T*>).
|
195
|
+
* \headerfile Ice/Ice.h
|
196
|
+
*/
|
158
197
|
template<typename T>
|
159
198
|
struct StreamableTraits<std::pair<T*, T*>>
|
160
199
|
{
|
@@ -165,33 +204,35 @@ struct StreamableTraits<std::pair<T*, T*>>
|
|
165
204
|
|
166
205
|
#else
|
167
206
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
207
|
+
/**
|
208
|
+
* Base traits template. Types with no specialized trait use this trait, including sequence and
|
209
|
+
* dictionary types.
|
210
|
+
* \headerfile Ice/Ice.h
|
211
|
+
*/
|
172
212
|
template<typename T, typename Enabler = void>
|
173
213
|
struct StreamableTraits
|
174
214
|
{
|
175
215
|
static const StreamHelperCategory helper = IsMap<T>::value ? StreamHelperCategoryDictionary :
|
176
216
|
(IsContainer<T>::value ? StreamHelperCategorySequence : StreamHelperCategoryUnknown);
|
177
217
|
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
218
|
+
/**
|
219
|
+
* When extracting a sequence<T> from a stream, we can ensure the
|
220
|
+
* stream has at least StreamableTraits<T>::minWireSize * size bytes.
|
221
|
+
* For containers, the minWireSize is 1 (just 1 byte for an empty container).
|
222
|
+
*/
|
183
223
|
static const int minWireSize = 1;
|
184
224
|
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
225
|
+
/**
|
226
|
+
* Is this type encoded on a fixed number of bytes?
|
227
|
+
* Used only for marshaling/unmarshaling optional data members and parameters.
|
228
|
+
*/
|
189
229
|
static const bool fixedLength = false;
|
190
230
|
};
|
191
231
|
|
192
|
-
|
193
|
-
|
194
|
-
|
232
|
+
/**
|
233
|
+
* Specialization for exceptions.
|
234
|
+
* \headerfile Ice/Ice.h
|
235
|
+
*/
|
195
236
|
template<>
|
196
237
|
struct StreamableTraits<UserException>
|
197
238
|
{
|
@@ -203,11 +244,11 @@ struct StreamableTraits<UserException>
|
|
203
244
|
//
|
204
245
|
};
|
205
246
|
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
247
|
+
/**
|
248
|
+
* Specialization for array / range mapped sequences. The type can be a std::pair<T, T> or a
|
249
|
+
* std::pair<IceUtil::ScopedArray<T>, std::pair<const T*, const T*> >.
|
250
|
+
* \headerfile Ice/Ice.h
|
251
|
+
*/
|
211
252
|
template<typename T, typename U>
|
212
253
|
struct StreamableTraits< ::std::pair<T, U> >
|
213
254
|
{
|
@@ -217,10 +258,11 @@ struct StreamableTraits< ::std::pair<T, U> >
|
|
217
258
|
};
|
218
259
|
#endif
|
219
260
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
261
|
+
/**
|
262
|
+
* Specialization for built-in type (this is needed for sequence
|
263
|
+
* marshaling to figure out the minWireSize of each type).
|
264
|
+
* \headerfile Ice/Ice.h
|
265
|
+
*/
|
224
266
|
template<>
|
225
267
|
struct StreamableTraits<bool>
|
226
268
|
{
|
@@ -229,6 +271,11 @@ struct StreamableTraits<bool>
|
|
229
271
|
static const bool fixedLength = true;
|
230
272
|
};
|
231
273
|
|
274
|
+
/**
|
275
|
+
* Specialization for built-in type (this is needed for sequence
|
276
|
+
* marshaling to figure out the minWireSize of each type).
|
277
|
+
* \headerfile Ice/Ice.h
|
278
|
+
*/
|
232
279
|
template<>
|
233
280
|
struct StreamableTraits<Byte>
|
234
281
|
{
|
@@ -237,6 +284,11 @@ struct StreamableTraits<Byte>
|
|
237
284
|
static const bool fixedLength = true;
|
238
285
|
};
|
239
286
|
|
287
|
+
/**
|
288
|
+
* Specialization for built-in type (this is needed for sequence
|
289
|
+
* marshaling to figure out the minWireSize of each type).
|
290
|
+
* \headerfile Ice/Ice.h
|
291
|
+
*/
|
240
292
|
template<>
|
241
293
|
struct StreamableTraits<Short>
|
242
294
|
{
|
@@ -245,6 +297,11 @@ struct StreamableTraits<Short>
|
|
245
297
|
static const bool fixedLength = true;
|
246
298
|
};
|
247
299
|
|
300
|
+
/**
|
301
|
+
* Specialization for built-in type (this is needed for sequence
|
302
|
+
* marshaling to figure out the minWireSize of each type).
|
303
|
+
* \headerfile Ice/Ice.h
|
304
|
+
*/
|
248
305
|
template<>
|
249
306
|
struct StreamableTraits<Int>
|
250
307
|
{
|
@@ -253,6 +310,11 @@ struct StreamableTraits<Int>
|
|
253
310
|
static const bool fixedLength = true;
|
254
311
|
};
|
255
312
|
|
313
|
+
/**
|
314
|
+
* Specialization for built-in type (this is needed for sequence
|
315
|
+
* marshaling to figure out the minWireSize of each type).
|
316
|
+
* \headerfile Ice/Ice.h
|
317
|
+
*/
|
256
318
|
template<>
|
257
319
|
struct StreamableTraits<Long>
|
258
320
|
{
|
@@ -261,6 +323,11 @@ struct StreamableTraits<Long>
|
|
261
323
|
static const bool fixedLength = true;
|
262
324
|
};
|
263
325
|
|
326
|
+
/**
|
327
|
+
* Specialization for built-in type (this is needed for sequence
|
328
|
+
* marshaling to figure out the minWireSize of each type).
|
329
|
+
* \headerfile Ice/Ice.h
|
330
|
+
*/
|
264
331
|
template<>
|
265
332
|
struct StreamableTraits<Float>
|
266
333
|
{
|
@@ -269,6 +336,11 @@ struct StreamableTraits<Float>
|
|
269
336
|
static const bool fixedLength = true;
|
270
337
|
};
|
271
338
|
|
339
|
+
/**
|
340
|
+
* Specialization for built-in type (this is needed for sequence
|
341
|
+
* marshaling to figure out the minWireSize of each type).
|
342
|
+
* \headerfile Ice/Ice.h
|
343
|
+
*/
|
272
344
|
template<>
|
273
345
|
struct StreamableTraits<Double>
|
274
346
|
{
|
@@ -277,6 +349,11 @@ struct StreamableTraits<Double>
|
|
277
349
|
static const bool fixedLength = true;
|
278
350
|
};
|
279
351
|
|
352
|
+
/**
|
353
|
+
* Specialization for built-in type (this is needed for sequence
|
354
|
+
* marshaling to figure out the minWireSize of each type).
|
355
|
+
* \headerfile Ice/Ice.h
|
356
|
+
*/
|
280
357
|
template<>
|
281
358
|
struct StreamableTraits< ::std::string>
|
282
359
|
{
|
@@ -285,6 +362,11 @@ struct StreamableTraits< ::std::string>
|
|
285
362
|
static const bool fixedLength = false;
|
286
363
|
};
|
287
364
|
|
365
|
+
/**
|
366
|
+
* Specialization for built-in type (this is needed for sequence
|
367
|
+
* marshaling to figure out the minWireSize of each type).
|
368
|
+
* \headerfile Ice/Ice.h
|
369
|
+
*/
|
288
370
|
template<>
|
289
371
|
struct StreamableTraits< ::std::wstring>
|
290
372
|
{
|
@@ -293,10 +375,10 @@ struct StreamableTraits< ::std::wstring>
|
|
293
375
|
static const bool fixedLength = false;
|
294
376
|
};
|
295
377
|
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
378
|
+
/**
|
379
|
+
* vector<bool> is a special type in C++: the streams handle it like a built-in type.
|
380
|
+
* \headerfile Ice/Ice.h
|
381
|
+
*/
|
300
382
|
template<>
|
301
383
|
struct StreamableTraits< ::std::vector<bool> >
|
302
384
|
{
|
@@ -305,6 +387,10 @@ struct StreamableTraits< ::std::vector<bool> >
|
|
305
387
|
static const bool fixedLength = false;
|
306
388
|
};
|
307
389
|
|
390
|
+
/**
|
391
|
+
* Specialization for proxy types.
|
392
|
+
* \headerfile Ice/Ice.h
|
393
|
+
*/
|
308
394
|
#ifdef ICE_CPP11_MAPPING
|
309
395
|
template<typename T>
|
310
396
|
struct StreamableTraits<::std::shared_ptr<T>, typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, T>::value>::type>
|
@@ -323,6 +409,10 @@ struct StreamableTraits< ::IceInternal::ProxyHandle<T> >
|
|
323
409
|
};
|
324
410
|
#endif
|
325
411
|
|
412
|
+
/**
|
413
|
+
* Specialization for class types.
|
414
|
+
* \headerfile Ice/Ice.h
|
415
|
+
*/
|
326
416
|
#ifdef ICE_CPP11_MAPPING
|
327
417
|
template<typename T>
|
328
418
|
struct StreamableTraits<::std::shared_ptr<T>, typename ::std::enable_if<::std::is_base_of<::Ice::Value, T>::value>::type>
|
@@ -345,11 +435,14 @@ struct StreamableTraits< ::IceInternal::Handle<T> >
|
|
345
435
|
// StreamHelper templates used by streams to read and write data.
|
346
436
|
//
|
347
437
|
|
348
|
-
|
438
|
+
/** Base StreamHelper template; it must be specialized for each type. */
|
349
439
|
template<typename T, StreamHelperCategory st>
|
350
440
|
struct StreamHelper;
|
351
441
|
|
352
|
-
|
442
|
+
/**
|
443
|
+
* Helper for built-ins, delegates read/write to the stream.
|
444
|
+
* \headerfile Ice/Ice.h
|
445
|
+
*/
|
353
446
|
template<typename T>
|
354
447
|
struct StreamHelper<T, StreamHelperCategoryBuiltin>
|
355
448
|
{
|
@@ -371,6 +464,10 @@ struct StreamHelper<T, StreamHelperCategoryBuiltin>
|
|
371
464
|
// slice2cpp generates specializations as needed
|
372
465
|
//
|
373
466
|
|
467
|
+
/**
|
468
|
+
* General writer. slice2cpp generates specializations as needed.
|
469
|
+
* \headerfile Ice/Ice.h
|
470
|
+
*/
|
374
471
|
template<typename T, typename S>
|
375
472
|
struct StreamWriter
|
376
473
|
{
|
@@ -387,6 +484,10 @@ struct StreamWriter
|
|
387
484
|
#endif
|
388
485
|
};
|
389
486
|
|
487
|
+
/**
|
488
|
+
* General reader. slice2cpp generates specializations as needed.
|
489
|
+
* \headerfile Ice/Ice.h
|
490
|
+
*/
|
390
491
|
template<typename T, typename S>
|
391
492
|
struct StreamReader
|
392
493
|
{
|
@@ -396,7 +497,10 @@ struct StreamReader
|
|
396
497
|
}
|
397
498
|
};
|
398
499
|
|
399
|
-
|
500
|
+
/**
|
501
|
+
* Helper for structs.
|
502
|
+
* \headerfile Ice/Ice.h
|
503
|
+
*/
|
400
504
|
template<typename T>
|
401
505
|
struct StreamHelper<T, StreamHelperCategoryStruct>
|
402
506
|
{
|
@@ -413,7 +517,10 @@ struct StreamHelper<T, StreamHelperCategoryStruct>
|
|
413
517
|
}
|
414
518
|
};
|
415
519
|
|
416
|
-
|
520
|
+
/**
|
521
|
+
* Helper for class structs.
|
522
|
+
* \headerfile Ice/Ice.h
|
523
|
+
*/
|
417
524
|
template<typename T>
|
418
525
|
struct StreamHelper<T, StreamHelperCategoryStructClass>
|
419
526
|
{
|
@@ -431,7 +538,10 @@ struct StreamHelper<T, StreamHelperCategoryStructClass>
|
|
431
538
|
}
|
432
539
|
};
|
433
540
|
|
434
|
-
|
541
|
+
/**
|
542
|
+
* Helper for enums.
|
543
|
+
* \headerfile Ice/Ice.h
|
544
|
+
*/
|
435
545
|
template<typename T>
|
436
546
|
struct StreamHelper<T, StreamHelperCategoryEnum>
|
437
547
|
{
|
@@ -457,7 +567,10 @@ struct StreamHelper<T, StreamHelperCategoryEnum>
|
|
457
567
|
}
|
458
568
|
};
|
459
569
|
|
460
|
-
|
570
|
+
/**
|
571
|
+
* Helper for sequences.
|
572
|
+
* \headerfile Ice/Ice.h
|
573
|
+
*/
|
461
574
|
template<typename T>
|
462
575
|
struct StreamHelper<T, StreamHelperCategorySequence>
|
463
576
|
{
|
@@ -483,7 +596,10 @@ struct StreamHelper<T, StreamHelperCategorySequence>
|
|
483
596
|
}
|
484
597
|
};
|
485
598
|
|
486
|
-
|
599
|
+
/**
|
600
|
+
* Helper for array custom sequence parameters.
|
601
|
+
* \headerfile Ice/Ice.h
|
602
|
+
*/
|
487
603
|
template<typename T>
|
488
604
|
struct StreamHelper<std::pair<const T*, const T*>, StreamHelperCategorySequence>
|
489
605
|
{
|
@@ -502,7 +618,10 @@ struct StreamHelper<std::pair<const T*, const T*>, StreamHelperCategorySequence>
|
|
502
618
|
|
503
619
|
#ifndef ICE_CPP11_MAPPING
|
504
620
|
|
505
|
-
|
621
|
+
/**
|
622
|
+
* Helper for range custom sequence parameters.
|
623
|
+
* \headerfile Ice/Ice.h
|
624
|
+
*/
|
506
625
|
template<typename T>
|
507
626
|
struct StreamHelper<std::pair<T, T>, StreamHelperCategorySequence>
|
508
627
|
{
|
@@ -523,6 +642,10 @@ struct StreamHelper<std::pair<T, T>, StreamHelperCategorySequence>
|
|
523
642
|
}
|
524
643
|
};
|
525
644
|
|
645
|
+
/**
|
646
|
+
* Specialization for sequence<bool>.
|
647
|
+
* \headerfile Ice/Ice.h
|
648
|
+
*/
|
526
649
|
template<>
|
527
650
|
struct StreamHelper<std::pair< ::std::vector<bool>::const_iterator,
|
528
651
|
::std::vector<bool>::const_iterator>, StreamHelperCategorySequence>
|
@@ -539,7 +662,10 @@ struct StreamHelper<std::pair< ::std::vector<bool>::const_iterator,
|
|
539
662
|
}
|
540
663
|
};
|
541
664
|
|
542
|
-
|
665
|
+
/**
|
666
|
+
* Helper for zero-copy array sequence parameters.
|
667
|
+
* \headerfile Ice/Ice.h
|
668
|
+
*/
|
543
669
|
template<typename T>
|
544
670
|
struct StreamHelper<std::pair<IceUtil::ScopedArray<T>, std::pair<const T*, const T*> >, StreamHelperCategorySequence>
|
545
671
|
{
|
@@ -553,7 +679,10 @@ struct StreamHelper<std::pair<IceUtil::ScopedArray<T>, std::pair<const T*, const
|
|
553
679
|
};
|
554
680
|
#endif
|
555
681
|
|
556
|
-
|
682
|
+
/**
|
683
|
+
* Helper for dictionaries.
|
684
|
+
* \headerfile Ice/Ice.h
|
685
|
+
*/
|
557
686
|
template<typename T>
|
558
687
|
struct StreamHelper<T, StreamHelperCategoryDictionary>
|
559
688
|
{
|
@@ -583,7 +712,10 @@ struct StreamHelper<T, StreamHelperCategoryDictionary>
|
|
583
712
|
}
|
584
713
|
};
|
585
714
|
|
586
|
-
|
715
|
+
/**
|
716
|
+
* Helper for user exceptions.
|
717
|
+
* \headerfile Ice/Ice.h
|
718
|
+
*/
|
587
719
|
template<typename T>
|
588
720
|
struct StreamHelper<T, StreamHelperCategoryUserException>
|
589
721
|
{
|
@@ -596,7 +728,10 @@ struct StreamHelper<T, StreamHelperCategoryUserException>
|
|
596
728
|
// no read: only used for marshaling
|
597
729
|
};
|
598
730
|
|
599
|
-
|
731
|
+
/**
|
732
|
+
* Helper for proxies.
|
733
|
+
* \headerfile Ice/Ice.h
|
734
|
+
*/
|
600
735
|
template<typename T>
|
601
736
|
struct StreamHelper<T, StreamHelperCategoryProxy>
|
602
737
|
{
|
@@ -613,7 +748,10 @@ struct StreamHelper<T, StreamHelperCategoryProxy>
|
|
613
748
|
}
|
614
749
|
};
|
615
750
|
|
616
|
-
|
751
|
+
/**
|
752
|
+
* Helper for classes.
|
753
|
+
* \headerfile Ice/Ice.h
|
754
|
+
*/
|
617
755
|
template<typename T>
|
618
756
|
struct StreamHelper<T, StreamHelperCategoryClass>
|
619
757
|
{
|
@@ -640,52 +778,87 @@ struct StreamHelper<T, StreamHelperCategoryClass>
|
|
640
778
|
// /!\ Do not use in StreamOptionalHelper specializations, and do
|
641
779
|
// not provide specialization not handled by the base StreamOptionalHelper
|
642
780
|
//
|
781
|
+
/**
|
782
|
+
* Extract / compute the optionalFormat.
|
783
|
+
* \headerfile Ice/Ice.h
|
784
|
+
*/
|
643
785
|
template<StreamHelperCategory st, int minWireSize, bool fixedLength>
|
644
786
|
struct GetOptionalFormat;
|
645
787
|
|
788
|
+
/**
|
789
|
+
* Specialization for 1-byte built-in fixed-length types.
|
790
|
+
* \headerfile Ice/Ice.h
|
791
|
+
*/
|
646
792
|
template<>
|
647
793
|
struct GetOptionalFormat<StreamHelperCategoryBuiltin, 1, true>
|
648
794
|
{
|
649
795
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, F1);
|
650
796
|
};
|
651
797
|
|
798
|
+
/**
|
799
|
+
* Specialization for 2-byte built-in fixed-length types.
|
800
|
+
* \headerfile Ice/Ice.h
|
801
|
+
*/
|
652
802
|
template<>
|
653
803
|
struct GetOptionalFormat<StreamHelperCategoryBuiltin, 2, true>
|
654
804
|
{
|
655
805
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, F2);
|
656
806
|
};
|
657
807
|
|
808
|
+
/**
|
809
|
+
* Specialization for 4-byte built-in fixed-length types.
|
810
|
+
* \headerfile Ice/Ice.h
|
811
|
+
*/
|
658
812
|
template<>
|
659
813
|
struct GetOptionalFormat<StreamHelperCategoryBuiltin, 4, true>
|
660
814
|
{
|
661
815
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, F4);
|
662
816
|
};
|
663
817
|
|
818
|
+
/**
|
819
|
+
* Specialization for 8-byte built-in fixed-length types.
|
820
|
+
* \headerfile Ice/Ice.h
|
821
|
+
*/
|
664
822
|
template<>
|
665
823
|
struct GetOptionalFormat<StreamHelperCategoryBuiltin, 8, true>
|
666
824
|
{
|
667
825
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, F8);
|
668
826
|
};
|
669
827
|
|
828
|
+
/**
|
829
|
+
* Specialization for built-in variable-length types.
|
830
|
+
* \headerfile Ice/Ice.h
|
831
|
+
*/
|
670
832
|
template<>
|
671
833
|
struct GetOptionalFormat<StreamHelperCategoryBuiltin, 1, false>
|
672
834
|
{
|
673
835
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, VSize);
|
674
836
|
};
|
675
837
|
|
838
|
+
/**
|
839
|
+
* Specialization for class types.
|
840
|
+
* \headerfile Ice/Ice.h
|
841
|
+
*/
|
676
842
|
template<>
|
677
843
|
struct GetOptionalFormat<StreamHelperCategoryClass, 1, false>
|
678
844
|
{
|
679
845
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, Class);
|
680
846
|
};
|
681
847
|
|
848
|
+
/**
|
849
|
+
* Specialization for enum types.
|
850
|
+
* \headerfile Ice/Ice.h
|
851
|
+
*/
|
682
852
|
template<int minWireSize>
|
683
853
|
struct GetOptionalFormat<StreamHelperCategoryEnum, minWireSize, false>
|
684
854
|
{
|
685
855
|
static const OptionalFormat value = ICE_SCOPED_ENUM(OptionalFormat, Size);
|
686
856
|
};
|
687
857
|
|
688
|
-
|
858
|
+
/**
|
859
|
+
* Base helper for optional values: simply read/write the data.
|
860
|
+
* \headerfile Ice/Ice.h
|
861
|
+
*/
|
689
862
|
template<typename T, StreamHelperCategory st, bool fixedLength>
|
690
863
|
struct StreamOptionalHelper
|
691
864
|
{
|
@@ -711,7 +884,10 @@ struct StreamOptionalHelper
|
|
711
884
|
}
|
712
885
|
};
|
713
886
|
|
714
|
-
|
887
|
+
/**
|
888
|
+
* Helper to write fixed-size structs.
|
889
|
+
* \headerfile Ice/Ice.h
|
890
|
+
*/
|
715
891
|
template<typename T>
|
716
892
|
struct StreamOptionalHelper<T, StreamHelperCategoryStruct, true>
|
717
893
|
{
|
@@ -732,7 +908,10 @@ struct StreamOptionalHelper<T, StreamHelperCategoryStruct, true>
|
|
732
908
|
}
|
733
909
|
};
|
734
910
|
|
735
|
-
|
911
|
+
/**
|
912
|
+
* Helper to write variable-size structs.
|
913
|
+
* \headerfile Ice/Ice.h
|
914
|
+
*/
|
736
915
|
template<typename T>
|
737
916
|
struct StreamOptionalHelper<T, StreamHelperCategoryStruct, false>
|
738
917
|
{
|
@@ -754,30 +933,38 @@ struct StreamOptionalHelper<T, StreamHelperCategoryStruct, false>
|
|
754
933
|
}
|
755
934
|
};
|
756
935
|
|
757
|
-
|
936
|
+
/**
|
937
|
+
* Class structs are encoded like structs.
|
938
|
+
* \headerfile Ice/Ice.h
|
939
|
+
*/
|
758
940
|
template<typename T, bool fixedLength>
|
759
941
|
struct StreamOptionalHelper<T, StreamHelperCategoryStructClass, fixedLength> : StreamOptionalHelper<T, StreamHelperCategoryStruct, fixedLength>
|
760
942
|
{
|
761
943
|
};
|
762
944
|
|
763
|
-
|
945
|
+
/**
|
946
|
+
* Optional proxies are encoded like variable size structs, using the FSize encoding.
|
947
|
+
* \headerfile Ice/Ice.h
|
948
|
+
*/
|
764
949
|
template<typename T>
|
765
950
|
struct StreamOptionalHelper<T, StreamHelperCategoryProxy, false> : StreamOptionalHelper<T, StreamHelperCategoryStruct, false>
|
766
951
|
{
|
767
952
|
};
|
768
953
|
|
769
|
-
|
770
|
-
|
771
|
-
|
954
|
+
/**
|
955
|
+
* Helper to read/write optional sequences or dictionaries.
|
956
|
+
* \headerfile Ice/Ice.h
|
957
|
+
*/
|
772
958
|
template<typename T, bool fixedLength, int sz>
|
773
959
|
struct StreamOptionalContainerHelper;
|
774
960
|
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
961
|
+
/**
|
962
|
+
* Encode containers of variable-size elements with the FSize optional
|
963
|
+
* type, since we can't easily figure out the size of the container
|
964
|
+
* before encoding. This is the same encoding as variable size structs
|
965
|
+
* so we just re-use its implementation.
|
966
|
+
* \headerfile Ice/Ice.h
|
967
|
+
*/
|
781
968
|
template<typename T, int sz>
|
782
969
|
struct StreamOptionalContainerHelper<T, false, sz>
|
783
970
|
{
|
@@ -796,11 +983,12 @@ struct StreamOptionalContainerHelper<T, false, sz>
|
|
796
983
|
}
|
797
984
|
};
|
798
985
|
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
986
|
+
/**
|
987
|
+
* Encode containers of fixed-size elements with the VSize optional
|
988
|
+
* type since we can figure out the size of the container before
|
989
|
+
* encoding.
|
990
|
+
* \headerfile Ice/Ice.h
|
991
|
+
*/
|
804
992
|
template<typename T, int sz>
|
805
993
|
struct StreamOptionalContainerHelper<T, true, sz>
|
806
994
|
{
|
@@ -826,12 +1014,13 @@ struct StreamOptionalContainerHelper<T, true, sz>
|
|
826
1014
|
}
|
827
1015
|
};
|
828
1016
|
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
1017
|
+
/**
|
1018
|
+
* Optimization: containers of 1 byte elements are encoded with the
|
1019
|
+
* VSize optional type. There's no need to encode an additional size
|
1020
|
+
* for those, the number of elements of the container can be used to
|
1021
|
+
* skip the optional.
|
1022
|
+
* \headerfile Ice/Ice.h
|
1023
|
+
*/
|
835
1024
|
template<typename T>
|
836
1025
|
struct StreamOptionalContainerHelper<T, true, 1>
|
837
1026
|
{
|
@@ -850,10 +1039,11 @@ struct StreamOptionalContainerHelper<T, true, 1>
|
|
850
1039
|
}
|
851
1040
|
};
|
852
1041
|
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
1042
|
+
/**
|
1043
|
+
* Helper to write sequences, delegates to the optional container
|
1044
|
+
* helper template partial specializations.
|
1045
|
+
* \headerfile Ice/Ice.h
|
1046
|
+
*/
|
857
1047
|
template<typename T>
|
858
1048
|
struct StreamOptionalHelper<T, StreamHelperCategorySequence, false>
|
859
1049
|
{
|
@@ -878,6 +1068,11 @@ struct StreamOptionalHelper<T, StreamHelperCategorySequence, false>
|
|
878
1068
|
}
|
879
1069
|
};
|
880
1070
|
|
1071
|
+
/**
|
1072
|
+
* Helper to write sequences, delegates to the optional container
|
1073
|
+
* helper template partial specializations.
|
1074
|
+
* \headerfile Ice/Ice.h
|
1075
|
+
*/
|
881
1076
|
template<typename T>
|
882
1077
|
struct StreamOptionalHelper<std::pair<const T*, const T*>, StreamHelperCategorySequence, false>
|
883
1078
|
{
|
@@ -905,6 +1100,11 @@ struct StreamOptionalHelper<std::pair<const T*, const T*>, StreamHelperCategoryS
|
|
905
1100
|
|
906
1101
|
#ifndef ICE_CPP11_MAPPING
|
907
1102
|
|
1103
|
+
/**
|
1104
|
+
* Helper to write sequences, delegates to the optional container
|
1105
|
+
* helper template partial specializations.
|
1106
|
+
* \headerfile Ice/Ice.h
|
1107
|
+
*/
|
908
1108
|
template<typename T>
|
909
1109
|
struct StreamOptionalHelper<std::pair<T, T>, StreamHelperCategorySequence, false>
|
910
1110
|
{
|
@@ -930,6 +1130,11 @@ struct StreamOptionalHelper<std::pair<T, T>, StreamHelperCategorySequence, false
|
|
930
1130
|
}
|
931
1131
|
};
|
932
1132
|
|
1133
|
+
/**
|
1134
|
+
* Helper to write sequences, delegates to the optional container
|
1135
|
+
* helper template partial specializations.
|
1136
|
+
* \headerfile Ice/Ice.h
|
1137
|
+
*/
|
933
1138
|
template<typename T>
|
934
1139
|
struct StreamOptionalHelper<std::pair<IceUtil::ScopedArray<T>, std::pair<const T*, const T*> >,
|
935
1140
|
StreamHelperCategorySequence, false>
|
@@ -952,10 +1157,11 @@ struct StreamOptionalHelper<std::pair<IceUtil::ScopedArray<T>, std::pair<const T
|
|
952
1157
|
};
|
953
1158
|
#endif
|
954
1159
|
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
1160
|
+
/**
|
1161
|
+
* Helper to write dictionaries, delegates to the optional container
|
1162
|
+
* helper template partial specializations.
|
1163
|
+
* \headerfile Ice/Ice.h
|
1164
|
+
*/
|
959
1165
|
template<typename T>
|
960
1166
|
struct StreamOptionalHelper<T, StreamHelperCategoryDictionary, false>
|
961
1167
|
{
|
@@ -982,6 +1188,8 @@ struct StreamOptionalHelper<T, StreamHelperCategoryDictionary, false>
|
|
982
1188
|
}
|
983
1189
|
};
|
984
1190
|
|
1191
|
+
/// \endcond
|
1192
|
+
|
985
1193
|
}
|
986
1194
|
|
987
1195
|
#endif
|