Dyninst::AnnotatableDense Class Reference

#include <Annotatable.h>

Data Structures

struct  aInfo

Public Member Functions

 AnnotatableDense ()
 ~AnnotatableDense ()
template<class T >
bool addAnnotation (const T *a, AnnotationClass< T > &a_id)
template<class T >
bool getAnnotation (T *&a, AnnotationClass< T > &a_id) const
template<class T >
bool removeAnnotation (AnnotationClass< T > &a_id)
void serializeAnnotations (SerializerBase *sb, const char *tag)
void annotationsReport ()

Private Types

typedef void * anno_list_t
typedef anno_list_t anno_map_t

Private Member Functions

bool addAnnotation (const void *a, AnnotationClassID id)

Private Attributes

aInfoannotations

Friends

class SerializerBase
class Serializable
COMMON_EXPORT bool add_annotations (SerializerBase *, AnnotatableDense *, std::vector< ser_rec_t > &)

Detailed Description

Definition at line 189 of file Annotatable.h.


Member Typedef Documentation

typedef void* Dyninst::AnnotatableDense::anno_list_t [private]

Definition at line 194 of file Annotatable.h.

Inheriting from this class adds a pointer to each object. Multiple types of annotations are stored under this pointer in a annotation_type -> anno_list_t map.

Definition at line 204 of file Annotatable.h.


Constructor & Destructor Documentation

Dyninst::AnnotatableDense::AnnotatableDense (  )  [inline]

Definition at line 261 of file Annotatable.h.

Dyninst::AnnotatableDense::~AnnotatableDense (  )  [inline]

Definition at line 265 of file Annotatable.h.


Member Function Documentation

template<class T >
bool Dyninst::AnnotatableDense::addAnnotation ( const T *  a,
AnnotationClass< T > &  a_id 
) [inline]
bool Dyninst::AnnotatableDense::addAnnotation ( const void *  a,
AnnotationClassID  id 
) [inline, private]
void Dyninst::AnnotatableDense::annotationsReport (  )  [inline]
template<class T >
bool Dyninst::AnnotatableDense::getAnnotation ( T *&  a,
AnnotationClass< T > &  a_id 
) const [inline]

Definition at line 328 of file Annotatable.h.

References Dyninst::AnnotationClassBase::getID().

template<class T >
bool Dyninst::AnnotatableDense::removeAnnotation ( AnnotationClass< T > &  a_id  )  [inline]
void Dyninst::AnnotatableDense::serializeAnnotations ( SerializerBase sb,
const char *  tag 
) [inline]

Friends And Related Function Documentation

COMMON_EXPORT bool add_annotations ( SerializerBase ,
AnnotatableDense ,
std::vector< ser_rec_t > &   
) [friend]
friend class Serializable [friend]

Definition at line 193 of file Annotatable.h.

friend class SerializerBase [friend]

Definition at line 192 of file Annotatable.h.


Field Documentation

Definition at line 212 of file Annotatable.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1