RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::core::KeyedStringTopicType Class Reference

Built-in type consisting of a string payload and a second string that is the key. More...

#include <dds/core/BuiltinTopicTypes.hpp>

Public Member Functions

 KeyedStringTopicType ()
 Creates a sample with two empty strings.
 
 KeyedStringTopicType (const dds::core::string &key, const dds::core::string &value)
 Creates a sample with the two given strings.
 
const dds::core::stringkey () const
 Gets the key.
 
dds::core::stringkey ()
 Gets the key.
 
void key (const dds::core::string &value)
 Sets the key.
 
const dds::core::stringvalue () const
 Gets the value.
 
dds::core::stringvalue ()
 Gets the key.
 
void value (const dds::core::string &value)
 Gets the key.
 

Detailed Description

Built-in type consisting of a string payload and a second string that is the key.

See Also
Built-in Types

Constructor & Destructor Documentation

dds::core::KeyedStringTopicType::KeyedStringTopicType ( )
inline

Creates a sample with two empty strings.

dds::core::KeyedStringTopicType::KeyedStringTopicType ( const dds::core::string key,
const dds::core::string value 
)
inline

Creates a sample with the two given strings.

Member Function Documentation

const dds::core::string& dds::core::KeyedStringTopicType::key ( ) const
inline

Gets the key.

dds::core::string& dds::core::KeyedStringTopicType::key ( )
inline

Gets the key.

void dds::core::KeyedStringTopicType::key ( const dds::core::string value)
inline

Sets the key.

const dds::core::string& dds::core::KeyedStringTopicType::value ( ) const
inline

Gets the value.

dds::core::string& dds::core::KeyedStringTopicType::value ( )
inline

Gets the key.

void dds::core::KeyedStringTopicType::value ( const dds::core::string value)
inline

Gets the key.


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