retdec
semantics_factory.h
Go to the documentation of this file.
1 
9 #ifndef RETDEC_LLVMIR2HLL_SEMANTICS_SEMANTICS_FACTORY_H
10 #define RETDEC_LLVMIR2HLL_SEMANTICS_SEMANTICS_FACTORY_H
11 
16 
17 namespace retdec {
18 namespace llvmir2hll {
19 
24  Factory<
25  // Type of the base class.
26  Semantics,
27  // Type of the object's identifier.
28  std::string,
29  // Type of a function used to create instances.
30  ShPtr<Semantics> (*)()
31  >
32 >;
33 
34 } // namespace llvmir2hll
35 } // namespace retdec
36 
37 #endif
Implementation of a generic object factory.
Definition: factory.h:124
A base class for all descriptions of function semantics.
Definition: semantics.h:33
Implementation of the Singleton design pattern.
Definition: singleton.h:34
Implementation of the Object Factory design pattern.
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
Definition: archive_wrapper.h:19
A base class for all descriptions of function semantics.
Implementation of the Singleton design pattern.
Declarations, aliases, macros, etc. for the use of smart pointers.