|
torc-master
|
Concept for any object that can be annotated. More...
#include <Annotated.hpp>
Inheritance diagram for torc::common::Annotated:Public Types | |
| enum | EAnnotationType { ePlacerInstanceTypeIndex, ePlacerInstanceSitePtr, ePlacerInstanceDependentInstanceAbove, ePlacerInstanceDependsOnInstanceBelow, eRouterNetTilewireSources, eRouterNetTilewireSinks, eRouterNetArcList, eRouterNetRouteNodePtrVector, eRouterNetRouteTime, eRouterNetArcVector, eAnnotationGlobalRouter, eAnnotationCount } |
| Enumeration for all types of annotations. More... | |
Public Member Functions | |
| Annotated () | |
| Default constructor containing no annotations. More... | |
| ~Annotated () | |
| Destructor. More... | |
| boost::any | getAnnotation (uint32 inKey) |
| Get an annotation. Returns an empty annotation if the index doesn't exist. More... | |
| void | setAnnotation (uint32 inKey, boost::any inValue) |
| Set an annotation. More... | |
| void | removeAnnotation (uint32 inKey) |
| Remove an annotation. More... | |
| bool | hasAnnotation (uint32 inKey) |
| Check if an annotation exists. More... | |
Protected Attributes | |
| boost::unordered_map < boost::uint32_t, boost::any > | mAnnotations |
| Map containing any annotations. More... | |
Private Types | |
| typedef boost::uint32_t | uint32 |
Concept for any object that can be annotated.
Definition at line 29 of file Annotated.hpp.
|
private |
Definition at line 30 of file Annotated.hpp.
Enumeration for all types of annotations.
Definition at line 57 of file Annotated.hpp.
|
inline |
|
inline |
|
inline |
Get an annotation. Returns an empty annotation if the index doesn't exist.
Definition at line 45 of file Annotated.hpp.
Here is the caller graph for this function:
|
inline |
Check if an annotation exists.
Definition at line 51 of file Annotated.hpp.
Here is the caller graph for this function:
|
inline |
Remove an annotation.
Definition at line 49 of file Annotated.hpp.
Here is the caller graph for this function:
|
inline |
Set an annotation.
Definition at line 47 of file Annotated.hpp.
Here is the caller graph for this function:
|
protected |
Map containing any annotations.
Definition at line 34 of file Annotated.hpp.