RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::core::xtypes::ExtensibilityKind_def Struct Reference

The definition of the dds::core::safe_enum ExtensibilityKind. More...

#include <Annotations.hpp>

Public Types

enum  type {
  FINAL,
  EXTENSIBLE,
  MUTABLE
}
 

Detailed Description

The definition of the dds::core::safe_enum ExtensibilityKind.

Member Enumeration Documentation

The underlying enum type

Enumerator:
FINAL 

Specifies that a type has FINAL extensibility.

A type may be final, indicating that the range of its possible values is strictly defined. In particular, it is not possible to add elements to members of collection or aggregated types while maintaining type assignability.

The following types are always final:

EXTENSIBLE 

Specifies that a type has EXTENSIBLE extensibility.

A type may be extensible, indicating that two types, where one contains all of the elements/members of the other plus additional elements/members appended to the end, may remain assignable.

MUTABLE 

Specifies that a type has MUTABLE extensibility.

A type may be mutable, indicating that two types may differ from one another in the additional, removal, and/or transposition of elements/members while remaining assignable.

The following types are always mutable:


RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc