libabigail
Public Member Functions | Protected Attributes | List of all members
context_rel Class Reference

The abstraction of the relationship between an entity and its containing scope (its context). That relationship can carry properties like access rights (if the parent is a class_decl), etc. More...

#include <abg-ir.h>

Inheritance diagram for context_rel:
[legend]

Public Member Functions

 context_rel (scope_decl *s)
 
 context_rel (scope_decl *s, access_specifier a, bool f)
 
access_specifier get_access_specifier () const
 
bool get_is_static () const
 
scope_declget_scope () const
 
bool operator!= (const context_rel &o) const
 Inequality operator. More...
 
bool operator== (const context_rel &o) const
 
void set_access_specifier (access_specifier a)
 
void set_is_static (bool s)
 
void set_scope (scope_decl *s)
 

Protected Attributes

enum access_specifier access_
 
bool is_static_
 
scope_declscope_
 

Detailed Description

The abstraction of the relationship between an entity and its containing scope (its context). That relationship can carry properties like access rights (if the parent is a class_decl), etc.

But importantly, this relationship carries a pointer to the actualy parent.

Definition at line 1246 of file abg-ir.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const context_rel o) const
inline

Inequality operator.

Parameters
othe other instance of context_rel to compare the current instance against.
Returns
true iff the current instance of context_rel is different from o.

Definition at line 1313 of file abg-ir.h.


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