RTI Connext C# API  6.1.0
TypeConsistencyEnforcementBuilder Class Reference

A modifiable type used to create an immutable TypeConsistencyEnforcement More...

Public Member Functions

 TypeConsistencyEnforcementBuilder (TypeConsistencyEnforcement data)
 Creates a builder with the values of an existing immutable instance More...
 
TypeConsistencyEnforcement Build ()
 Creates a new TypeConsistencyEnforcement immutable object from this one. More...
 

Properties

TypeConsistencyKind Kind [get, set]
 Type consistency kind. More...
 
bool IgnoreSequenceBounds [get, set]
 Controls whether sequence bounds are taken into consideration for type assignability. More...
 
bool IgnoreStringBounds [get, set]
 Controls whether string bounds are taken into consideration for type assignability. More...
 
bool IgnoreMemberNames [get, set]
 Controls whether member names are taken into consideration for type assignability. More...
 
bool PreventTypeWidening [get, set]
 Controls whether type widening is allowed. More...
 
bool ForceTypeValidation [get, set]
 Controls whether type information must be available in order to complete matching between a Publication.DataWriter<T> and a Subscription.DataReader<T>. More...
 
bool IgnoreEnumLiteralNames [get, set]
 Controls whether enumeration constant names are taken into consideration for type assignability. More...
 

Detailed Description

A modifiable type used to create an immutable TypeConsistencyEnforcement

Constructor & Destructor Documentation

◆ TypeConsistencyEnforcementBuilder()

Creates a builder with the values of an existing immutable instance

Member Function Documentation

◆ Build()

Creates a new TypeConsistencyEnforcement immutable object from this one.

Property Documentation

◆ ForceTypeValidation

bool ForceTypeValidation
getset

Controls whether type information must be available in order to complete matching between a Publication.DataWriter<T> and a Subscription.DataReader<T>.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::force_type_validation

◆ IgnoreEnumLiteralNames

bool IgnoreEnumLiteralNames
getset

Controls whether enumeration constant names are taken into consideration for type assignability.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::ignore_enum_literal_names

◆ IgnoreMemberNames

bool IgnoreMemberNames
getset

Controls whether member names are taken into consideration for type assignability.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::ignore_member_names

◆ IgnoreSequenceBounds

bool IgnoreSequenceBounds
getset

Controls whether sequence bounds are taken into consideration for type assignability.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::ignore_sequence_bounds

◆ IgnoreStringBounds

bool IgnoreStringBounds
getset

Controls whether string bounds are taken into consideration for type assignability.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::ignore_string_bounds

◆ Kind

TypeConsistencyKind Kind
getset

Type consistency kind.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::kind

◆ PreventTypeWidening

bool PreventTypeWidening
getset

Controls whether type widening is allowed.

The full documentation is available in the C API: DDS_TypeConsistencyEnforcementQosPolicy::prevent_type_widening