Embedded Template Library 1.0
etl::basic_string_stream< TFormat, TIString, TStringView > Class Template Reference

Public Types

typedef TFormat format_spec_type
 
typedef TIString istring_type
 
typedef TIString::value_type value_type
 
typedef TIString::pointer pointer
 
typedef TIString::const_pointer const_pointer
 

Public Member Functions

 basic_string_stream (TIString &text_)
 Construct from text.
 
 basic_string_stream (TIString &text_, const TFormat &spec_)
 Construct from text and format spec.
 
void set_format (const TFormat &spec_)
 Set the format spec.
 
const TFormat & get_format () const
 Get a const reference to the format spec.
 
TIString & str ()
 Get a reference to the current string.
 
const TIString & str () const
 Get a const reference to the current string.
 
void str (const value_type *p)
 Resets the stream to the supplied string.
 
void str (const TIString &is)
 Resets the stream to the supplied string.
 

Friends

basic_string_streamoperator<< (basic_string_stream &ss, const TFormat &spec)
 Stream operators. More...
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::base_spec spec)
 etl::base_spec from etl::setbase, etl::bin, etl::oct, etl::dec & etl::hex stream manipulators
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::width_spec spec)
 etl::width_spec from etl::setw stream manipulator
 
template<typename TChar >
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::fill_spec< TChar > spec)
 etl::fill_spec from etl::setfill stream manipulator
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::precision_spec spec)
 etl::precision_spec from etl::setprecision stream manipulator
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::boolalpha_spec spec)
 etl::boolalpha_spec from etl::boolalpha & etl::noboolalpha stream manipulators
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::uppercase_spec spec)
 etl::uppercase_spec from etl::uppercase & etl::nouppercase stream manipulators
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::showbase_spec spec)
 etl::showbase_spec from etl::showbase & etl::noshowbase stream manipulators
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::left_spec)
 etl::left_spec from etl::left stream manipulator
 
basic_string_streamoperator<< (basic_string_stream &ss, etl::private_basic_format_spec::right_spec)
 etl::right_spec from etl::left stream manipulator
 
basic_string_streamoperator<< (basic_string_stream &ss, TStringView view)
 From a string view.
 
basic_string_streamoperator<< (basic_string_stream &ss, pointer p)
 From a character pointer to a string.
 
basic_string_streamoperator<< (basic_string_stream &ss, const_pointer p)
 From a const character pointer to a string.
 
basic_string_streamoperator<< (basic_string_stream &ss, const TIString &text)
 From a string interface.
 
template<template< size_t > class TString, size_t SIZE>
basic_string_streamoperator<< (basic_string_stream &ss, const TString< SIZE > &text)
 From a string.
 
template<typename T >
basic_string_streamoperator<< (basic_string_stream &ss, const T &value)
 From anything else.
 

Friends And Related Function Documentation

◆ operator<<

template<typename TFormat , typename TIString , typename TStringView >
basic_string_stream & operator<< ( basic_string_stream< TFormat, TIString, TStringView > &  ss,
const TFormat &  spec 
)
friend

Stream operators.

TFormat


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