LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::SimpleRegistryEntry< T > Class Template Reference

#include <Registry.h>

Public Member Functions

 SimpleRegistryEntry (const char *N, const char *D, T *(*C)())
 
const char * getName () const
 
const char * getDesc () const
 
Tinstantiate () const
 

Detailed Description

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

A simple registry entry which provides only a name, description, and no-argument constructor.

Definition at line 23 of file Registry.h.

Constructor & Destructor Documentation

template<typename T >
llvm::SimpleRegistryEntry< T >::SimpleRegistryEntry ( const char *  N,
const char *  D,
T *(*)()  C 
)
inline

Definition at line 28 of file Registry.h.

Member Function Documentation

template<typename T >
const char* llvm::SimpleRegistryEntry< T >::getDesc ( ) const
inline

Definition at line 33 of file Registry.h.

Referenced by llvm::RegistryTraits< T >::descof().

template<typename T >
const char* llvm::SimpleRegistryEntry< T >::getName ( ) const
inline

Definition at line 32 of file Registry.h.

Referenced by llvm::RegistryTraits< T >::nameof().

template<typename T >
T* llvm::SimpleRegistryEntry< T >::instantiate ( ) const
inline

Definition at line 34 of file Registry.h.


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