OpendTect  6.6
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 ()
 
ascbinistreamget (char &)
 
ascbinistreamget (double &)
 
ascbinistreamget (float &)
 
ascbinistreamget (int &)
 
ascbinistreamget (int64_t &)
 
ascbinistreamget (short &)
 
ascbinistreamget (uint64_t &)
 
ascbinistreamget (unsigned char &)
 
ascbinistreamget (unsigned int &)
 
ascbinistreamget (unsigned short &)
 
template<class T , class IT >
ascbinistreamgetArr (T *arr, IT sz)
 Will NOT read the sz! Read sz and allocate first. More...
 
template<class T >
ascbinistreamgetBin (T &t)
 
ascbinistreamgetBin (void *, od_stream_Count nrbytes)
 
bool isBad () const
 
bool isOK () const
 
od_istreamstream ()
 

Protected Attributes

const bool binary_
 
od_istreamstrm_
 
const bool strmmine_
 

Detailed Description

reads from a stream that was created in ascbinostream style.

<>

Constructor & Destructor Documentation

◆ ascbinistream() [1/2]

ascbinistream::ascbinistream ( od_istream ,
bool  binary 
)

◆ ascbinistream() [2/2]

ascbinistream::ascbinistream ( od_istream ,
bool  binary 
)

◆ ~ascbinistream()

virtual ascbinistream::~ascbinistream ( )
virtual

Member Function Documentation

◆ get() [1/10]

ascbinistream& ascbinistream::get ( char &  )

◆ get() [2/10]

ascbinistream& ascbinistream::get ( double &  )

◆ get() [3/10]

ascbinistream& ascbinistream::get ( float &  )

◆ get() [4/10]

ascbinistream& ascbinistream::get ( int &  )

◆ get() [5/10]

ascbinistream& ascbinistream::get ( int64_t &  )

◆ get() [6/10]

ascbinistream& ascbinistream::get ( short &  )

◆ get() [7/10]

ascbinistream& ascbinistream::get ( uint64_t &  )

◆ get() [8/10]

ascbinistream& ascbinistream::get ( unsigned char &  )

◆ get() [9/10]

ascbinistream& ascbinistream::get ( unsigned int &  )

◆ get() [10/10]

ascbinistream& ascbinistream::get ( unsigned short &  )

◆ getArr()

template<class T , class IT >
ascbinistream & ascbinistream::getArr ( T *  arr,
IT  sz 
)
inline

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

◆ getBin() [1/2]

template<class T >
ascbinistream& ascbinistream::getBin ( T &  t)
inline

◆ getBin() [2/2]

ascbinistream& ascbinistream::getBin ( void *  ,
od_stream_Count  nrbytes 
)

◆ isBad()

bool ascbinistream::isBad ( ) const

◆ isOK()

bool ascbinistream::isOK ( ) const

◆ stream()

od_istream& ascbinistream::stream ( )
inline

Member Data Documentation

◆ binary_

const bool ascbinistream::binary_
protected

◆ strm_

od_istream& ascbinistream::strm_
protected

◆ strmmine_

const bool ascbinistream::strmmine_
protected

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