retdec
pattern_matches_plain_getter.h
Go to the documentation of this file.
1 
7 #ifndef FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_DISTRIBUTION_GETTER_PATTERN_MATCHES_PLAIN_GETTER_H
8 #define FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_DISTRIBUTION_GETTER_PATTERN_MATCHES_PLAIN_GETTER_H
9 
11 
12 namespace retdec {
13 namespace fileinfo {
14 
19 {
20  private:
21  const std::vector<PatternMatch> &matches;
22  protected:
23  virtual bool loadRecord(std::size_t structIndex, std::size_t recIndex, std::vector<std::string> &record) override;
24  public:
25  PatternMatchesPlainGetter(FileInformation &fileInfo, const std::vector<PatternMatch> &pMatches);
26 
27  virtual std::size_t getBasicInfo(std::size_t structIndex, std::vector<std::string> &desc, std::vector<std::string> &info) const override;
28  virtual bool getFlagDescriptors(std::size_t structIndex, std::vector<std::string> &desc, std::vector<std::string> &abbv) const override;
29 };
30 
31 } // namespace fileinfo
32 } // namespace retdec
33 
34 #endif
Definition: file_information.h:25
Definition: iterative_distribution_getter.h:22
Definition: pattern_matches_plain_getter.h:19
virtual bool loadRecord(std::size_t structIndex, std::size_t recIndex, std::vector< std::string > &record) override
Definition: pattern_matches_plain_getter.cpp:53
const std::vector< PatternMatch > & matches
detected pattern matches
Definition: pattern_matches_plain_getter.h:21
virtual std::size_t getBasicInfo(std::size_t structIndex, std::vector< std::string > &desc, std::vector< std::string > &info) const override
Definition: pattern_matches_plain_getter.cpp:46
virtual bool getFlagDescriptors(std::size_t structIndex, std::vector< std::string > &desc, std::vector< std::string > &abbv) const override
Definition: pattern_matches_plain_getter.cpp:73
PatternMatchesPlainGetter(FileInformation &fileInfo, const std::vector< PatternMatch > &pMatches)
Definition: pattern_matches_plain_getter.cpp:33
Definition of IterativeDistributionGetter class.
Definition: archive_wrapper.h:19