#include <AnnotationMap.hpp>
Represents a simple map that associates pointers with Annotations.
Definition at line 101 of file AnnotationMap.hpp.
◆ AnnotationMapType
◆ AnnotationRange
◆ AddAnnotation()
| void jlm::util::AnnotationMap::AddAnnotation |
( |
const void * |
key, |
|
|
Annotation |
annotation |
|
) |
| |
|
inline |
◆ Annotations()
Retrieves all annotations.
- Returns
- An iterator_range of all the annotations.
Definition at line 180 of file AnnotationMap.hpp.
◆ GetAnnotations()
| const std::vector<Annotation>& jlm::util::AnnotationMap::GetAnnotations |
( |
const void * |
key | ) |
const |
|
inlinenoexcept |
Retrieves the annotation for the given key. The key must exist.
- Returns
- A reference to an instance of Annotation.
Definition at line 202 of file AnnotationMap.hpp.
◆ HasAnnotations()
| bool jlm::util::AnnotationMap::HasAnnotations |
( |
const void * |
key | ) |
const |
|
inlinenoexcept |
Checks if an annotation with the given key exists.
- Returns
- True if the annotation exists, otherwise false.
Definition at line 191 of file AnnotationMap.hpp.
◆ Map_
The documentation for this class was generated from the following file: