18 #ifndef _CMS_MAPMESSAGE_H_ 19 #define _CMS_MAPMESSAGE_H_ 83 virtual bool isEmpty()
const = 0;
94 virtual std::vector<std::string> getMapNames()
const = 0;
105 virtual bool itemExists(
const std::string& name)
const = 0;
120 virtual ValueType getValueType(
const std::string& key)
const = 0;
131 virtual bool getBoolean(
const std::string& name)
const = 0;
144 virtual void setBoolean(
const std::string& name,
bool value) = 0;
155 virtual unsigned char getByte(
const std::string& name)
const = 0;
168 virtual void setByte(
const std::string& name,
unsigned char value) = 0;
179 virtual std::vector<unsigned char> getBytes(
const std::string& name)
const = 0;
192 virtual void setBytes(
const std::string& name,
const std::vector<unsigned char>& value) = 0;
203 virtual char getChar(
const std::string& name)
const = 0;
216 virtual void setChar(
const std::string& name,
char value) = 0;
227 virtual double getDouble(
const std::string& name)
const = 0;
240 virtual void setDouble(
const std::string& name,
double value) = 0;
251 virtual float getFloat(
const std::string& name)
const = 0;
264 virtual void setFloat(
const std::string& name,
float value) = 0;
275 virtual int getInt(
const std::string& name)
const = 0;
288 virtual void setInt(
const std::string& name,
int value) = 0;
299 virtual long long getLong(
const std::string& name)
const = 0;
312 virtual void setLong(
const std::string& name,
long long value) = 0;
323 virtual short getShort(
const std::string& name)
const = 0;
336 virtual void setShort(
const std::string& name,
short value) = 0;
347 virtual std::string getString(
const std::string& name)
const = 0;
360 virtual void setString(
const std::string& name,
const std::string& value) = 0;
ValueType
Defines the Type Identifiers used to identify the type contained within a specific Message property o...
Definition: Message.h:112
Root of all messages.
Definition: Message.h:88
#define CMS_API
Definition: Config.h:31
A MapMessage object is used to send a set of name-value pairs.
Definition: MapMessage.h:71
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: DestinationResolver.h:23