ADTF
Loading...
Searching...
No Matches
adtf::streaming::stream_type_string< T > Class Template Reference

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

#include <streammetatypestring.h>

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.
 

Detailed Description

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

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

brings latest penguin::stream_type_string to the users scope

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

  • std::string
  • std::u16string
    Template Parameters
    TThe type you define the stream_string_type for.

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

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