LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::AnnotationManager Struct Reference

#include <Annotation.h>

List of all members.

Public Types

typedef Annotation *(* Factory )(AnnotationID, const Annotable *, void *)

Static Public Member Functions

static AnnotationID getID (const std::string &Name)
static const std::string & getName (AnnotationID ID)
static AnnotationID getID (const std::string &Name, Factory Fact, void *Data=0)
static void registerAnnotationFactory (AnnotationID ID, Factory Func, void *ExtraData=0)
static AnnotationcreateAnnotation (AnnotationID ID, const Annotable *Obj)


Detailed Description

Definition at line 168 of file Annotation.h.


Member Typedef Documentation

typedef Annotation*(* llvm::AnnotationManager::Factory)(AnnotationID, const Annotable *, void *)
 

Definition at line 169 of file Annotation.h.


Member Function Documentation

Annotation * AnnotationManager::createAnnotation AnnotationID  ID,
const Annotable Obj
[static]
 

Definition at line 99 of file Annotation.cpp.

References getFactMap(), I, and llvm::AnnotationID::ID.

Referenced by llvm::Annotable::getOrCreateAnnotation().

AnnotationID AnnotationManager::getID const std::string &  Name,
Factory  Fact,
void *  Data = 0
[static]
 

Definition at line 66 of file Annotation.cpp.

References getID(), and registerAnnotationFactory().

AnnotationID AnnotationManager::getID const std::string &  Name  )  [static]
 

Definition at line 55 of file Annotation.cpp.

References getIDMap(), I, and IDCounter.

Referenced by getID().

const std::string & AnnotationManager::getName AnnotationID  ID  )  [static]
 

Definition at line 76 of file Annotation.cpp.

References getIDMap(), I, and llvm::AnnotationID::ID.

static void llvm::AnnotationManager::registerAnnotationFactory AnnotationID  ID,
Factory  Func,
void *  ExtraData = 0
[static]
 

Referenced by getID().


The documentation for this struct was generated from the following files: