libabigail
|
The abstraction for a data member context relationship. This relates a data member to its parent class. More...
#include <abg-ir.h>
Public Member Functions | |
dm_context_rel (scope_decl *s) | |
dm_context_rel (scope_decl *s, bool is_laid_out, size_t offset_in_bits, access_specifier a, bool is_static) | |
const var_decl * | get_anonymous_data_member () const |
Return a non-nil value if this data member context relationship has an anonymous data member. That means, if the data member this relation belongs to is part of an anonymous data member. More... | |
bool | get_is_laid_out () const |
size_t | get_offset_in_bits () const |
bool | operator!= (const dm_context_rel &o) const |
bool | operator== (const dm_context_rel &o) const |
void | set_anonymous_data_member (var_decl *) |
Set the containing anonymous data member of this data member context relationship. That means that the data member this relation belongs to is part of an anonymous data member. More... | |
void | set_is_laid_out (bool f) |
void | set_offset_in_bits (size_t o) |
![]() | |
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_decl * | get_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 | |
std::unique_ptr< priv > | priv_ |
![]() | |
enum access_specifier | access_ |
bool | is_static_ |
scope_decl * | scope_ |
The abstraction for a data member context relationship. This relates a data member to its parent class.
The relationship carries properties like the offset of the data member, if applicable.
dm_context_rel | ( | ) |
dm_context_rel | ( | scope_decl * | s, |
bool | is_laid_out, | ||
size_t | offset_in_bits, | ||
access_specifier | a, | ||
bool | is_static | ||
) |
dm_context_rel | ( | scope_decl * | s | ) |
|
virtual |
const var_decl * get_anonymous_data_member | ( | ) | const |
Return a non-nil value if this data member context relationship has an anonymous data member. That means, if the data member this relation belongs to is part of an anonymous data member.
bool operator!= | ( | const dm_context_rel & | o | ) | const |
bool operator== | ( | const dm_context_rel & | o | ) | const |
void set_anonymous_data_member | ( | var_decl * | anon_dm | ) |
Set the containing anonymous data member of this data member context relationship. That means that the data member this relation belongs to is part of an anonymous data member.
anon_dm | the containing anonymous data member of this data member relationship. Nil if there is none. |