RTI Connext Traditional C++ API Version 7.3.0
DDS_TypeAllocationParams_t Struct Reference

Configures whether or not to allocate pointer and optional members. More...

Public Member Functions

struct DDS_TypeAllocationParams_tset_allocate_pointers (DDS_Boolean allocate)
 
struct DDS_TypeAllocationParams_tset_allocate_optional_members (DDS_Boolean allocate)
 

Public Attributes

DDS_Boolean allocate_pointers
 Whether to allocate pointer members or not. More...
 
DDS_Boolean allocate_optional_members
 Whether to allocate optional members or not. More...
 

Detailed Description

Configures whether or not to allocate pointer and optional members.

By default pointers are allocated and optional members are not.

This structure is also defined in xcdr.1.0/srcC/typeObject/TypeObjectInfrastructure.h. If changes are made, please ensure they are made in both locations.

Examples
HelloWorld.cxx, and HelloWorldPlugin.cxx.

Member Function Documentation

◆ set_allocate_pointers()

struct DDS_TypeAllocationParams_t & DDS_TypeAllocationParams_t::set_allocate_pointers ( DDS_Boolean  allocate)
inline

Whether to allocate pointer members or not

◆ set_allocate_optional_members()

struct DDS_TypeAllocationParams_t & DDS_TypeAllocationParams_t::set_allocate_optional_members ( DDS_Boolean  allocate)
inline

Whether to allocate optional members or not

Member Data Documentation

◆ allocate_pointers

DDS_Boolean DDS_TypeAllocationParams_t::allocate_pointers

Whether to allocate pointer members or not.

Examples
HelloWorld.cxx, and HelloWorldPlugin.cxx.

◆ allocate_optional_members

DDS_Boolean DDS_TypeAllocationParams_t::allocate_optional_members

Whether to allocate optional members or not.