Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
nlohmann::detail::output_string_adapter< CharType, StringType > Class Template Reference

output adapter for basic_string More...

+ Inheritance diagram for nlohmann::detail::output_string_adapter< CharType, StringType >:
+ Collaboration diagram for nlohmann::detail::output_string_adapter< CharType, StringType >:

Public Member Functions

 __attribute__ ((__nonnull__(2))) void write_characters(const CharType *s
 
 output_string_adapter (StringType &s) noexcept
 
void write_character (CharType c) override
 
- Public Member Functions inherited from nlohmann::detail::output_adapter_protocol< CharType >
output_adapter_protocol & operator= (const output_adapter_protocol &)=default
 
output_adapter_protocol & operator= (output_adapter_protocol &&) noexcept=default
 
 output_adapter_protocol (const output_adapter_protocol &)=default
 
 output_adapter_protocol (output_adapter_protocol &&) noexcept=default
 
virtual void write_character (CharType c)=0
 
virtual void write_characters (const CharType *s, std::size_t length)=0
 

Public Attributes

std::size_t length override
 

Detailed Description

template<typename CharType, typename StringType = std::basic_string<CharType>>
class nlohmann::detail::output_string_adapter< CharType, StringType >

output adapter for basic_string

Member Function Documentation

◆ write_character()

template<typename CharType , typename StringType = std::basic_string<CharType>>
void nlohmann::detail::output_string_adapter< CharType, StringType >::write_character ( CharType  c)
overridevirtual

Member Data Documentation

◆ override

template<typename CharType , typename StringType = std::basic_string<CharType>>
std::size_t length nlohmann::detail::output_string_adapter< CharType, StringType >::override
Initial value:
{
str.append(s, length)