ROSE 0.11.145.192
Classes | Public Types | Static Public Member Functions | List of all members
Rose::Registry< T, U > Class Template Reference

Description

template<typename T, typename U = RegistryTraits<T>>
class Rose::Registry< T, U >

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 165 of file plugin.h.

#include <midend/astProcessing/plugin.h>

Classes

class  Add
 A static registration template. More...
 
class  iterator
 Iterators for registry entries. More...
 
class  listener
 Abstract base class for registry listeners, which are informed when new entries are added to the registry. More...
 
class  node
 Node in linked list of entries. More...
 

Public Types

typedef U traits
 
typedef U::entry entry
 

Static Public Member Functions

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

Member Typedef Documentation

◆ traits

template<typename T , typename U = RegistryTraits<T>>
typedef U Rose::Registry< T, U >::traits

Definition at line 167 of file plugin.h.

◆ entry

template<typename T , typename U = RegistryTraits<T>>
typedef U::entry Rose::Registry< T, U >::entry

Definition at line 168 of file plugin.h.

Member Function Documentation

◆ begin()

template<typename T , typename U = RegistryTraits<T>>
static iterator Rose::Registry< T, U >::begin ( )
inlinestatic

Definition at line 225 of file plugin.h.

◆ end()

template<typename T , typename U = RegistryTraits<T>>
static iterator Rose::Registry< T, U >::end ( )
inlinestatic

Definition at line 226 of file plugin.h.

◆ entries()

template<typename T , typename U = RegistryTraits<T>>
static iterator_range< iterator > Rose::Registry< T, U >::entries ( )
inlinestatic

Definition at line 228 of file plugin.h.


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