11 #ifndef _STRUS_ANALYZER_CONTENT_STATISTICS_VIEW_HPP_INCLUDED
12 #define _STRUS_ANALYZER_CONTENT_STATISTICS_VIEW_HPP_INCLUDED
30 :m_elements(o.m_elements),m_attributes(o.m_attributes),m_expressions(o.m_expressions){}
34 ContentStatisticsView(
const std::vector<ContentStatisticsElementView>& elements_,
const std::vector<std::string>& attributes_,
const std::vector<std::string>& expressions_)
35 :m_elements(elements_),m_attributes(attributes_),m_expressions(expressions_){}
38 const std::vector<ContentStatisticsElementView>&
elements()
const {
return m_elements;}
40 const std::vector<std::string>&
attributes()
const {
return m_attributes;}
42 const std::vector<std::string>&
expressions()
const {
return m_expressions;}
45 std::vector<ContentStatisticsElementView> m_elements;
46 std::vector<std::string> m_attributes;
47 std::vector<std::string> m_expressions;
ContentStatisticsView()
Default constructor.
Definition: contentStatisticsView.hpp:26
Structure describing the internal representation of a content statistics library. ...
Definition: contentStatisticsView.hpp:22
ContentStatisticsView(const std::vector< ContentStatisticsElementView > &elements_, const std::vector< std::string > &attributes_, const std::vector< std::string > &expressions_)
Constructor.
Definition: contentStatisticsView.hpp:34
ContentStatisticsView(const ContentStatisticsView &o)
Copy constructor.
Definition: contentStatisticsView.hpp:29
const std::vector< ContentStatisticsElementView > & elements() const
Get the list of elements.
Definition: contentStatisticsView.hpp:38
const std::vector< std::string > & expressions() const
Get the list of expressions.
Definition: contentStatisticsView.hpp:42
const std::vector< std::string > & attributes() const
Get the list of visible attributes.
Definition: contentStatisticsView.hpp:40
Structures describing the internal representation of a feature in a document analyzer.