Public Member Functions | Private Attributes | List of all members
Catch::ReusableStringStream Class Reference

#include <catch.hpp>

Inheritance diagram for Catch::ReusableStringStream:
Inheritance graph
[legend]

Public Member Functions

auto get () -> std::ostream &
 
template<typename T >
auto operator<< (T const &value) -> ReusableStringStream &
 
 ReusableStringStream ()
 
auto str () const -> std::string
 
 ~ReusableStringStream ()
 

Private Attributes

std::size_t m_index
 
std::ostream * m_oss
 

Additional Inherited Members

- Private Member Functions inherited from Catch::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

Definition at line 1438 of file catch.hpp.

Constructor & Destructor Documentation

◆ ReusableStringStream()

Catch::ReusableStringStream::ReusableStringStream ( )

◆ ~ReusableStringStream()

Catch::ReusableStringStream::~ReusableStringStream ( )

Member Function Documentation

◆ get()

auto Catch::ReusableStringStream::get ( ) -> std::ostream&
inline

Definition at line 1452 of file catch.hpp.

◆ operator<<()

template<typename T >
auto Catch::ReusableStringStream::operator<< ( T const &  value) -> ReusableStringStream&
inline

Definition at line 1448 of file catch.hpp.

◆ str()

auto Catch::ReusableStringStream::str ( ) const -> std::string

Member Data Documentation

◆ m_index

std::size_t Catch::ReusableStringStream::m_index
private

Definition at line 1439 of file catch.hpp.

◆ m_oss

std::ostream* Catch::ReusableStringStream::m_oss
private

Definition at line 1440 of file catch.hpp.


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


magic_enum
Author(s):
autogenerated on Fri Feb 21 2025 03:20:19