LLVM  mainline
Classes | Public Types | Static Public Member Functions | Friends
llvm::Registry< T > Class Template Reference

A global registry used in conjunction with static constructors to make pluggable components (like targets or garbage collectors) "just work" when linked with an executable. More...

#include <Registry.h>

List of all members.

Classes

class  Add
 A static registration template. More...
class  iterator
 Iterators for registry entries. More...
class  node
 Node in linked list of entries. More...

Public Types

typedef SimpleRegistryEntry< Tentry

Static Public Member Functions

static iterator begin ()
static iterator end ()
static iterator_range< iteratorentries ()

Friends

class node

Detailed Description

template<typename T>
class llvm::Registry< T >

A global registry used in conjunction with static constructors to make pluggable components (like targets or garbage collectors) "just work" when linked with an executable.

Definition at line 44 of file Registry.h.


Member Typedef Documentation

template<typename T >
typedef SimpleRegistryEntry<T> llvm::Registry< T >::entry

Definition at line 46 of file Registry.h.


Member Function Documentation

template<typename T >
static iterator llvm::Registry< T >::begin ( ) [inline, static]

Definition at line 91 of file Registry.h.

Referenced by llvm::Registry< T >::entries(), and llvm::GCModuleInfo::getGCStrategy().

template<typename T >
static iterator llvm::Registry< T >::end ( ) [inline, static]

Definition at line 92 of file Registry.h.

Referenced by llvm::Registry< T >::entries(), and llvm::GCModuleInfo::getGCStrategy().

template<typename T >
static iterator_range<iterator> llvm::Registry< T >::entries ( ) [inline, static]

Friends And Related Function Documentation

template<typename T >
friend class node [friend]

Definition at line 54 of file Registry.h.


The documentation for this class was generated from the following file: