retdec
|
A representation of annotation. More...
#include <annotation.h>
Public Member Functions | |
virtual | ~Annotation ()=default |
virtual bool | isIn () const |
virtual bool | isOut () const |
virtual bool | isInOut () const |
virtual bool | isOptional () const |
const std::string & | getName () const |
Returns annotation's name. More... | |
Protected Member Functions | |
Annotation (const std::string &name) | |
Constructs a new annotation. More... | |
Private Attributes | |
std::string | name |
A representation of annotation.
Derived class should override isX()
method according to annotation type.
|
virtualdefault |
|
explicitprotected |
Constructs a new annotation.
See create()
for more information.
const std::string & retdec::ctypes::Annotation::getName | ( | ) | const |
Returns annotation's name.
|
virtual |
Reimplemented in retdec::ctypes::AnnotationIn.
|
virtual |
Reimplemented in retdec::ctypes::AnnotationInOut.
|
virtual |
Reimplemented in retdec::ctypes::AnnotationOptional.
|
virtual |
Reimplemented in retdec::ctypes::AnnotationOut.
|
private |