RTI Connext Modern C++ API Version 7.3.0
dds::core::xtypes::SequenceType Class Reference

<<value-type>> Represents an IDL sequence type. More...

#include <dds/core/xtypes/CollectionTypes.hpp>

Inheritance diagram for dds::core::xtypes::SequenceType:
dds::core::xtypes::UnidimensionalCollectionType dds::core::xtypes::CollectionType dds::core::xtypes::DynamicType

Public Member Functions

 SequenceType (const dds::core::xtypes::DynamicType &type)
 Creates an unbounded collection with an element type. More...
 
 SequenceType (const dds::core::xtypes::DynamicType &type, uint32_t bounds)
 Creates a bounded collection with an element type. More...
 
 SequenceType (dds::core::xtypes::DynamicType &&type)
 <<C++11>> Creates an unbounded collection with an element type More...
 
 SequenceType (dds::core::xtypes::DynamicType &&type, uint32_t the_bounds)
 <<C++11>> Creates a bounded collection with an element type More...
 
- Public Member Functions inherited from dds::core::xtypes::UnidimensionalCollectionType
uint32_t bounds () const
 Gets the maximum length of this collection. More...
 
- Public Member Functions inherited from dds::core::xtypes::CollectionType
const dds::core::xtypes::DynamicTypecontent_type () const
 Gets the type of the elements of this collection. More...
 
- Public Member Functions inherited from dds::core::xtypes::DynamicType
dds::core::xtypes::TypeKind kind () const
 Gets the type kind. More...
 
std::string name () const
 Gets the name. More...
 

Additional Inherited Members

Detailed Description

<<value-type>> Represents an IDL sequence type.

Constructor & Destructor Documentation

◆ SequenceType() [1/4]

dds::core::xtypes::SequenceType::SequenceType ( const dds::core::xtypes::DynamicType type)
explicit

Creates an unbounded collection with an element type.

Parameters
typeThe element type

◆ SequenceType() [2/4]

dds::core::xtypes::SequenceType::SequenceType ( const dds::core::xtypes::DynamicType type,
uint32_t  bounds 
)

Creates a bounded collection with an element type.

Parameters
typeThe element type
boundsThe maximum length

◆ SequenceType() [3/4]

dds::core::xtypes::SequenceType::SequenceType ( dds::core::xtypes::DynamicType &&  type)
inlineexplicit

<<C++11>> Creates an unbounded collection with an element type

Parameters
typeThe element type

◆ SequenceType() [4/4]

dds::core::xtypes::SequenceType::SequenceType ( dds::core::xtypes::DynamicType &&  type,
uint32_t  the_bounds 
)
inline

<<C++11>> Creates a bounded collection with an element type

Parameters
typeThe element type
the_boundsThe maximum length