ADTF  3.18.2
stream_type_string< T >

Generator template to create an instance of a ant::IStreamType class for penguin::stream_meta_type_string ("adtf/string"). More...

Public Member Functions

 stream_type_string (stream_meta_type_string::EncodingType eEncoding)
 Construct a new stream type string object for the "adtf/string" meta type. More...
 

Detailed Description

template<typename T>
class adtf::streaming::penguin::stream_type_string< T >

Generator template to create an instance of a ant::IStreamType class for penguin::stream_meta_type_string ("adtf/string").

Use this template to create a ant::IStreamType instance for a special string given in T. Following types are supported:

Definition at line 286 of file streammetatypestring.h.

Constructor & Destructor Documentation

◆ stream_type_string()

Construct a new stream type string object for the "adtf/string" meta type.

Parameters
eEncodingThe encoding type for the specified string. This does not need to be changed until the default encoding for the specified type T is does not fit.
Following default encodings are used by type:
  • std::string - EncodingType::c_char
  • std::u16string - EncodingType::w_char_16

Definition at line 298 of file streammetatypestring.h.