@@ -29,9 +29,21 @@ class StateParserMetsState : public StateParserMetsRootState{
29
29
};
30
30
};
31
31
32
- class StateParserRootamdSecState : public StateParserMetsRootState {
32
+ // DO NOTHING
33
+ // ##################################################
34
+
35
+ class StateDoNothingState : public StateParserMetsRootState {
33
36
public:
37
+ };
38
+
39
+ // ##################################################
40
+ // ##################################################
41
+
42
+ // AMDSEC
43
+ // ##################################################
34
44
45
+ class StateParserRootamdSecState : public StateParserMetsRootState {
46
+ public:
35
47
virtual StateParserState* getNext (const char * const name);
36
48
};
37
49
@@ -42,6 +54,8 @@ class StateParseramdSecState : public StateParserRootamdSecState{
42
54
virtual void endElement (const char * const name);
43
55
};
44
56
57
+ // ##################################################
58
+
45
59
class StateParserScanResolution : public StateParserRootamdSecState {
46
60
protected:
47
61
std::string cData;
@@ -211,6 +225,12 @@ private :
211
225
212
226
};
213
227
228
+ // ##################################################
229
+ // ##################################################
230
+
231
+ // TITLE
232
+ // ##################################################
233
+
214
234
class StateTitleState : public StateParserMetsRootState {
215
235
private :
216
236
std::string value;
@@ -229,11 +249,9 @@ private :
229
249
230
250
};
231
251
232
- class StateDoNothingState : public StateParserMetsRootState {
233
- public:
234
- };
235
252
236
- class StateParsermodStateInventory :public StateParsermodState {
253
+
254
+ class StateParsermodStateInventory :public StateParsermodState {
237
255
protected:
238
256
std::string value;
239
257
public:
@@ -463,9 +481,9 @@ class StateParserfileSec : public StateParserRootfileSec{
463
481
464
482
StateParserState* StateParserRootfileSec::getNext (const char *const name){
465
483
static std::map<string,StateParserState*> map;
466
- static StateParserState* root= this ;
484
+ static StateParserState* root = this ;
467
485
468
- StateParserState* ret= root;
486
+ StateParserState* ret = root;
469
487
470
488
static struct _onlyOnes {
471
489
_onlyOnes (std::map<string,StateParserState*>& map){
@@ -619,7 +637,7 @@ StateParserState* SateParserstructMapRoot::getNext(const char* const name){
619
637
StateParserState* StateParserMetsRootState::getNext (const char * const name){
620
638
621
639
static std::map<string,StateParserState*> map;
622
- static StateParserState* root= new StateParserMetsRootState ();
640
+ static StateParserState* root = new StateParserMetsRootState ();
623
641
624
642
StateParserState* ret=root;
625
643
0 commit comments