28 |
|
|
29 |
|
#include <list> |
30 |
|
|
31 |
+ |
#include "io/SectionParser.hpp" |
32 |
+ |
|
33 |
|
namespace oopse { |
34 |
|
|
35 |
|
struct SectionParserContext { |
48 |
|
|
49 |
|
public: |
50 |
|
typedef std::list<SectionParserContext> SectionParserContextList; |
51 |
< |
typedef typename SectionParserContextList::iterator iterator; |
52 |
< |
typedef typename SectionParserContextList::const_iterator const_iterator; |
51 |
> |
typedef SectionParserContextList::iterator iterator; |
52 |
> |
typedef SectionParserContextList::const_iterator const_iterator; |
53 |
|
|
54 |
|
SectionParserManager() : beginPriority_(0), priorityDifference_(100) {} |
55 |
|
~SectionParserManager(); |
56 |
|
|
57 |
< |
void parse(ifstrstream& input, ForceField& ff); |
57 |
> |
void parse(std::istream& input, ForceField& ff); |
58 |
|
|
59 |
|
void push_front(SectionParser* sp); |
60 |
|
|