logplus/Workflow/WFEngine/WorkflowEngine/include/IOChecker.h

48 lines
1.2 KiB
C
Raw Normal View History

2026-01-16 17:18:41 +08:00
/**
* @file IOChecker.h
* @brief /
* 1.
* 2.
*
* @author
* @date 2011-10-20
*/
#ifndef PAI_FRAME_WORKFLOWENGINE_IOCHECKER_H
#define PAI_FRAME_WORKFLOWENGINE_IOCHECKER_H
#include "WorkFlowFile.h"
#include "WorkflowChecker.h"
#include <string>
#include <vector>
namespace pai {
namespace workflow {
class PAI_WORKFLOWENGINE_EXPORT CIOChecker:public CWorkflowChecker{
public:
CIOChecker();
virtual ~CIOChecker();
protected:
/**
* @brief
* @param [in] workflow
* @param [out] strErrorMsg false
*/
virtual bool StepCheck(CWorkFlowFile* workflow,std::string& strErrorMsg);
private:
CCompositeParameterItem* CastCompositeParameterItem(CParameterItem*);
/**
* @brief IOModule中抽取
* @param [in] ioModuleInfo
* @param [in/out] fileVct
*/
void ExtractIOModuleFilePaths(CModuleInformation* ioModuleInfo,std::vector<std::string>& fileVct);
};
}
}
#endif