nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
nx::sdk::IRefCountable::InterfaceId Struct Reference

`#include <i_ref_countable.h>`

## Public Member Functions
bool | operator== (const InterfaceId &other) const
bool | operator!= (const InterfaceId &other) const

## Static Public Member Functions
static constexpr int | minSize ()

## Public Attributes
char | value [kMinSize]

## Static Public Attributes
static constexpr int | kMinSize = 16

## Detailed Description

Identifier of an interface, used for queryInterface(). A pointer to this struct is actually a pointer to the string with an interface id - the struct is needed only to protect from constructing incorrect interface id, and from passing something else to queryInterface().

NOTE: For binary compatibility with plugins compiled with the old SDK, the binary layout of this struct is an array of chars with length not less than 16, because queryInterface() of the old SDK received a const reference to a struct containing a 16-byte array.

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

- src/nx/sdk/i_ref_countable.h