LLVM API Documentation

Public Types | Static Public Member Functions
llvm::RegistryTraits< T > Class Template Reference

#include <Registry.h>

List of all members.

Public Types

typedef SimpleRegistryEntry< Tentry

Static Public Member Functions

static const char * nameof (const entry &Entry)
 nameof/descof - Accessors for name and description of entries. These are
static const char * descof (const entry &Entry)

Detailed Description

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

Traits for registry entries. If using other than SimpleRegistryEntry, it is necessary to define an alternate traits class.

Definition at line 44 of file Registry.h.


Member Typedef Documentation

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

Definition at line 48 of file Registry.h.


Member Function Documentation

template<typename T >
static const char* llvm::RegistryTraits< T >::descof ( const entry Entry) [inline, static]

Definition at line 53 of file Registry.h.

References llvm::SimpleRegistryEntry< T >::getDesc().

template<typename T >
static const char* llvm::RegistryTraits< T >::nameof ( const entry Entry) [inline, static]

nameof/descof - Accessors for name and description of entries. These are

Definition at line 52 of file Registry.h.

References llvm::SimpleRegistryEntry< T >::getName().


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