Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AssertionFailureException::StreamFormatter Class Reference

Class which allows to use the << operator to assemble a string. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/ThrowAssert.hpp>

+ Collaboration diagram for Acts::AssertionFailureException::StreamFormatter:

Public Member Functions

 operator std::string () const
 Converts to string.
 
template<typename T >
StreamFormatteroperator<< (const T &value)
 Stream operator which takes everything and forwards it to the stringstream.
 

Private Attributes

std::ostringstream stream
 

Detailed Description

Class which allows to use the << operator to assemble a string.

Definition at line 21 of file ThrowAssert.hpp.

View newest version in sPHENIX GitHub at line 21 of file ThrowAssert.hpp

Member Function Documentation

Acts::AssertionFailureException::StreamFormatter::operator std::string ( ) const
inline

Converts to string.

Definition at line 27 of file ThrowAssert.hpp.

View newest version in sPHENIX GitHub at line 27 of file ThrowAssert.hpp

References stream.

template<typename T >
StreamFormatter& Acts::AssertionFailureException::StreamFormatter::operator<< ( const T value)
inline

Stream operator which takes everything and forwards it to the stringstream.

Template Parameters
Ttype of anything
Parameters
valueconst ref to anything

Definition at line 34 of file ThrowAssert.hpp.

View newest version in sPHENIX GitHub at line 34 of file ThrowAssert.hpp

References stream, and value.

Member Data Documentation

std::ostringstream Acts::AssertionFailureException::StreamFormatter::stream
private

Definition at line 23 of file ThrowAssert.hpp.

View newest version in sPHENIX GitHub at line 23 of file ThrowAssert.hpp

Referenced by operator std::string(), and operator<<().


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