#pragma once #include #pragma warning (disable:4251) #ifdef DIOSDEVCollimatorDEVICEMOULD_EXPORTS #define _DIOSDEVCOLLIMATORDEVICEMOULD_API __declspec(dllexport) #else #define _DIOSDEVCOLLIMATORDEVICEMOULD_API __declspec(dllimport) #endif namespace DIOS::Dev::Detail::Collimator { class _DIOSDEVCOLLIMATORDEVICEMOULD_API ConfigInfo { public: ConfigInfo (const char* Key, const char* strType, const char* strAccess, const char* strRequired, const char* strDefaultValue); virtual ~ConfigInfo (); void SetList (const char* str); void SetRange (const char* strmin, const char* strmax); const char* GetCurrentValue (); void SetCurrentValue (const char* res); const char* GetDescription (); const char* GetKey (); private: std::string strConfKey; std::string resValue; std::string resDescription; }; }