You are here: Part 2: Core Concepts > Data Types and DDS Data Samples > Creating User Data Types with IDL > Value Types

Value Types

A value type is like a structure, but with support for additional object-oriented features such as inheritance. It is similar to what is sometimes referred to in Java as a POJO—a Plain Old Java Object.

Readers familiar with value types in the context of CORBA should consult Table 4 to see which value type-related IDL keywords are supported and what their behavior is in the context of Connext DDS.

Table 4 Value Type Support

Aspect

Level of Support in RTI Code Generator

Inheritance

Single inheritance from other value types

Public state members

Supported

Private state members

Become public when code is generated

Custom keyword

Ignored (the value type is parsed without the keyword and code is generated to work with it)

Abstract value types

No code generated (the value type is parsed, but no code is generated)

Operations

No code generated (the value type is parsed, but no code is generated)

Truncatable keyword

Ignored (the value type is parsed without the keyword and code is generated to work with it)

© 2015 RTI