Version: 8.3.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 ( )
explicit

Member Function Documentation

OSS::operator std::string ( )

References oss_.

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

References oss_.

Field Documentation

std::ostringstream OSS::oss_
private

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