RTI Connext Modern C++ API
Version 6.1.1
|
<<value-type>> Represents an IDL sequence
type.
More...
#include <dds/core/xtypes/CollectionTypes.hpp>
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... | |
![]() | |
uint32_t | bounds () const |
Gets the maximum length of this collection. More... | |
![]() | |
const dds::core::xtypes::DynamicType & | content_type () const |
Gets the type of the elements of this collection. More... | |
![]() | |
dds::core::xtypes::TypeKind | kind () const |
Gets the type kind. More... | |
std::string | name () const |
Gets the name. More... | |
Additional Inherited Members | |
![]() | |
bool | is_primitive_type (const DynamicType &t) |
Determines if a DynamicType is a PrimitiveType. More... | |
bool | is_constructed_type (const DynamicType &t) |
Determines if a DynamicType is a constructed type. More... | |
bool | is_collection_type (const DynamicType &t) |
Determines if a DynamicType is a CollectionType. More... | |
bool | is_aggregation_type (const DynamicType &t) |
Determines if a DynamicType is an aggregation type. More... | |
std::ostream & | operator<< (std::ostream &out, const DynamicType &type) |
<<extension>> Converts the DynamicType to a string. More... | |
void | print_idl (const DynamicType &type, unsigned int indent=0) |
<<extension>> Prints the IDL representation of this DynamicType to the standard output More... | |
std::ostream & | to_string (std::ostream &out, const DynamicType &type, const rti::core::xtypes::DynamicTypePrintFormatProperty &format=DynamicTypePrintFormatProperty()) |
<<extension>> Writes the string representation of this DynamicType to an output stream. More... | |
std::string | to_string (const DynamicType &type, const rti::core::xtypes::DynamicTypePrintFormatProperty &format=DynamicTypePrintFormatProperty()) |
<<extension>> Creates the string representation of this DynamicType to a string. More... | |
<<value-type>> Represents an IDL sequence
type.
|
explicit |
Creates an unbounded collection with an element type.
type | The element type |
dds::core::xtypes::SequenceType::SequenceType | ( | const dds::core::xtypes::DynamicType & | type, |
uint32_t | bounds | ||
) |
Creates a bounded collection with an element type.
type | The element type |
bounds | The maximum length |
|
inlineexplicit |
<<C++11>> Creates an unbounded collection with an element type
type | The element type |
|
inline |
<<C++11>> Creates a bounded collection with an element type
type | The element type |
the_bounds | The maximum length |