retdec
Public Member Functions | Static Public Member Functions | List of all members
retdec::ctypes::AnnotationInOut Class Reference

A representation of inout annotation. More...

#include <annotation_inout.h>

Inheritance diagram for retdec::ctypes::AnnotationInOut:
Inheritance graph
[legend]
Collaboration diagram for retdec::ctypes::AnnotationInOut:
Collaboration graph
[legend]

Public Member Functions

 AnnotationInOut (const std::string &name)
 
virtual bool isInOut () const override
 
- Public Member Functions inherited from retdec::ctypes::Annotation
virtual ~Annotation ()=default
 
virtual bool isIn () const
 
virtual bool isOut () const
 
virtual bool isOptional () const
 
const std::string & getName () const
 Returns annotation's name. More...
 

Static Public Member Functions

static std::shared_ptr< AnnotationInOutcreate (const std::shared_ptr< Context > &context, const std::string &name)
 Creates inout annotation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from retdec::ctypes::Annotation
 Annotation (const std::string &name)
 Constructs a new annotation. More...
 

Detailed Description

A representation of inout annotation.

Constructor & Destructor Documentation

◆ AnnotationInOut()

retdec::ctypes::AnnotationInOut::AnnotationInOut ( const std::string &  name)
inline

Member Function Documentation

◆ create()

std::shared_ptr< AnnotationInOut > retdec::ctypes::AnnotationInOut::create ( const std::shared_ptr< Context > &  context,
const std::string &  name 
)
static

Creates inout annotation.

Preconditions
  • context is not null

◆ isInOut()

bool retdec::ctypes::AnnotationInOut::isInOut ( ) const
overridevirtual

Reimplemented from retdec::ctypes::Annotation.


The documentation for this class was generated from the following files: