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)
85 bool removeKey(
const char* key);
86 std::vector<std::string> getKeys();
87 itemAttributesMap& getMap();
89 bool getFloat(
const char* key,
float& dest,
bool* state = 0);
90 bool getInt(
const char* key,
int& dest,
bool* state= 0);
91 bool getBool(
const char* key,
bool& dest,
bool* state= 0);
92 bool getString(
const char* key, std::string& dest,
bool* state= 0,
bool* subst = 0);
93 bool getTimet(
const char* key, time_t& dest,
bool* state= 0);
94 bool getLong(
const char* key,
long& dest,
bool* state= 0);
95 bool getInt64(
const char* key,
long long int& dest,
bool* state= 0);
96 std::string getString(
const char* key);
98 void setFloat(
const char* key,
float value,
bool state =
true,
bool notModified=
false);
99 void setInt(
const char* key,
int value,
bool state =
true,
bool notModified=
false);
100 void setBool(
const char* key,
bool value,
bool state =
true,
bool notModified=
false);
101 void setString(
const char* key, std::string value,
bool state =
true,
bool subst =
false,
bool notModified=
false);
102 void setTimet(
const char* key, time_t* value,
bool state =
true,
bool notModified=
false);
103 void setLong(
const char* key,
long value,
bool state =
true,
bool notModified=
false);
104 void setInt64(
const char* key,
long long int value,
bool state =
true,
bool notModified=
false);
106 bool isEnabled(
const char* key);
109 itemAttributesMap map;
MPropertiesMap::kItemModifiedStatus modified
itemAttribute structure that holds the status of an item inside the MPropertiesMap ...
Class holding a set of properties of a MJob.
struct MClientLib::itemAttribute itemAttribute
itemAttribute structure that holds the status of an item inside the MPropertiesMap ...
kItemModifiedStatus
Enumerates the modification status of an item in the properties map.
std::map< std::string, itemAttribute > itemAttributesMap