RTI Connext Modern C++ API  Version 6.0.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DATA_REPRESENTATION

A list of data representations supported by a dds::pub::DataWriter or dds::sub::DataReader. More...

Classes

class  dds::core::policy::DataRepresentation
 Contains the data representations supported by entities. More...
 

Typedefs

typedef int16_t dds::core::policy::DataRepresentationId
 The type of the elements that DataRepresentation contains.
 
typedef std::vector
< DataRepresentationId > 
dds::core::policy::DataRepresentationIdSeq
 A vector of DataRepresentationId.
 

Functions

static DataRepresentationId dds::core::policy::DataRepresentation::xcdr ()
 Extended Common Data Representation encoding version 1.
 
static DataRepresentationId dds::core::policy::DataRepresentation::xml ()
 XML Data Representation (unsupported)
 
static DataRepresentationId dds::core::policy::DataRepresentation::xcdr2 ()
 Extended Common Data Representation encoding version 2.
 
static DataRepresentationId dds::core::policy::DataRepresentation::auto_id ()
 Representation automatically chosen based on the type.
 

Detailed Description

A list of data representations supported by a dds::pub::DataWriter or dds::sub::DataReader.

Typedef Documentation

The type of the elements that DataRepresentation contains.

2-byte signed integers

typedef std::vector<DataRepresentationId> dds::core::policy::DataRepresentationIdSeq

A vector of DataRepresentationId.

Function Documentation

static DataRepresentationId dds::core::policy::DataRepresentation::xcdr ( )
inlinestatic

Extended Common Data Representation encoding version 1.

static DataRepresentationId dds::core::policy::DataRepresentation::xml ( )
inlinestatic

XML Data Representation (unsupported)

Note
This value is currently not supported.
static DataRepresentationId dds::core::policy::DataRepresentation::xcdr2 ( )
inlinestatic

Extended Common Data Representation encoding version 2.

static DataRepresentationId dds::core::policy::DataRepresentation::auto_id ( )
inlinestatic

Representation automatically chosen based on the type.

For plain language binding, if the allow_data_representation annotation is not specified or if it contains the value XCDR, RTI Connext translates this field to dds::core::policy::DataRepresentation::xcdr(). Otherwise, it translates this field to dds::core::policy::DataRepresentation::xcdr2().

For the FlatData language binding, RTI Connext translates this field to dds::core::policy::DataRepresentation::xcdr2().

Examples:
Foo.hpp.

RTI Connext Modern C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc