OpendTect  7.0
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
StreamData Class Reference

Holds data to use and close an iostream. Usually created by StreamProvider. More...

Classes

class  StreamDataImpl
 

Public Member Functions

 StreamData ()
 
 StreamData (StreamData &&)
 
void close ()
 
const char * fileName () const
 
std::istream * iStrm () const
 
StreamDataoperator= (StreamData &&)
 
std::ostream * oStrm () const
 
void setFileName (const char *fn)
 
void setImpl (StreamDataImpl *)
 
void setIStrm (std::istream *)
 
void setOStrm (std::ostream *)
 
std::ios * streamPtr () const
 
void transferTo (StreamData &)
 retains file name More...
 
bool usable () const
 

Private Member Functions

 StreamData (const StreamData &)=delete
 
StreamDataoperator= (const StreamData &)=delete
 

Private Attributes

PtrMan< StreamDataImplimpl_
 

Detailed Description

Holds data to use and close an iostream. Usually created by StreamProvider.

<>

Constructor & Destructor Documentation

◆ StreamData() [1/3]

StreamData::StreamData ( )

◆ StreamData() [2/3]

StreamData::StreamData ( StreamData &&  )

◆ StreamData() [3/3]

StreamData::StreamData ( const StreamData )
privatedelete

Member Function Documentation

◆ close()

void StreamData::close ( )

◆ fileName()

const char* StreamData::fileName ( ) const

◆ iStrm()

std::istream* StreamData::iStrm ( ) const
inline

◆ operator=() [1/2]

StreamData& StreamData::operator= ( const StreamData )
privatedelete

◆ operator=() [2/2]

StreamData& StreamData::operator= ( StreamData &&  )

◆ oStrm()

std::ostream* StreamData::oStrm ( ) const
inline

◆ setFileName()

void StreamData::setFileName ( const char *  fn)

◆ setImpl()

void StreamData::setImpl ( StreamDataImpl )

◆ setIStrm()

void StreamData::setIStrm ( std::istream *  )

◆ setOStrm()

void StreamData::setOStrm ( std::ostream *  )

◆ streamPtr()

std::ios* StreamData::streamPtr ( ) const

◆ transferTo()

void StreamData::transferTo ( StreamData )

retains file name

◆ usable()

bool StreamData::usable ( ) const

Member Data Documentation

◆ impl_

PtrMan<StreamDataImpl> StreamData::impl_
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024