#include <Annotatable.h>
Public Member Functions | |
| COMMON_EXPORT AnnotationClassID | getID () |
| COMMON_EXPORT std::string & | getName () |
| COMMON_EXPORT anno_cmp_func_t | getCmpFunc () |
| COMMON_EXPORT ser_func_t | getSerializeFunc () |
| virtual COMMON_EXPORT const char * | getTypeName ()=0 |
| virtual COMMON_EXPORT void * | allocate ()=0 |
Static Public Member Functions | |
| static COMMON_EXPORT AnnotationClassBase * | findAnnotationClass (unsigned int id) |
| static COMMON_EXPORT void | dumpAnnotationClasses () |
Protected Member Functions | |
| COMMON_EXPORT | AnnotationClassBase (std::string n, anno_cmp_func_t cmp_func_=NULL, ser_func_t sf_=NULL) |
| virtual COMMON_EXPORT | ~AnnotationClassBase () |
Protected Attributes | |
| ser_func_t | serialize_func |
Private Attributes | |
| anno_cmp_func_t | cmp_func |
| AnnotationClassID | id |
| std::string | name |
Static Private Attributes | |
| static std::vector < AnnotationClassBase * > * | annotation_types = NULL |
| static dyn_hash_map < std::string, AnnotationClassID > * | annotation_ids_by_name = NULL |
Friends | |
| class | Serializable |
Definition at line 71 of file Annotatable.h.
| AnnotationClassBase::AnnotationClassBase | ( | std::string | n, | |
| anno_cmp_func_t | cmp_func_ = NULL, |
|||
| ser_func_t | sf_ = NULL | |||
| ) | [protected] |
Definition at line 123 of file Annotatable.C.
References Dyninst::annotatable_printf(), annotation_ids_by_name, annotation_types, Dyninst::annotations_debug_init(), cmp_func, FILE__, id, name, and Dyninst::void_ptr_cmp_func().
| AnnotationClassBase::~AnnotationClassBase | ( | ) | [protected, virtual] |
Definition at line 166 of file Annotatable.C.
References Dyninst::annotatable_printf(), annotation_ids_by_name, annotation_types, FILE__, and name.
| virtual COMMON_EXPORT void* Dyninst::AnnotationClassBase::allocate | ( | ) | [pure virtual] |
Implemented in Dyninst::AnnotationClass< T >.
| void AnnotationClassBase::dumpAnnotationClasses | ( | ) | [static] |
Definition at line 227 of file Annotatable.C.
References annotation_types, FILE__, fprintf, getID(), getName(), and getTypeName().
| Dyninst::AnnotationClassBase * AnnotationClassBase::findAnnotationClass | ( | unsigned int | id | ) | [static] |
Definition at line 209 of file Annotatable.C.
References annotation_types, FILE__, fprintf, and getID().
Referenced by Dyninst::AnnotatableSparse::addAnnotation(), Dyninst::AnnotatableDense::addAnnotation(), Dyninst::AnnotatableSparse::annotationsReport(), Dyninst::AnnotatableDense::annotationsReport(), Dyninst::AnnotatableSparse::operator==(), Dyninst::AnnotatableSparse::serializeAnnotations(), Dyninst::AnnotatableDense::serializeAnnotations(), and Dyninst::AnnotatableSparse::~AnnotatableSparse().
| COMMON_EXPORT anno_cmp_func_t Dyninst::AnnotationClassBase::getCmpFunc | ( | ) | [inline] |
Definition at line 101 of file Annotatable.h.
References cmp_func.
Referenced by Dyninst::AnnotatableSparse::operator==().
| COMMON_EXPORT AnnotationClassID Dyninst::AnnotationClassBase::getID | ( | ) | [inline] |
Definition at line 99 of file Annotatable.h.
References id.
Referenced by Dyninst::AnnotatableSparse::addAnnotation(), Dyninst::AnnotatableDense::addAnnotation(), dumpAnnotationClasses(), findAnnotationClass(), Dyninst::AnnotatableSparse::getAnnosOfType(), Dyninst::AnnotatableDense::getAnnotation(), Dyninst::AnnotatableSparse::removeAnnotation(), and Dyninst::AnnotatableDense::removeAnnotation().
| COMMON_EXPORT std::string& Dyninst::AnnotationClassBase::getName | ( | ) | [inline] |
Definition at line 100 of file Annotatable.h.
References name.
Referenced by Dyninst::AnnotatableSparse::addAnnotation(), Dyninst::AnnotatableDense::addAnnotation(), dumpAnnotationClasses(), Dyninst::AnnotatableSparse::removeAnnotation(), and Dyninst::AnnotatableDense::removeAnnotation().
| COMMON_EXPORT ser_func_t Dyninst::AnnotationClassBase::getSerializeFunc | ( | ) | [inline] |
Definition at line 102 of file Annotatable.h.
References serialize_func.
Referenced by Dyninst::AnnotatableSparse::addAnnotation(), Dyninst::AnnotatableDense::addAnnotation(), Dyninst::AnnotatableSparse::serializeAnnotations(), and Dyninst::AnnotatableDense::serializeAnnotations().
| virtual COMMON_EXPORT const char* Dyninst::AnnotationClassBase::getTypeName | ( | ) | [pure virtual] |
Implemented in Dyninst::AnnotationClass< T >.
Referenced by dumpAnnotationClasses().
friend class Serializable [friend] |
Definition at line 73 of file Annotatable.h.
dyn_hash_map< std::string, AnnotationClassID > * AnnotationClassBase::annotation_ids_by_name = NULL [static, private] |
Definition at line 76 of file Annotatable.h.
Referenced by AnnotationClassBase(), and ~AnnotationClassBase().
std::vector< AnnotationClassBase * > * AnnotationClassBase::annotation_types = NULL [static, private] |
Definition at line 75 of file Annotatable.h.
Referenced by AnnotationClassBase(), dumpAnnotationClasses(), findAnnotationClass(), and ~AnnotationClassBase().
Definition at line 80 of file Annotatable.h.
Referenced by AnnotationClassBase(), and getCmpFunc().
Definition at line 81 of file Annotatable.h.
Referenced by AnnotationClassBase(), and getID().
std::string Dyninst::AnnotationClassBase::name [private] |
Definition at line 82 of file Annotatable.h.
Referenced by AnnotationClassBase(), getName(), Dyninst::AnnotationClass< T >::getTypeName(), and ~AnnotationClassBase().
Definition at line 86 of file Annotatable.h.
Referenced by Dyninst::AnnotationClass< T >::AnnotationClass(), and getSerializeFunc().
1.6.1