helics  2.8.1
Public Member Functions | Protected Member Functions | List of all members
helics::detail::ostringbuf Class Reference

#include <ValueConverter_impl.hpp>

+ Inheritance diagram for helics::detail::ostringbuf:

Public Member Functions

void reserve (size_t size)
 
std::string extractString ()
 

Protected Member Functions

void move_to_string_and_flush ()
 

Detailed Description

class to create a stream directly to a string that can be extracted

Member Function Documentation

◆ extractString()

std::string helics::detail::ostringbuf::extractString ( )
inline

extract the string in the buffer and reset the string buffer

Referenced by helics::ValueConverter< X >::convert().

◆ reserve()

void helics::detail::ostringbuf::reserve ( size_t  size)
inline

reserve a size of the buffer


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