retdec
dynamic_entry.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_TYPES_DYNAMIC_TABLE_DYNAMIC_ENTRY_H
8 #define RETDEC_FILEFORMAT_TYPES_DYNAMIC_TABLE_DYNAMIC_ENTRY_H
9 
10 #include <string>
11 
12 namespace retdec {
13 namespace fileformat {
14 
19 {
20  private:
22  unsigned long long type = 0;
24  unsigned long long value = 0;
26  std::string description;
27  public:
30  unsigned long long getType() const;
31  unsigned long long getValue() const;
32  std::string getDescription() const;
34 
37  void setType(unsigned long long entryType);
38  void setValue(unsigned long long entryValue);
39  void setDescription(std::string entryDescription);
41 };
42 
43 } // namespace fileformat
44 } // namespace retdec
45 
46 #endif
Definition: dynamic_entry.h:19
std::string getDescription() const
Definition: dynamic_entry.cpp:34
unsigned long long type
type of the dynamic record
Definition: dynamic_entry.h:22
unsigned long long getType() const
Definition: dynamic_entry.cpp:16
unsigned long long getValue() const
Definition: dynamic_entry.cpp:25
std::string description
description
Definition: dynamic_entry.h:26
void setType(unsigned long long entryType)
Definition: dynamic_entry.cpp:43
void setValue(unsigned long long entryValue)
Definition: dynamic_entry.cpp:52
void setDescription(std::string entryDescription)
Definition: dynamic_entry.cpp:61
unsigned long long value
stored value
Definition: dynamic_entry.h:24
Definition: archive_wrapper.h:19