Class Metadata
Defined in File metadata.h
Class Documentation
-
class Metadata
Represents metadata attached to a message.
Usage: m = Metadata().append(“x”, 24).append(“name”, “foo”);
Public Types
Public Functions
-
inline virtual ~Metadata()
-
virtual void append(const std::string &name, const std::string &val) = 0
-
inline void append(const std::string &name, const char *val)
-
virtual void append(const std::string &name, const double val) = 0
-
virtual void append(const std::string &name, const int val) = 0
-
virtual void append(const std::string &name, const bool val) = 0
-
virtual std::string lookupString(const std::string &name) const = 0
-
virtual double lookupDouble(const std::string &name) const = 0
-
virtual int lookupInt(const std::string &name) const = 0
-
virtual bool lookupBool(const std::string &name) const = 0
-
virtual bool lookupField(const std::string &name) const = 0
-
virtual std::set<std::string> lookupFieldNames() const = 0
-
inline virtual ~Metadata()