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

The base class for member types, data members and member functions. Its purpose is mainly to carry the access specifier (and possibly other properties that might be shared by all class members) for the member. More...

#include <abg-ir.h>

Inheritance diagram for member_base:
[legend]

Classes

struct  hash
 The hashing functor for member_base. More...
 

Public Member Functions

 member_base (access_specifier a, bool is_static=false)
 
access_specifier get_access_specifier () const
 Getter for the access specifier of this member. More...
 
bool get_is_static () const
 
virtual bool operator== (const member_base &o) const
 
void set_access_specifier (access_specifier a)
 Setter for the access specifier of this member. More...
 
void set_is_static (bool f)
 Set a flag saying if the parameter is static or not. More...
 

Protected Attributes

enum access_specifier access_
 
bool is_static_
 

Detailed Description

The base class for member types, data members and member functions. Its purpose is mainly to carry the access specifier (and possibly other properties that might be shared by all class members) for the member.

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

Member Function Documentation

◆ get_access_specifier()

access_specifier get_access_specifier ( ) const
inline

Getter for the access specifier of this member.

Returns
the access specifier for this member.

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

◆ get_is_static()

bool get_is_static ( ) const
inline
Returns
true if the member is static, false otherwise.

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

◆ set_access_specifier()

void set_access_specifier ( access_specifier  a)
inline

Setter for the access specifier of this member.

Parameters
athe new access specifier.

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

◆ set_is_static()

void set_is_static ( bool  f)
inline

Set a flag saying if the parameter is static or not.

Parameters
fset to true if the member is static, false otherwise.

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


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