Public Types | Static Public Member Functions | List of all members
ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > > Struct Template Reference

Serializer specialized for std::string. More...

#include <serialization.h>

Public Types

typedef std::basic_string< char, std::char_traits< char >, ContainerAllocator > StringType
 

Static Public Member Functions

template<typename Stream >
static void read (Stream &stream, StringType &str)
 
static uint32_t serializedLength (const StringType &str)
 
template<typename Stream >
static void write (Stream &stream, const StringType &str)
 

Detailed Description

template<class ContainerAllocator>
struct ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >

Serializer specialized for std::string.

Definition at line 233 of file serialization.h.

Member Typedef Documentation

◆ StringType

template<class ContainerAllocator >
typedef std::basic_string<char, std::char_traits<char>, ContainerAllocator> ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >::StringType

Definition at line 235 of file serialization.h.

Member Function Documentation

◆ read()

template<class ContainerAllocator >
template<typename Stream >
static void ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >::read ( Stream stream,
StringType str 
)
inlinestatic

Definition at line 250 of file serialization.h.

◆ serializedLength()

template<class ContainerAllocator >
static uint32_t ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >::serializedLength ( const StringType str)
inlinestatic

Definition at line 264 of file serialization.h.

◆ write()

template<class ContainerAllocator >
template<typename Stream >
static void ros::serialization::Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >::write ( Stream stream,
const StringType str 
)
inlinestatic

Definition at line 238 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust
autogenerated on Mon Jul 27 2020 03:43:48