33#ifndef TTA_ANNOTATED_INSTRUCTION_ELEMENT_HH
34#define TTA_ANNOTATED_INSTRUCTION_ELEMENT_HH
75 typedef std::multimap<ProgramAnnotation::Id, ProgramAnnotation>
void removeAnnotations(ProgramAnnotation::Id id=ProgramAnnotation::ANN_UNDEF_ID)
void copyAnnotationsFrom(const AnnotatedInstructionElement &other)
~AnnotatedInstructionElement()
int annotationCount(ProgramAnnotation::Id id=ProgramAnnotation::ANN_UNDEF_ID) const
void setAnnotation(const ProgramAnnotation &annotation)
bool hasAnnotation(ProgramAnnotation::Id id, const TCEString &data) const
ProgramAnnotation annotation(int index, ProgramAnnotation::Id id=ProgramAnnotation::ANN_UNDEF_ID) const
AnnotationIndex annotations_
container for annotations
void addAnnotation(const ProgramAnnotation &annotation)
std::multimap< ProgramAnnotation::Id, ProgramAnnotation > AnnotationIndex
a type for the container of the annotations
bool hasAnnotations(ProgramAnnotation::Id id=ProgramAnnotation::ANN_UNDEF_ID) const
AnnotatedInstructionElement()
Id
the ID in TPEF is 24 bits, here enum
@ ANN_UNDEF_ID
an illegal annotation ID (the id is only 24 bits, this has more meaningful bits)