OpendTect  7.0
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 (std::int16_t &)
 
ascbinistreamget (std::int32_t &)
 
ascbinistreamget (std::int64_t &)
 
ascbinistreamget (std::uint16_t &)
 
ascbinistreamget (std::uint32_t &)
 
ascbinistreamget (std::uint64_t &)
 
ascbinistreamget (unsigned char &)
 
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 ( std::int16_t &  )

◆ get() [5/10]

ascbinistream& ascbinistream::get ( std::int32_t &  )

◆ get() [6/10]

ascbinistream& ascbinistream::get ( std::int64_t &  )

◆ get() [7/10]

ascbinistream& ascbinistream::get ( std::uint16_t &  )

◆ get() [8/10]

ascbinistream& ascbinistream::get ( std::uint32_t &  )

◆ get() [9/10]

ascbinistream& ascbinistream::get ( std::uint64_t &  )

◆ get() [10/10]

ascbinistream& ascbinistream::get ( unsigned char &  )

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