retdec
Namespaces | Typedefs
cg_writer_factory.h File Reference

Factory that creates instances of classes derived from CGWriter. More...

#include <ostream>
#include <string>
#include "retdec/llvmir2hll/support/factory.h"
#include "retdec/llvmir2hll/support/singleton.h"
#include "retdec/llvmir2hll/support/smart_ptr.h"

Go to the source code of this file.

Namespaces

 retdec
 
 retdec::llvmir2hll
 

Typedefs

using retdec::llvmir2hll::CGWriterFactory = Singleton< Factory< CGWriter, std::string, ShPtr< CGWriter >(*)(ShPtr< CG >, std::ostream &) > >
 Factory that creates instances of classes derived from CGWriter. More...
 

Detailed Description

Factory that creates instances of classes derived from CGWriter.

The implementation is using the Object factory and Singleton design patterns.