blob: 6841f3c1124f377578471185ae735a601be9f34c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
classdef UnknownSlicedValue < Ice.Value
% UnknownSlicedValue Summary of UnknownSlicedValue
%
% UnknownSlicedValue holds an instance of an unknown Slice class type.
% Call the constructor with the Slice type ID of the unknown value type.
%
% UnknownSlicedValue Methods:
% ice_getSlicedData - Obtain the SlicedData object that encapsulates
% the value's marshaled state.
% Copyright (c) ZeroC, Inc. All rights reserved.
methods
function obj = UnknownSlicedValue(unknownTypeId)
obj.unknownTypeId = unknownTypeId;
end
% ice_getSlicedData - Obtain the SlicedData object that encapsulates
% the value's marshaled state.
%
% Returns (Ice.SlicedData) - The value's marshaled state.
function r = ice_getSlicedData(obj)
r = obj.slicedData;
end
function iceWrite(obj, os)
os.startValue(obj.slicedData);
os.endValue();
end
function obj = iceRead(obj, is)
is.startValue();
obj.slicedData = is.endValue(true);
end
function id = ice_id(obj)
id = obj.unknownTypeId;
end
end
methods(Access=protected)
function iceWriteImpl(~, ~)
end
function obj = iceReadImpl(obj, ~)
end
end
properties(Access=private)
unknownTypeId
slicedData
end
end
|