MessageTag.h 486 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#pragma once

#include <string>


class MessageTag {
public:
    MessageTag();
    MessageTag(const std::string &topic, const std::string &messageType);

    const std::string &topic() const;
    const std::string &messageType() const;

    std::string &topic();
    std::string &messageType();

    void setTopic(const std::string &topic);
    void setMessageType(const std::string &messageType);

private:
   std::string _topic;
   std::string _messagType;
};
typedef MessageTag Tag;