retdec
call_convention.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_CTYPES_CALL_CONVENTION_H
8 #define RETDEC_CTYPES_CALL_CONVENTION_H
9 
10 #include <string>
11 
12 namespace retdec {
13 namespace ctypes {
14 
19 {
20  public:
21  CallConvention() = default;
22  CallConvention(const std::string &callConvention);
23 
24  operator std::string() const;
25  bool operator==(const CallConvention &other) const;
26  bool operator!=(const CallConvention &other) const;
27 
28  private:
29  std::string callConvention;
30 };
31 
32 } // namespace ctypes
33 } // namespace retdec
34 
35 #endif
A representation of a C call convention.
Definition: call_convention.h:19
std::string callConvention
Definition: call_convention.h:29
bool operator==(const CallConvention &other) const
Definition: call_convention.cpp:23
bool operator!=(const CallConvention &other) const
Definition: call_convention.cpp:28
Definition: archive_wrapper.h:19