LLVM API Documentation

Public Member Functions
llvm::SimpleRegistryEntry< T > Class Template Reference

#include <Registry.h>

List of all members.

Public Member Functions

 SimpleRegistryEntry (const char *N, const char *D, std::unique_ptr< T >(*C)())
const char * getName () const
const char * getDesc () const
std::unique_ptr< 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 26 of file Registry.h.


Constructor & Destructor Documentation

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

Definition at line 31 of file Registry.h.


Member Function Documentation

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

Definition at line 36 of file Registry.h.

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

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

Definition at line 35 of file Registry.h.

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

template<typename T >
std::unique_ptr<T> llvm::SimpleRegistryEntry< T >::instantiate ( ) const [inline]

Definition at line 37 of file Registry.h.


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