Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::SliceInfo Struct Reference

Encapsulates the details of a class slice with an unknown type. More...

#include <Ice/Ice.h>

Public Member Functions

 SliceInfo (std::string typeId, int compactId, std::vector< std::byte > bytes, bool hasOptionalMembers, bool isLastSlice) noexcept
 Constructs a new SliceInfo instance.

Public Attributes

const std::vector< std::byte > bytes
 The encoded bytes for this slice, including the leading size integer.
const int compactId
 The Slice compact type ID for this slice. No compact ID is encoded as -1.
const bool hasOptionalMembers
 Whether or not the slice contains optional members.
std::vector< ValuePtrinstances
 The class instances referenced by this slice.
const bool isLastSlice
 Whether or not this is the last slice.
const std::string typeId
 The Slice type ID for this slice. It's empty when the compact ID is set (not -1).

Detailed Description

Encapsulates the details of a class slice with an unknown type.

Definition at line 25 of file SlicedData.h.


The documentation for this struct was generated from the following file: