Open CASCADE Technology 7.8.0
Public Member Functions | Protected Attributes
OSD_StreamBuffer< T > Class Template Reference

A file stream implementation initialized from std::shared_ptr<std::streambuf>. More...

#include <OSD_StreamBuffer.hxx>

Inheritance diagram for OSD_StreamBuffer< T >:
Inheritance graph
[legend]

Public Member Functions

 OSD_StreamBuffer (const std::string &theUrl, const std::shared_ptr< std::streambuf > &theBuffer)
 Main constructor.
 
const std::string & Url () const
 Return an opened URL.
 

Protected Attributes

std::string myUrl
 
std::shared_ptr< std::streambuf > myBuffer
 

Detailed Description

template<typename T>
class OSD_StreamBuffer< T >

A file stream implementation initialized from std::shared_ptr<std::streambuf>.

Constructor & Destructor Documentation

◆ OSD_StreamBuffer()

template<typename T >
OSD_StreamBuffer< T >::OSD_StreamBuffer ( const std::string &  theUrl,
const std::shared_ptr< std::streambuf > &  theBuffer 
)
inline

Main constructor.

Member Function Documentation

◆ Url()

template<typename T >
const std::string & OSD_StreamBuffer< T >::Url ( ) const
inline

Return an opened URL.

Field Documentation

◆ myBuffer

template<typename T >
std::shared_ptr<std::streambuf> OSD_StreamBuffer< T >::myBuffer
protected

◆ myUrl

template<typename T >
std::string OSD_StreamBuffer< T >::myUrl
protected

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