DATRW++ library: seismic data I/O with multiple formats
◆
readany()
template<class C >
C datrw::helper::readany
(
std::istream &
is
,
const int &
n
)
Definition at line
62
of file
ibonjerstream.cc
.
References
DATRW_assert
.
63
{
64
C retval(n);
65
double
inval;
66
for
(
int
i=0; i<n; ++i)
67
{
68
DATRW_assert
(is.good(),
"ERROR (ibonjerstream::?series): "
69
"bad stream!"
);
70
is >> inval;
71
retval(i)=
typename
C::Tvalue
(inval);
72
}
73
return
(retval);
74
}
DATRW_assert
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition:
error.h:92
datrw::pdas::Tvalue
int Tvalue
Definition:
pdasread.h:75
datrw
helper
Generated on Mon Aug 21 2023 17:36:17 for DATRW++ library: seismic data I/O with multiple formats by
1.8.14