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

79 lines
1.7 KiB
C
Raw Normal View History

2026-01-16 17:18:41 +08:00
/**
* @file ModuleParameterValue.h
* @brief
*
* @author
* @date 2011-7-29
*/
#ifndef PAI_FRAME_WORKFLOWENGINE_MODULEPARAMETERVALUE_H
#define PAI_FRAME_WORKFLOWENGINE_MODULEPARAMETERVALUE_H
#include <iostream>
#include <string>
namespace pai {
namespace workflow {
/**
* @brief
*
*/
class CModuleParameterValue {
private:
/*
*
*
* */
std::string m_strName;
/*
* "int", "float", "double", "string"
*
* */
std::string m_strType;
/*
* (使m_strDefault)
*
* */
std::string m_strValue;
/*
*
*
* */
std::string m_strDefault;
//参数最大值
std::string m_strMax;
//参数最小值
std::string m_strMin;
public:
std::string GetName() const { return this->m_strName;}
void SetName(const std::string& strName ) { this->m_strName = strName; }
std::string GetType() const { return this->m_strType;}
void SetType(const std::string& strType ) { this->m_strType = strType; }
std::string GetValue() const { return this->m_strValue;}
void SetValue(const std::string& strValue ) { this->m_strValue = strValue; }
std::string GetDefault() const { return this->m_strDefault;}
void SetDefault(const std::string& strDefault ) { this->m_strDefault = strDefault; }
std::string GetMax() const { return this->m_strMax;}
void SetMax(const std::string& strMax ) { this->m_strMax = strMax; }
std::string GetMin() const { return this->m_strMin;}
void SetMin(const std::string& strMin ) { this->m_strMin = strMin; }
void Print();
public:
CModuleParameterValue();
virtual ~CModuleParameterValue();
};
}
}
#endif