18 #include "scanner/api/enumerator.h" 19 #include "scanner/util/common.h" 32 const std::string& protobuf_name,
33 EnumeratorConstructor constructor)
34 : name_(enumerator_name),
35 protobuf_name_(protobuf_name),
36 constructor_(constructor) {}
38 const std::string& get_name()
const {
return name_; }
40 const std::string& protobuf_name()
const {
return protobuf_name_; }
45 return constructor_(config);
50 std::string protobuf_name_;
51 EnumeratorConstructor constructor_;
Interface for enumerating available data from a data source.
Definition: enumerator.h:42
Parameters provided at instantiation of an enumerator.
Definition: enumerator.h:29
Interface for constructing enumerators at runtime.
Definition: enumerator_factory.h:29
Definition: database.cpp:36