libabigail
Loading...
Searching...
No Matches
class_or_union_diff::priv Struct Reference

The type of private data of class_or_union_diff. More...

#include <abg-comparison-priv.h>

Public Member Functions

size_t count_filtered_changed_dm (bool local_only=false)
 Get the number of data member changes carried by the current diff node that were filtered out.
 
size_t count_filtered_changed_mem_fns (const diff_context_sptr &)
 Get the number of member functions changes carried by the current diff node that were filtered out.
 
size_t count_filtered_deleted_mem_fns (const diff_context_sptr &)
 Get the number of member functions deletions carried by the current diff node that were filtered out.
 
size_t count_filtered_inserted_mem_fns (const diff_context_sptr &)
 Get the number of member functions insertions carried by the current diff node that were filtered out.
 
size_t count_filtered_subtype_changed_dm (bool local_only=false)
 Get the number of data member sub-type changes carried by the current diff node that were filtered out.
 
size_t get_deleted_non_static_data_members_number () const
 Get the number of non static data members that were deleted.
 
size_t get_inserted_non_static_data_members_number () const
 Get the number of non static data members that were inserted.
 
decl_base_sptr member_class_tmpl_has_changed (decl_base_sptr) const
 Test if the current diff node carries a member class template change for a member class template which name is the same as the name of a given type declaration.
 
type_or_decl_base_sptr member_type_has_changed (decl_base_sptr) const
 Test if the current diff node carries a member type change for a member type which name is the same as the name of a given type declaration.
 
decl_base_sptr subtype_changed_dm (decl_base_sptr) const
 Test if the current diff node carries a data member change for a data member which name is the same as the name of a given type declaration.
 

Public Attributes

unsigned_var_diff_sptr_map changed_dm_
 
string_diff_sptr_map changed_member_class_tmpls_
 
string_function_decl_diff_sptr_map changed_member_functions_
 
string_diff_sptr_map changed_member_types_
 
edit_script data_members_changes_
 
string_decl_base_sptr_map deleted_data_members_
 
unsigned_decl_base_sptr_map deleted_dm_by_offset_
 
string_decl_base_sptr_map deleted_member_class_tmpls_
 
string_member_function_sptr_map deleted_member_functions_
 
string_decl_base_sptr_map deleted_member_types_
 
string_decl_base_sptr_map dms_replaced_by_adms_
 
changed_var_sptrs_type dms_replaced_by_adms_ordered_
 
string_decl_base_sptr_map inserted_data_members_
 
unsigned_decl_base_sptr_map inserted_dm_by_offset_
 
string_decl_base_sptr_map inserted_member_class_tmpls_
 
string_member_function_sptr_map inserted_member_functions_
 
string_decl_base_sptr_map inserted_member_types_
 
edit_script member_class_tmpls_changes_
 
edit_script member_fn_tmpls_changes_
 
edit_script member_fns_changes_
 
edit_script member_types_changes_
 
var_diff_sptrs_type sorted_changed_dm_
 
diff_sptrs_type sorted_changed_member_class_tmpls_
 
function_decl_diff_sptrs_type sorted_changed_member_functions_
 
diff_sptrs_type sorted_changed_member_types_
 
class_or_union::member_functions sorted_deleted_member_functions_
 
class_or_union::member_functions sorted_inserted_member_functions_
 
var_diff_sptrs_type sorted_subtype_changed_dm_
 
string_var_diff_sptr_map subtype_changed_dm_
 

Detailed Description

The type of private data of class_or_union_diff.

Definition at line 506 of file abg-comparison-priv.h.

Constructor & Destructor Documentation

◆ priv()

priv ( )
inline

Definition at line 580 of file abg-comparison-priv.h.

Member Function Documentation

◆ count_filtered_changed_dm()

size_t count_filtered_changed_dm ( bool local_only = false)

Get the number of data member changes carried by the current diff node that were filtered out.

Parameters
local_onlyif true, it means that only (filtered) local changes are considered.
Returns
the number of data member changes carried by the current diff node that were filtered out.

Definition at line 4965 of file abg-comparison.cc.

◆ count_filtered_changed_mem_fns()

size_t count_filtered_changed_mem_fns ( const diff_context_sptr & ctxt)

Get the number of member functions changes carried by the current diff node that were filtered out.

Returns
the number of member functions changes carried by the current diff node that were filtered out.

Definition at line 5015 of file abg-comparison.cc.

◆ count_filtered_deleted_mem_fns()

size_t count_filtered_deleted_mem_fns ( const diff_context_sptr & ctxt)

Get the number of member functions deletions carried by the current diff node that were filtered out.

Returns
the number of member functions deletions carried by the current diff node that were filtered out.

Definition at line 5087 of file abg-comparison.cc.

◆ count_filtered_inserted_mem_fns()

size_t count_filtered_inserted_mem_fns ( const diff_context_sptr & ctxt)

Get the number of member functions insertions carried by the current diff node that were filtered out.

Returns
the number of member functions insertions carried by the current diff node that were filtered out.

Definition at line 5054 of file abg-comparison.cc.

◆ count_filtered_subtype_changed_dm()

size_t count_filtered_subtype_changed_dm ( bool local_only = false)

Get the number of data member sub-type changes carried by the current diff node that were filtered out.

Parameters
local_onlyif true, it means that only (filtered) local changes are considered.
Returns
the number of data member sub-type changes carried by the current diff node that were filtered out.

Definition at line 4934 of file abg-comparison.cc.

◆ get_deleted_non_static_data_members_number()

size_t get_deleted_non_static_data_members_number ( ) const

Get the number of non static data members that were deleted.

Returns
the number of non static data members that were deleted.

Definition at line 4891 of file abg-comparison.cc.

◆ get_inserted_non_static_data_members_number()

size_t get_inserted_non_static_data_members_number ( ) const

Get the number of non static data members that were inserted.

Returns
the number of non static data members that were inserted.

Definition at line 4910 of file abg-comparison.cc.

◆ member_class_tmpl_has_changed()

decl_base_sptr member_class_tmpl_has_changed ( decl_base_sptr d) const

Test if the current diff node carries a member class template change for a member class template which name is the same as the name of a given type declaration.

Parameters
dthe type declaration which name should be equal to the name of the member class template that might have changed.
Returns
the member class template that has changed, iff there were a member class template (which name is the same as the name of d) that changed. Note that the member class template that is returned is the new value of the member class template that changed.

Definition at line 4876 of file abg-comparison.cc.

◆ member_type_has_changed()

type_or_decl_base_sptr member_type_has_changed ( decl_base_sptr d) const

Test if the current diff node carries a member type change for a member type which name is the same as the name of a given type declaration.

Parameters
dthe type declaration which name should be equal to the name of the member type that might have changed.
Returns
the member type that has changed, iff there were a member type (which name is the same as the name of d) that changed. Note that the member type that is returned is the new value of the member type that changed.

Definition at line 4829 of file abg-comparison.cc.

◆ subtype_changed_dm()

decl_base_sptr subtype_changed_dm ( decl_base_sptr d) const

Test if the current diff node carries a data member change for a data member which name is the same as the name of a given type declaration.

Parameters
dthe type declaration which name should be equal to the name of the data member that might have changed.
Returns
the data member that has changed, iff there were a data member type (which name is the same as the name of d) that changed. Note that the data member that is returned is the new value of the data member that changed.

Definition at line 4852 of file abg-comparison.cc.

Member Data Documentation

◆ changed_dm_

Definition at line 530 of file abg-comparison-priv.h.

◆ changed_member_class_tmpls_

string_diff_sptr_map changed_member_class_tmpls_

Definition at line 547 of file abg-comparison-priv.h.

◆ changed_member_functions_

string_function_decl_diff_sptr_map changed_member_functions_

Definition at line 543 of file abg-comparison-priv.h.

◆ changed_member_types_

string_diff_sptr_map changed_member_types_

Definition at line 516 of file abg-comparison-priv.h.

◆ data_members_changes_

edit_script data_members_changes_

Definition at line 509 of file abg-comparison-priv.h.

◆ deleted_data_members_

string_decl_base_sptr_map deleted_data_members_

Definition at line 518 of file abg-comparison-priv.h.

◆ deleted_dm_by_offset_

unsigned_decl_base_sptr_map deleted_dm_by_offset_

Definition at line 519 of file abg-comparison-priv.h.

◆ deleted_member_class_tmpls_

string_decl_base_sptr_map deleted_member_class_tmpls_

Definition at line 545 of file abg-comparison-priv.h.

◆ deleted_member_functions_

string_member_function_sptr_map deleted_member_functions_

Definition at line 539 of file abg-comparison-priv.h.

◆ deleted_member_types_

string_decl_base_sptr_map deleted_member_types_

Definition at line 514 of file abg-comparison-priv.h.

◆ dms_replaced_by_adms_

string_decl_base_sptr_map dms_replaced_by_adms_

Definition at line 537 of file abg-comparison-priv.h.

◆ dms_replaced_by_adms_ordered_

changed_var_sptrs_type dms_replaced_by_adms_ordered_
mutable

Definition at line 538 of file abg-comparison-priv.h.

◆ inserted_data_members_

string_decl_base_sptr_map inserted_data_members_

Definition at line 520 of file abg-comparison-priv.h.

◆ inserted_dm_by_offset_

unsigned_decl_base_sptr_map inserted_dm_by_offset_

Definition at line 521 of file abg-comparison-priv.h.

◆ inserted_member_class_tmpls_

string_decl_base_sptr_map inserted_member_class_tmpls_

Definition at line 546 of file abg-comparison-priv.h.

◆ inserted_member_functions_

string_member_function_sptr_map inserted_member_functions_

Definition at line 541 of file abg-comparison-priv.h.

◆ inserted_member_types_

string_decl_base_sptr_map inserted_member_types_

Definition at line 515 of file abg-comparison-priv.h.

◆ member_class_tmpls_changes_

edit_script member_class_tmpls_changes_

Definition at line 512 of file abg-comparison-priv.h.

◆ member_fn_tmpls_changes_

edit_script member_fn_tmpls_changes_

Definition at line 511 of file abg-comparison-priv.h.

◆ member_fns_changes_

edit_script member_fns_changes_

Definition at line 510 of file abg-comparison-priv.h.

◆ member_types_changes_

edit_script member_types_changes_

Definition at line 508 of file abg-comparison-priv.h.

◆ sorted_changed_dm_

var_diff_sptrs_type sorted_changed_dm_

Definition at line 531 of file abg-comparison-priv.h.

◆ sorted_changed_member_class_tmpls_

diff_sptrs_type sorted_changed_member_class_tmpls_

Definition at line 548 of file abg-comparison-priv.h.

◆ sorted_changed_member_functions_

function_decl_diff_sptrs_type sorted_changed_member_functions_

Definition at line 544 of file abg-comparison-priv.h.

◆ sorted_changed_member_types_

diff_sptrs_type sorted_changed_member_types_

Definition at line 517 of file abg-comparison-priv.h.

◆ sorted_deleted_member_functions_

class_or_union::member_functions sorted_deleted_member_functions_

Definition at line 540 of file abg-comparison-priv.h.

◆ sorted_inserted_member_functions_

class_or_union::member_functions sorted_inserted_member_functions_

Definition at line 542 of file abg-comparison-priv.h.

◆ sorted_subtype_changed_dm_

var_diff_sptrs_type sorted_subtype_changed_dm_

Definition at line 524 of file abg-comparison-priv.h.

◆ subtype_changed_dm_

string_var_diff_sptr_map subtype_changed_dm_

Definition at line 523 of file abg-comparison-priv.h.


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