libabigail
Loading...
Searching...
No Matches
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.
 
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.
 
void set_is_static (bool f)
 Set a flag saying if the parameter is static or not.
 

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 3790 of file abg-ir.h.

Constructor & Destructor Documentation

◆ member_base()

member_base ( access_specifier a,
bool is_static = false )
inline

Definition at line 3803 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 3811 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 3823 of file abg-ir.h.

◆ operator==()

bool operator== ( const member_base & o) const
virtual

Reimplemented in class_decl::base_spec, and member_class_template.

Definition at line 26039 of file abg-ir.cc.

◆ 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 3818 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 3830 of file abg-ir.h.

Member Data Documentation

◆ access_

enum access_specifier access_
protected

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

◆ is_static_

bool is_static_
protected

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


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