retdec
annotation_inout.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_CTYPES_ANNOTATION_INOUT_H
8 #define RETDEC_CTYPES_ANNOTATION_INOUT_H
9 
11 
12 namespace retdec {
13 namespace ctypes {
14 
19 {
20  public:
21  AnnotationInOut(const std::string &name): Annotation(name) {};
22  static std::shared_ptr<AnnotationInOut> create(
23  const std::shared_ptr<Context> &context,
24  const std::string &name);
25 
26  virtual bool isInOut() const override;
27 };
28 
29 } // namespace ctypes
30 } // namespace retdec
31 
32 #endif
A representation of type's annotation.
A representation of inout annotation.
Definition: annotation_inout.h:19
static std::shared_ptr< AnnotationInOut > create(const std::shared_ptr< Context > &context, const std::string &name)
Creates inout annotation.
Definition: annotation_inout.cpp:21
AnnotationInOut(const std::string &name)
Definition: annotation_inout.h:21
virtual bool isInOut() const override
Definition: annotation_inout.cpp:38
A representation of annotation.
Definition: annotation.h:24
std::string name
Definition: annotation.h:39
Definition: archive_wrapper.h:19