RTI Connext C# API  6.1.0
BuiltinTopicKey Struct Reference

The key type of the built-in topic types. More...

Inherits IEquatable< BuiltinTopicKey >.

Public Member Functions

bool Equals (BuiltinTopicKey other)
 Compares this instance handle with another handle for equality. More...
 
override bool Equals (object obj)
 Compares this instance handle with another handle for equality. More...
 
override int GetHashCode ()
 Generates a hash code from this BuiltinTopicKey. More...
 
override string ToString ()
 Returns a string representation of this BuiltinTopicKey More...
 
byte[] ToArray ()
 Converts this key to a byte array. More...
 

Static Public Member Functions

static BuiltinTopicKey FromGuid (in Core.Guid guid)
 Creates a BuiltinTopicKey object from a GUID. More...
 
static BuiltinTopicKey FromArray (byte[] bytes)
 Creates an instance from the bytes in a 16-byte array More...
 

Detailed Description

The key type of the built-in topic types.

The full documentation is available in the C API: DDS_BuiltinTopicKey_t

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( BuiltinTopicKey  other)

Compares this instance handle with another handle for equality.

The full documentation is available in the C API: DDS_BuiltinTopicKey_equals

◆ Equals() [2/2]

override bool Equals ( object  obj)

Compares this instance handle with another handle for equality.

The full documentation is available in the C API: DDS_BuiltinTopicKey_equals

◆ FromArray()

static BuiltinTopicKey FromArray ( byte[]  bytes)
static

Creates an instance from the bytes in a 16-byte array

◆ FromGuid()

static BuiltinTopicKey FromGuid ( in Core.Guid  guid)
static

Creates a BuiltinTopicKey object from a GUID.

This method can be used to retrieve a BuiltinTopicKey object from an Core.InstanceHandle using Core.Guid.FromInstanceHandle.

◆ GetHashCode()

override int GetHashCode ( )

Generates a hash code from this BuiltinTopicKey.

◆ ToArray()

byte [] ToArray ( )

Converts this key to a byte array.

◆ ToString()

override string ToString ( )

Returns a string representation of this BuiltinTopicKey