20 #ifndef __stir_RegisteredObject_H__ 21 #define __stir_RegisteredObject_H__ 94 template <
typename Root>
107 inline static Root* read_registered_object(std::istream* in,
const std::string& registered_name);
116 inline static Root* ask_type_and_parameters();
120 inline static void list_registered_names(std::ostream& stream);
124 typedef Root* (*RootFactory)(std::istream*);
133 inline static RegistryType& registry();
Declaration of class stir::FactoryRegistry.
Inline implementations for class stir::RegisteredObject.
This class can be used to store 'factories' and their corresponding keys. It is essentially a map...
Definition: FactoryRegistry.h:52
FactoryRegistry< std::string, RootFactory, interfile_less > RegistryType
The type of the registry.
Definition: RegisteredObject.h:126
Helper class to provide registry mechanisms to a Base classSuppose you have a hierarchy of classes wi...
Definition: RegisteredObject.h:95
Base class for all classes that can parse .par files (and more?)The only reason that this class exist...
Definition: RegisteredObjectBase.h:40
Functions useful for manipulating Interfile keywords.
Declaration of class stir::RegisteredObjectBase.