OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Friends | List of all members
StreamData Class Reference

Holds data to use and close an iostream. More...

Public Member Functions

 StreamData ()
 
void transferTo (StreamData &)
 retains file name More...
 
void close ()
 
bool usable () const
 
void setFileName (const char *fn)
 
const char * fileName () const
 
std::ios * streamPtr () const
 

Public Attributes

std::istream * istrm
 
std::ostream * ostrm
 

Protected Attributes

BufferString fname_
 

Private Member Functions

void initStrms ()
 

Friends

class StreamProvider
 

Detailed Description

Holds data to use and close an iostream.

Usually created by StreamProvider. Need to find out what to do with the pipe in windows.

Constructor & Destructor Documentation

StreamData::StreamData ( )
inline

Member Function Documentation

void StreamData::close ( )
const char* StreamData::fileName ( ) const
inline
void StreamData::initStrms ( )
inlineprivate
void StreamData::setFileName ( const char *  fn)
inline
std::ios* StreamData::streamPtr ( ) const
void StreamData::transferTo ( StreamData )

retains file name

bool StreamData::usable ( ) const

Friends And Related Function Documentation

friend class StreamProvider
friend

Member Data Documentation

BufferString StreamData::fname_
protected
std::istream* StreamData::istrm
std::ostream* StreamData::ostrm

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