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

reads from a stream that was created in ascbinostream style. More...

Public Member Functions

 ascbinistream (od_istream &, bool binary)
 
 ascbinistream (od_istream *, bool binary)
 
virtual ~ascbinistream ()
 
bool isOK () const
 
bool isBad () const
 
ascbinistreamget (char &)
 
ascbinistreamget (unsigned char &)
 
ascbinistreamget (short &)
 
ascbinistreamget (unsigned short &)
 
ascbinistreamget (int &)
 
ascbinistreamget (unsigned int &)
 
ascbinistreamget (int64_t &)
 
ascbinistreamget (uint64_t &)
 
ascbinistreamget (float &)
 
ascbinistreamget (double &)
 
template<class T , class IT >
ascbinistreamgetArr (T *arr, IT sz)
 Will NOT read the sz! Read sz and allocate first. More...
 
ascbinistreamgetBin (void *, od_stream_Count nrbytes)
 
template<class T >
ascbinistreamgetBin (T &t)
 
od_istreamstream ()
 

Protected Attributes

od_istreamstrm_
 
const bool binary_
 
const bool strmmine_
 

Detailed Description

reads from a stream that was created in ascbinostream style.

Constructor & Destructor Documentation

ascbinistream::ascbinistream ( od_istream ,
bool  binary 
)
ascbinistream::ascbinistream ( od_istream ,
bool  binary 
)
virtual ascbinistream::~ascbinistream ( )
virtual

Member Function Documentation

ascbinistream& ascbinistream::get ( char &  )
ascbinistream& ascbinistream::get ( unsigned char &  )
ascbinistream& ascbinistream::get ( short &  )
ascbinistream& ascbinistream::get ( unsigned short &  )
ascbinistream& ascbinistream::get ( int &  )
ascbinistream& ascbinistream::get ( unsigned int &  )
ascbinistream& ascbinistream::get ( int64_t &  )
ascbinistream& ascbinistream::get ( uint64_t &  )
ascbinistream& ascbinistream::get ( float &  )
ascbinistream& ascbinistream::get ( double &  )
template<class T , class IT >
ascbinistream & ascbinistream::getArr ( T *  arr,
IT  sz 
)
inline

Will NOT read the sz! Read sz and allocate first.

ascbinistream& ascbinistream::getBin ( void *  ,
od_stream_Count  nrbytes 
)
template<class T >
ascbinistream& ascbinistream::getBin ( T &  t)
inline
bool ascbinistream::isBad ( ) const
bool ascbinistream::isOK ( ) const
od_istream& ascbinistream::stream ( )
inline

Member Data Documentation

const bool ascbinistream::binary_
protected
od_istream& ascbinistream::strm_
protected
const bool ascbinistream::strmmine_
protected

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