RTI Connext C# API Version 7.2.0
Rti.Dds.Topics.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

◆ FromGuid()

static BuiltinTopicKey Rti.Dds.Topics.BuiltinTopicKey.FromGuid ( in Core.Guid  guid)
inlinestatic

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.

◆ Equals() [1/2]

bool Rti.Dds.Topics.BuiltinTopicKey.Equals ( BuiltinTopicKey  other)

Compares this instance handle with another handle for equality.

The full documentation is available in the C API: DDS_BuiltinTopicKey_t_equals

◆ Equals() [2/2]

override bool Rti.Dds.Topics.BuiltinTopicKey.Equals ( object  obj)

Compares this instance handle with another handle for equality.

The full documentation is available in the C API: DDS_BuiltinTopicKey_t_equals

◆ GetHashCode()

override int Rti.Dds.Topics.BuiltinTopicKey.GetHashCode ( )

Generates a hash code from this BuiltinTopicKey.

◆ ToString()

override string Rti.Dds.Topics.BuiltinTopicKey.ToString ( )

Returns a string representation of this BuiltinTopicKey

◆ ToArray()

byte[] Rti.Dds.Topics.BuiltinTopicKey.ToArray ( )

Converts this key to a byte array.

◆ FromArray()

static BuiltinTopicKey Rti.Dds.Topics.BuiltinTopicKey.FromArray ( byte[]  bytes)
inlinestatic

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