Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IceMaster and version 3.7.1

...

Element TypeMapped Type
boolNumeric array of logical
NumericNumeric array of the corresponding basic type
string

Cell array of char values

structCell array of instances
enumCell array of enumerators
sequenceCell array of the mapped element type
dictionaryCell array of the mapped element type
classcontainers.MapCell array of the mapped element type

Sequences of boolean and numeric types are mapped to numeric arrays for the sake of efficiency. Sequences of most other types are mapped to cell arrays containing instances of the mapped element type.Notice that a sequence whose element type is a Slice class maps to containers.Map, which is necessary to support the Ice run time's unmarshaling requirements. The map uses a key type of int32 and a value type of any. When sending such a sequence, the map's keys must be unique but no special meaning is assigned to them; the keys are not marshaled with the sequence. When receiving a sequence, the map's keys are ordered consecutively starting at index 1.

Info

For sequences of user-defined types, the mapping generates a class with the same name as the sequence. This class contains only marshaling code and therefore we do not describe it here.

...