retdec
iterative_simple_getter.h
Go to the documentation of this file.
1 
7 #ifndef FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_SIMPLE_GETTER_ITERATIVE_SIMPLE_GETTER_H
8 #define FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_SIMPLE_GETTER_ITERATIVE_SIMPLE_GETTER_H
9 
11 
12 namespace retdec {
13 namespace fileinfo {
14 
22 {
23  protected:
24  std::string elementHeader;
25  public:
27 
30  void getElementHeader(std::string &elemHeader) const;
32 
35  virtual bool getFlags(std::size_t structIndex, std::size_t recIndex, std::string &flagsValue, std::vector<std::string> &desc) const = 0;
37 };
38 
39 } // namespace fileinfo
40 } // namespace retdec
41 
42 #endif
Definition: file_information.h:25
Definition: iterative_getter.h:22
Definition: iterative_simple_getter.h:22
virtual bool getFlags(std::size_t structIndex, std::size_t recIndex, std::string &flagsValue, std::vector< std::string > &desc) const =0
std::string elementHeader
header for every presented structure
Definition: iterative_simple_getter.h:24
void getElementHeader(std::string &elemHeader) const
Definition: iterative_simple_getter.cpp:28
IterativeSimpleGetter(FileInformation &fileInfo)
Definition: iterative_simple_getter.cpp:19
Definition of IterativeGetter class.
Definition: archive_wrapper.h:19