| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #pragma once
- #ifndef CLASSFLOW_H
- #define CLASSFLOW_H
- #include <fstream>
- #include <string>
- #include <vector>
- #include "Helper.h"
- #include "CImageBasis.h"
- using namespace std;
- struct HTMLInfo
- {
- float val;
- CImageBasis *image = NULL;
- CImageBasis *image_org = NULL;
- std::string filename;
- std::string filename_org;
- };
- class ClassFlow
- {
- protected:
- std::vector<ClassFlow *> *ListFlowControll;
- ClassFlow *previousElement;
- virtual void SetInitialParameter(void);
- std::string GetParameterName(std::string _input);
- bool disabled;
- public:
- ClassFlow(void);
- ClassFlow(std::vector<ClassFlow *> *lfc);
- ClassFlow(std::vector<ClassFlow *> *lfc, ClassFlow *_prev);
- bool isNewParagraph(std::string input);
- bool GetNextParagraph(FILE *pFile, std::string &aktparamgraph);
- // bool GetNextParagraph(FILE *pFile, std::string &aktparamgraph, bool &disabled, bool &eof);
- bool getNextLine(FILE *pFile, std::string *rt);
- // bool getNextLine(FILE *pFile, std::string *rt, bool &disabled, bool &eof);
- virtual bool ReadParameter(FILE *pFile, std::string &aktparamgraph);
- virtual bool doFlow(std::string time);
- virtual std::string getHTMLSingleStep(std::string host);
- virtual std::string name() { return "ClassFlow"; };
- };
- #endif // CLASSFLOW_H
|