18 #ifndef MTEMPLATEVARIABLE_H
19 #define MTEMPLATEVARIABLE_H
24 #ifdef MCLIENTLIB_EXPORTS
25 #define MCLIENTLIB_API __declspec(dllexport)
27 #define MCLIENTLIB_API __declspec(dllimport)
31 #ifndef MCLIENTLIB_EXPORTS
33 #define MCLIENTLIB_API
35 #define MCLIENTLIB_API
38 #define MCLIENTLIB_API
43 #pragma warning(disable: 4251)
70 MTemplateVariable(
int _templateId,
const std::string& version,
const std::string& key,
const std::string& value);
73 std::string getVersion();
75 std::string getValue();
77 void setTemplateId(
int);
78 void setVersion(
const std::string&);
79 void setKey(
const std::string&);
80 void setValue(
const std::string&);
82 static std::vector<MTemplateVariable> Unmarshall(
const std::string&);
83 static std::string Marshall(
const std::vector<MTemplateVariable>& list);
Class holding an entry of a template variable.