Subversion Repositories spk

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
/*
2
  defines the bod_cut_parser - class that can parse bod format and create 
3
  bob_dom_cut object
4
*/
5
 
6
#ifndef BOD_CUT_PARSER_INCLUDED
7
#define BOD_CUT_PARSER_INCLUDED
8
 
9
#include "bod_bob_parser.h"
10
#include "bob_dom_cut.h"
11
#include "settings.h"
12
 
13
class bod_cut_parser : public bod_bob_parser
14
{
15
	private:
114 cycrow 16
		bob_path * loadPath(bob_dom_cut *cut, token_stream& is);
17
		bool loadNote(bob_path *path, token_stream& is);
18
		bool loadFrame(bob_path *path, token_stream& is);
1 cycrow 19
 
114 cycrow 20
		bob_dom_cut * loadCUT(token_stream& is, obinaryfilestream *os, bool bDirectOutput);
21
		bool loadTCBInfo(token_stream& is, bob_frame::tcb_info *info);
1 cycrow 22
 
23
	public:
24
		bod_cut_parser(const Settings *settings) : bod_bob_parser(settings) {}
25
 
26
		bob_dom_cut * loadCUT(token_stream& is);
114 cycrow 27
		bool compile(token_stream& is, obinaryfilestream& os);
1 cycrow 28
};
29
 
30
#endif // !defined(BOD_CUT_PARSER_INCLUDED)