RTI Connext C# API  6.1.2
GroupData Class Reference

Attaches a buffer of opaque data that is distributed by means of the built-in topics. More...

Inherits IEquatable< GroupData >.

Public Member Functions

 GroupData (IEnumerable< byte > value)
 Creates a GroupData object with a list of settings More...
 
 GroupData (ImmutableList< byte > value)
 Creates a GroupData object with a list of settings More...
 
GroupData With (Action< ImmutableList< byte >.Builder > build)
 Creates a new GroupData 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 (GroupData other)
 Compares for equality More...
 

Properties

ImmutableList< byte > Value [get]
 An opaque sequence of bytes. More...
 
static GroupData Default [get]
 Singleton containing the default value of a GroupData More...
 

Detailed Description

Attaches a buffer of opaque data that is distributed by means of the built-in topics.

The full documentation is available in the C API: DDS_GroupDataQosPolicy

Constructor & Destructor Documentation

◆ GroupData() [1/2]

GroupData ( IEnumerable< byte >  value)

Creates a GroupData object with a list of settings

◆ GroupData() [2/2]

GroupData ( ImmutableList< byte >  value)

Creates a GroupData object with a list of settings

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( GroupData  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

GroupData With ( Action< ImmutableList< byte >.Builder >  build)

Creates a new GroupData with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable list with the current values of this object's Value.
Returns
A new GroupData with the changes applied by the Action

Property Documentation

◆ Default

GroupData Default
staticget

Singleton containing the default value of a GroupData

◆ Value

ImmutableList<byte> Value
get

An opaque sequence of bytes.

The full documentation is available in the C API: DDS_GroupDataQosPolicy::value