OpendTect  6.6
Classes | Public 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 (const StreamData &)=delete
 
 StreamData (StreamData &&)
 
void close ()
 
const char * fileName () const
 
std::istream * iStrm () const
 
StreamDataoperator= (const StreamData &)=delete
 
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 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 ( const StreamData )
delete

◆ StreamData() [3/3]

StreamData::StreamData ( StreamData &&  )

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 )
delete

◆ 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-2022