Go to the documentation of this file.
72 Id id,
const std::vector<Byte>& payload) :
73 id_(id), payload_(payload) {
102 payload_ = std::vector<Byte>(data.begin(), data.end());
120 const std::vector<Byte>&
std::string stringValue() const
static const size_t MAX_ANNOTATION_BYTES
Maximum number of bytes that annotation may contain.
static std::string toString(const T &source)
Id
the ID in TPEF is 24 bits, here enum
#define assert(condition)
ProgramAnnotation::Id id() const
void setIntValue(int value)
std::vector< Byte > payload_
the payload data
void setStringValue(const std::string &data)
ProgramAnnotation(Id id, int value)
static int toInt(const T &source)
const std::vector< Byte > & payload() const