RTI Connext C# API Version 7.3.0
|
Specifies a list of representation identifiers and compression settings used by Publication.DataWriter<T> and Subscription.DataReader<T> entities to negotiate which data representation and compression settings to use. More...
Inherits IEquatable< DataRepresentation >.
Public Member Functions | |
DataRepresentation | With (Action< DataRepresentationBuilder > build) |
Creates a new DataRepresentation with a set of changes specified in an Action More... | |
override int | GetHashCode () |
Gets the hash code More... | |
override bool | Equals (object other) |
Compares for equality More... | |
bool | Equals (DataRepresentation other) |
Compares for equality More... | |
Static Public Attributes | |
const short | Xcdr = 0 |
Corresponds to the Extended Common Data Representation encoding version 1. More... | |
const short | Xml = 1 |
Corresponds to XML Data Representation (unsupported). More... | |
const short | Xcdr2 = 2 |
Corresponds to the Extended Common Data Representation encoding version 2. More... | |
const short | Auto = -1 |
Representation is automatically chosen based on the type. More... | |
Properties | |
ImmutableList< short > | Value [get] |
Sequence of representation identifiers. More... | |
CompressionSettings | CompressionSettings [get] |
Structure that contains the compression settings. More... | |
static DataRepresentation | Default = CreateDefault() [get] |
Singleton containing the default value of a DataRepresentation More... | |
Specifies a list of representation identifiers and compression settings used by Publication.DataWriter<T> and Subscription.DataReader<T> entities to negotiate which data representation and compression settings to use.
|
inline |
Creates a new DataRepresentation with a set of changes specified in an Action
build | An Action (typically a lambda function) that receives a modifiable object with the current values of this DataRepresentation. |
|
inline |
Gets the hash code
override bool Rti.Dds.Core.Policy.DataRepresentation.Equals | ( | object | other | ) |
Compares for equality
|
inline |
Compares for equality
|
static |
Corresponds to the Extended Common Data Representation encoding version 1.
The full documentation is available in the C API: DDSDataRepresentationId_tXCDR_DATA_REPRESENTATION
|
static |
Corresponds to XML Data Representation (unsupported).
The full documentation is available in the C API: DDSDataRepresentationId_tXML_DATA_REPRESENTATION
|
static |
Corresponds to the Extended Common Data Representation encoding version 2.
The full documentation is available in the C API: DDSDataRepresentationId_tXCDR2_DATA_REPRESENTATION
|
static |
Representation is automatically chosen based on the type.
The full documentation is available in the C API: DDSDataRepresentationId_tAUTO_DATA_REPRESENTATION
|
get |
Sequence of representation identifiers.
The full documentation is available in the C API: DDS_DataRepresentationQosPolicy_value
|
get |
Structure that contains the compression settings.
The full documentation is available in the C API: DDS_DataRepresentationQosPolicy_compression_settings
|
staticget |
Singleton containing the default value of a DataRepresentation