#pragma once #ifndef CLASSFLOW_H #define CLASSFLOW_H #include #include #include #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 *ListFlowControll; ClassFlow *previousElement; virtual void SetInitialParameter(void); std::string GetParameterName(std::string _input); bool disabled; public: ClassFlow(void); ClassFlow(std::vector *lfc); ClassFlow(std::vector *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