libabigail
Public Member Functions | Public Attributes | List of all members
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
size_t get_deleted_non_static_data_members_number () const
 Get the number of non static data members that were deleted. More...
 
size_t get_inserted_non_static_data_members_number () const
 Get the number of non static data members that were inserted. More...
 
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. More...
 
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. More...
 
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. More...
 

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 490 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 4671 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 4722 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 4794 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 4761 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 4639 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 4596 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 4615 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 4581 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 4534 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 4557 of file abg-comparison.cc.


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