SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEFramework
SEFramework
Source
SimpleSourceFactory.h
Go to the documentation of this file.
1
17
/*
18
* SimpleSourceFactory.h
19
*
20
* Created on: Aug 9, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_
25
#define _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_
26
27
#include "
SEFramework/Source/SourceFactory.h
"
28
#include "
SEFramework/Source/SimpleSource.h
"
29
#include <
AlexandriaKernel/memory_tools.h
>
30
31
namespace
SourceXtractor {
32
38
class
SimpleSourceFactory
:
public
SourceFactory
{
39
40
public
:
41
42
SimpleSourceFactory
() {}
43
44
std::unique_ptr<SourceInterface>
createSource
()
const override
{
45
return
Euclid::make_unique<SimpleSource>();
46
}
47
};
48
49
}
50
51
#endif
/* _SEFRAMEWORK_SOURCE_SIMPLESOURCEFACTORY_H_ */
SourceXtractor::SimpleSourceFactory::createSource
std::unique_ptr< SourceInterface > createSource() const override
Definition:
SimpleSourceFactory.h:44
SourceXtractor::SourceFactory
A factory interface to create SourceInterface instances.
Definition:
SourceFactory.h:39
SourceXtractor::SimpleSourceFactory
A SourceFactory implementation that produces a SimpleSource.
Definition:
SimpleSourceFactory.h:38
SimpleSource.h
memory_tools.h
SourceXtractor::SimpleSourceFactory::SimpleSourceFactory
SimpleSourceFactory()
Definition:
SimpleSourceFactory.h:42
std::unique_ptr
STL class.
SourceFactory.h
Generated by
1.8.5