actually open stream (to be called by constructor)
Definition at line 162 of file readany.cc.
References datrw::anyID(), datrw::util::clipstring(), DATRW_abort, DATRW_expect_no_modifier, datrw::idatstream::debug(), debug(), datrw::Fascii, datrw::Fbinary, datrw::Fbonjer, datrw::Fgse, datrw::Fhpmo, datrw::Fmseed, datrw::Fpdas, datrw::Fsac, datrw::Fseife, datrw::Fsff, datrw::Fsu, datrw::Ftfascii, datrw::Fthiesdl1, datrw::Ftsoft, Mformat, and Mis.
Referenced by ianystream().
166 std::string& modifiers=format;
171 Mis=
new ibonjerstream(is);
176 Mis=
new ipdasstream(is);
181 Mis=
new isffstream(is);
186 Mis=
new ihpmostream(is);
190 Mis=
new imseedstream(is, modifiers);
195 Mis=
new isacstream(is);
200 Mis=
new igsestream(is);
204 Mis=
new itsoftstream(is, modifiers);
209 Mis=
new itfasciistream(is);
213 Mis=
new isustream(is, modifiers);
217 Mis=
new iseifestream(is, modifiers);
221 Mis=
new ithiesdl1stream(is, modifiers);
225 Mis=
new iasciistream(is, modifiers);
230 Mis=
new ibinarystream(is);
233 {
DATRW_abort(
"ERROR (ianystream): unknown format!"); }
Eformat anyID(std::string formatstring)
convert identifier from and to string representation
bool debug()
indicate debug mode
bool debug()
indicate debug mode
#define DATRW_abort(M)
Abort and give a message.
std::string clipstring(std::string &s, const std::string &delim)
strip substringStrips off first substring up to given delimiter. The string is passed as a reference ...