19 #ifndef TORC_COMMON_ANNOTATED_HPP
20 #define TORC_COMMON_ANNOTATED_HPP
22 #include <boost/unordered_map.hpp>
23 #include <boost/any.hpp>
76 #endif // TORC_COMMON_ANNOTATED_HPP
EAnnotationType
Enumeration for all types of annotations.
Annotated()
Default constructor containing no annotations.
void setAnnotation(uint32 inKey, boost::any inValue)
Set an annotation.
boost::any getAnnotation(uint32 inKey)
Get an annotation. Returns an empty annotation if the index doesn't exist.
bool hasAnnotation(uint32 inKey)
Check if an annotation exists.
void removeAnnotation(uint32 inKey)
Remove an annotation.
boost::unordered_map< boost::uint32_t, boost::any > mAnnotations
Map containing any annotations.
Concept for any object that can be annotated.