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