-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFMCodeAny.h
60 lines (35 loc) · 1.37 KB
/
FMCodeAny.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* File: FMCodeAny.h
* Author: kavlar
*
* Created on 20140821
*/
#ifndef METCODE_FMCODEANY_H
#define METCODE_FMCODEANY_H
#include "FMCode.h"
namespace MetCode
{
class FMCodeAny : public FMCode
{
public:
FMCodeAny();
virtual ~FMCodeAny();
private:
FMCodeAny(const FMCodeAny& orig);
protected:
virtual bool canIdentify(const std::string& headFragment) const throw ();
virtual bool onMiMiMjMj(std::string& mimimjmj, bool& isNextGroupYYGG) const throw ();
virtual bool onMiMiMjMj(std::string& mimimjmj, StreamWriter& streamwriter) throw ();
virtual bool onYYGG(std::string& yygg) const throw ();
virtual bool onYYGG(std::string& yygg, StreamWriter& streamwriter) throw ();
virtual bool onGroup(std::string& reportGroup) const throw ();
virtual bool onGroup(std::string& reportGroup, StreamWriter& streamwriter) throw ();
virtual bool onHeadGroup(std::string& reportHeadGroup) const throw ();
virtual bool onHeadGroup(std::string& reportHeadGroup, StreamWriter& streamwriter) throw ();
virtual bool onEndGroup(std::string& reportEndGroup) const throw ();
virtual bool onEndGroup(std::string& reportEndGroup, StreamWriter& streamwriter) throw ();
virtual bool onEND(std::string& end) const throw ();
virtual bool onEND(std::string& end, StreamWriter& streamwriter) throw ();
};
};
#endif /* METCODE_FMCODEANY_H */