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

The private data for type_suppression. More...

#include <abg-suppression-priv.h>

Public Member Functions

 priv (const string &type_name_regexp, const string &type_name, bool consider_type_kind, type_suppression::type_kind type_kind, bool consider_reach_kind, type_suppression::reach_kind reach_kind)
 
const regex::regex_t_sptr get_potential_data_member_names_regex () const
 Getter for the "potential_data_member_names_regex" object. More...
 
const regex::regex_t_sptr get_source_location_to_keep_regex () const
 Getter for the source_location_to_keep_regex object. More...
 
const regex::regex_t_sptr get_type_name_not_regex () const
 Get the regular expression object associated to the 'type_name_not_regex' property of type_suppression. More...
 
const string & get_type_name_not_regex_str () const
 Getter for the string that denotes the 'type_name_not_regex' property. More...
 
const regex::regex_t_sptr get_type_name_regex () const
 Get the regular expression object associated to the 'type_name_regex' property of type_suppression. More...
 
void set_potential_data_member_names_regex (regex::regex_t_sptr &r)
 Setter for the "potential_data_member_names_regex" object. More...
 
void set_source_location_to_keep_regex (regex::regex_t_sptr r)
 Setter for the source_location_to_keep_regex object. More...
 
void set_type_name_not_regex (regex::regex_t_sptr r)
 Setter for the type_name_not_regex object. More...
 
void set_type_name_not_regex_str (const string regex_str)
 Setter for the string that denotes the 'type_name_not_regex' property. More...
 
void set_type_name_regex (regex::regex_t_sptr r)
 Setter for the type_name_regex object. More...
 

Friends

class type_suppression
 

Detailed Description

The private data for type_suppression.

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

Member Function Documentation

◆ get_potential_data_member_names_regex()

const regex::regex_t_sptr get_potential_data_member_names_regex ( ) const
inline

Getter for the "potential_data_member_names_regex" object.

This regex object matches the names of the data members that are needed for this suppression specification to select the type.

Returns
the "potential_data_member_names_regex" object.

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

◆ get_source_location_to_keep_regex()

const regex::regex_t_sptr get_source_location_to_keep_regex ( ) const
inline

Getter for the source_location_to_keep_regex object.

This function builds the regex if it's not yet built.

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

◆ get_type_name_not_regex()

const regex::regex_t_sptr get_type_name_not_regex ( ) const
inline

Get the regular expression object associated to the 'type_name_not_regex' property of type_suppression.

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

If the 'type_name_not_regex' property of type_suppression is empty then this method returns nil.

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

◆ get_type_name_not_regex_str()

const string& get_type_name_not_regex_str ( ) const
inline

Getter for the string that denotes the 'type_name_not_regex' property.

Returns
the value of the string value of the 'type_name_not_regex' property.

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

◆ get_type_name_regex()

const regex::regex_t_sptr get_type_name_regex ( ) const
inline

Get the regular expression object associated to the 'type_name_regex' property of type_suppression.

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

If the 'type_name_regex' property of type_suppression is empty then this method returns nil.

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

◆ set_potential_data_member_names_regex()

void set_potential_data_member_names_regex ( regex::regex_t_sptr r)
inline

Setter for the "potential_data_member_names_regex" object.

This regex object matches the names of the data members that are needed for this suppression specification to select the type.

Parameters
rthe new "potential_data_member_names_regex" object.

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

◆ set_source_location_to_keep_regex()

void set_source_location_to_keep_regex ( regex::regex_t_sptr  r)
inline

Setter for the source_location_to_keep_regex object.

Parameters
rthe new regex object.

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

◆ set_type_name_not_regex()

void set_type_name_not_regex ( regex::regex_t_sptr  r)
inline

Setter for the type_name_not_regex object.

Parameters
rthe new type_name_not_regex object.

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

◆ set_type_name_not_regex_str()

void set_type_name_not_regex_str ( const string  regex_str)
inline

Setter for the string that denotes the 'type_name_not_regex' property.

Returns
the value of the string value of the 'type_name_not_regex' property.

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

◆ set_type_name_regex()

void set_type_name_regex ( regex::regex_t_sptr  r)
inline

Setter for the type_name_regex object.

Parameters
rthe new type_name_regex object.

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


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