Version: 9.12.0
OSS Class Reference

Class OSS is useful when streaming data through a function that expect a string as parameter. More...

#include <DSC_Exception.hxx>

Public Member Functions

 OSS ()
 
template<class T >
OSSoperator<< (T obj)
 
 operator std::string ()
 

Private Attributes

std::ostringstream oss_
 

Detailed Description

Class OSS is useful when streaming data through a function that expect a string as parameter.

Constructor & Destructor Documentation

◆ OSS()

OSS::OSS ( )
explicit

Member Function Documentation

◆ operator std::string()

OSS::operator std::string ( )

References oss_.

◆ operator<<()

template<class T >
OSS& OSS::operator<< ( obj)

Field Documentation

◆ oss_

std::ostringstream OSS::oss_
private

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