retdec
var_name_gen_factory.h
Go to the documentation of this file.
1 
9 #ifndef RETDEC_LLVMIR2HLL_VAR_NAME_GEN_VAR_NAME_GEN_FACTORY_H
10 #define RETDEC_LLVMIR2HLL_VAR_NAME_GEN_VAR_NAME_GEN_FACTORY_H
11 
12 #include <string>
13 
18 
19 namespace retdec {
20 namespace llvmir2hll {
21 
26  Factory<
27  // Type of the base class.
28  VarNameGen,
29  // Type of the object's identifier.
30  std::string,
31  // Type of a function used to create instances.
32  UPtr<VarNameGen> (*)(std::string)
33  >
34 >;
35 
36 } // namespace llvmir2hll
37 } // namespace retdec
38 
39 #endif
Implementation of a generic object factory.
Definition: factory.h:124
Implementation of the Singleton design pattern.
Definition: singleton.h:34
A base class for all generators of variable names.
Definition: var_name_gen.h:26
Implementation of the Object Factory design pattern.
A library providing API for working with back-end IR.
std::unique_ptr< T > UPtr
An alias for a unique pointer.
Definition: smart_ptr.h:26
Definition: archive_wrapper.h:19
Implementation of the Singleton design pattern.
Declarations, aliases, macros, etc. for the use of smart pointers.
A base class for all generators of variable names.