9 #ifndef ThePEG_PersistentIStream_H
10 #define ThePEG_PersistentIStream_H
13 #include "ThePEG/Config/ThePEG.h"
14 #include "InputDescription.h"
15 #include "PersistentIStream.fh"
16 #include "ThePEG/Utilities/Exception.h"
109 template <
typename T>
122 template <
typename T>
135 template <
typename T>
255 typename Container::value_type val;
258 while ( size-- &&
good() ) {
260 c.insert(c.end(), val);
325 operator bool()
const {
return good(); }
345 struct MissingClass:
public Exception {};
349 struct MissingObject:
public Exception {};
353 struct ReadFailure:
public Exception {};
364 char get() {
return is().get(); }
395 is().ignore(INT_MAX,
tSep);
417 void endBase(
string classname);
522 static const char tNo =
'n';
575 template <
typename T1,
typename T2>
577 return is >> p.first >> p.second;
581 template <
typename Key,
typename T,
typename Cmp,
typename A>
587 while ( size-- && is ) {
595 template <
typename Key,
typename T,
typename Cmp,
typename A>
597 multimap<Key,T,Cmp,A> & m) {
603 while ( size-- && is ) {
606 m.insert(make_pair(k, t));
613 template <
typename Key,
typename Cmp,
typename A>
615 set<Key,Cmp,A> & s) {
621 template <
typename Key,
typename Cmp,
typename A>
623 multiset<Key,Cmp,A> & s) {
630 template <
typename T,
typename A>
639 template <
typename T,
typename A>
648 template <
typename T,
typename A>