libabigail
Public Member Functions | Friends | List of all members
suppression_base::priv Class Reference

The private data of suppression_base. More...

#include <abg-suppression-priv.h>

Public Member Functions

 priv (const string &label)
 
 priv (const string &label, const string &file_name_regex_str, const string &file_name_not_regex_str)
 
const regex::regex_t_sptrget_file_name_not_regex () const
 Get the regular expression object associated to the 'file_name_not_regex' property of suppression_base. More...
 
const regex::regex_t_sptrget_file_name_regex () const
 Get the regular expression object associated to the 'file_name_regex' property of suppression_base. More...
 
const regex::regex_t_sptrget_soname_not_regex () const
 Get the regular expression object associated to the 'soname_not_regex' property of suppression_base. More...
 
const regex::regex_t_sptrget_soname_regex () const
 Get the regular expression object associated to the 'soname_regex' property of suppression_base. More...
 
bool matches_binary_name (const string &binary_name) const
 Test if the current suppression matches the full file path to a given binary. More...
 
bool matches_soname (const string &soname) const
 Test if the current suppression matches a given SONAME. More...
 

Friends

class suppression_base
 

Detailed Description

The private data of suppression_base.

Definition at line 30 of file abg-suppression-priv.h.

Member Function Documentation

◆ get_file_name_not_regex()

const regex::regex_t_sptr& get_file_name_not_regex ( ) const
inline

Get the regular expression object associated to the 'file_name_not_regex' property of suppression_base.

If the regular expression object is not created, this method creates it and returns it.

If the 'file_name_not_regex' property of suppression_base is empty then this method returns nil.

Definition at line 93 of file abg-suppression-priv.h.

◆ get_file_name_regex()

const regex::regex_t_sptr& get_file_name_regex ( ) const
inline

Get the regular expression object associated to the 'file_name_regex' property of suppression_base.

If the regular expression object is not created, this method creates it and returns it.

If the 'file_name_regex' property of suppression_base is empty then this method returns nil.

Definition at line 77 of file abg-suppression-priv.h.

◆ get_soname_not_regex()

const regex::regex_t_sptr& get_soname_not_regex ( ) const
inline

Get the regular expression object associated to the 'soname_not_regex' property of suppression_base.

If the regular expression object is not created, this method creates it and returns it.

If the 'soname_not_regex' property of suppression_base is empty then this method returns nil.

Definition at line 125 of file abg-suppression-priv.h.

◆ get_soname_regex()

const regex::regex_t_sptr& get_soname_regex ( ) const
inline

Get the regular expression object associated to the 'soname_regex' property of suppression_base.

If the regular expression object is not created, this method creates it and returns it.

If the 'soname_regex' property of suppression_base is empty then this method returns nil.

Definition at line 109 of file abg-suppression-priv.h.

◆ matches_binary_name()

bool matches_binary_name ( const string &  binary_name) const
inline

Test if the current suppression matches the full file path to a given binary.

Parameters
binary_namethe full path to the binary.
Returns
true iff the suppression matches the path denoted by binary_name.

Note that if the suppression contains no property that is related to file name, the function returns false.

Definition at line 176 of file abg-suppression-priv.h.

◆ matches_soname()

bool matches_soname ( const string &  soname) const
inline

Test if the current suppression matches a given SONAME.

Parameters
sonamethe SONAME to consider.
Returns
true iff the suppression matches the SONAME denoted by soname.

Note that if the suppression contains no property that is related to SONAMEs, the function returns false.

Definition at line 142 of file abg-suppression-priv.h.


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