10 #ifndef _STRUS_ANALYZER_SEGMENTER_OPTIONS_HPP_INCLUDED
11 #define _STRUS_ANALYZER_SEGMENTER_OPTIONS_HPP_INCLUDED
32 #if __cplusplus >= 201103L
43 typedef std::pair<std::string,std::string>
Item;
51 m_optar.push_back(
Item( name, value));
57 const std::vector<Item>&
items()
const
63 std::vector<Item> m_optar;
SegmenterOptions()
Default constructor.
Definition: segmenterOptions.hpp:29
Options to stear the segmenter behaviour or the structure of input if not self defined in the documen...
Definition: segmenterOptions.hpp:25
std::pair< std::string, std::string > Item
One option item. Interpretation depends on the segmenter implementation.
Definition: segmenterOptions.hpp:43
SegmenterOptions & operator()(const std::string &name, const std::string &value)
Define a new option.
Definition: segmenterOptions.hpp:49
SegmenterOptions(const SegmenterOptions &o)
Copy constructor.
Definition: segmenterOptions.hpp:38
const std::vector< Item > & items() const
Get the list of all declared option items.
Definition: segmenterOptions.hpp:57