OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
dds::core::xtypes::MapType Class Reference

#include "CollectionTypes.hpp"

Inheritance diagram for dds::core::xtypes::MapType:
Inheritance graph

Public Member Functions

 MapType (const DyanmicType &key_type, const DynamicType &value_type)
 
 MapType (const DyanmicType &key_type, const DynamicType &value_type, uint32_t bounds)
 
uint32_t bounds () const
 
const DyanmicType & key_type ()
 
const DynamicType & value_type ()
 

Public Attributes

const uint32_t UNBOUNDED = 0xFFFFFFFF
 

Detailed Description

Definition at line 59 of file CollectionTypes.hpp.

Constructor & Destructor Documentation

◆ MapType() [1/2]

dds::core::xtypes::MapType::MapType ( const DyanmicType &  key_type,
const DynamicType &  value_type 
)

Create an unbounded Map with the given key/value type.

◆ MapType() [2/2]

dds::core::xtypes::MapType::MapType ( const DyanmicType &  key_type,
const DynamicType &  value_type,
uint32_t  bounds 
)

Create an bounded Map with the given key/value type.

Member Function Documentation

◆ bounds()

uint32_t dds::core::xtypes::CollectionType::bounds ( ) const
inherited

◆ key_type()

const DyanmicType& dds::core::xtypes::MapType::key_type ( )

◆ value_type()

const DynamicType& dds::core::xtypes::MapType::value_type ( )

Member Data Documentation

◆ UNBOUNDED

const uint32_t dds::core::xtypes::CollectionType::UNBOUNDED = 0xFFFFFFFF
inherited

Definition at line 49 of file CollectionTypes.hpp.


The documentation for this class was generated from the following file: