RTI Connext Modern C++ API  Version 5.2.0
 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:

  • TCKind::TK_ARRAY
  • All primitive types
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:

  • TCKind::TK_SEQUENCE
  • TCKind::TK_STRING
  • TCKind::TK_WSTRING

RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc