summaryrefslogtreecommitdiff
path: root/matlab/lib/+IceInternal/Protocol.m
blob: 224d4b03e18c0b9da7446ef1e4268fa47c034737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%
% Copyright (c) ZeroC, Inc. All rights reserved.
%

classdef Protocol
    properties(Constant)
        FLAG_HAS_TYPE_ID_STRING    = bitshift(uint8(1), 0)
        FLAG_HAS_TYPE_ID_INDEX     = bitshift(uint8(1), 1)
        FLAG_HAS_TYPE_ID_COMPACT   = bitor(bitshift(uint8(1), 0), bitshift(uint8(1), 1))
        FLAG_HAS_OPTIONAL_MEMBERS  = bitshift(uint8(1), 2)
        FLAG_HAS_INDIRECTION_TABLE = bitshift(uint8(1), 3)
        FLAG_HAS_SLICE_SIZE        = bitshift(uint8(1), 4)
        FLAG_IS_LAST_SLICE         = bitshift(uint8(1), 5)

        OPTIONAL_END_MARKER        = uint8(255)

        Encoding_1_0 = Ice.EncodingVersion(1, 0)
        Encoding_1_1 = Ice.EncodingVersion(1, 1)
    end
end