libabigail
Public Member Functions | List of all members
type_maps Class Reference

This is a type that aggregates maps of all the kinds of types that are supported by libabigail. More...

#include <abg-ir.h>

Public Member Functions

istring_type_base_wptrs_map_typearray_types ()
 Getter for the map that associates the name of an array type to the vector of instances of array_type_def_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typearray_types () const
 Getter for the map that associates the name of an array type to the vector of instances of array_type_def_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typebasic_types ()
 Getter for the map that associates the name of a basic type to the vector of instances of type_decl_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typebasic_types () const
 Getter for the map that associates the name of a basic type to the vector instances of type_decl_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typeclass_types ()
 Getter for the map that associates the name of a class type to the vector of instances of class_decl_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typeclass_types () const
 Getter for the map that associates the name of a class type to the vector of instances of class_decl_sptr that represents that type. More...
 
bool empty () const
 Test if the type_maps is empty. More...
 
istring_type_base_wptrs_map_typeenum_types ()
 Getter for the map that associates the name of an enum type to the vector of instances of enum_type_decl_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typeenum_types () const
 Getter for the map that associates the name of an enum type to the vector of instances of enum_type_decl_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typefunction_types ()
 Getter for the map that associates the name of a function type to the vector of instances of function_type_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typefunction_types () const
 Getter for the map that associates the name of a function type to the vector of instances of function_type_sptr that represents that type. More...
 
const vector< type_base_wptr > & get_types_sorted_by_name () const
 Getter of all types types sorted by their pretty representation. More...
 
istring_type_base_wptrs_map_typepointer_types ()
 Getter for the map that associates the name of a pointer type to the vector of instances of pointer_type_def_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typepointer_types () const
 Getter for the map that associates the name of a pointer type to the vector of instances of pointer_type_def_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typequalified_types ()
 Getter for the map that associates the name of a qualified type to the vector of instances of qualified_type_def_sptr. More...
 
const istring_type_base_wptrs_map_typequalified_types () const
 Getter for the map that associates the name of a qualified type to the vector of instances of qualified_type_def_sptr. More...
 
istring_type_base_wptrs_map_typereference_types ()
 Getter for the map that associates the name of a reference type to the vector of instances of reference_type_def_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typereference_types () const
 Getter for the map that associates the name of a reference type to the vector of instances of reference_type_def_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typesubrange_types ()
 Getter for the map that associates the name of a subrange type to the vector of instances of array_type_def::subrange_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typesubrange_types () const
 Getter for the map that associates the name of a subrange type to the vector of instances of array_type_def::subrange_sptr that represents that type. More...
 
istring_type_base_wptrs_map_typetypedef_types ()
 Getter for the map that associates the name of a typedef to the vector of instances of typedef_decl_sptr that represents tha type. More...
 
const istring_type_base_wptrs_map_typetypedef_types () const
 Getter for the map that associates the name of a typedef to the vector of instances of typedef_decl_sptr that represents tha type. More...
 
istring_type_base_wptrs_map_typeunion_types ()
 Getter for the map that associates the name of a union type to the vector of instances of union_decl_sptr that represents that type. More...
 
const istring_type_base_wptrs_map_typeunion_types () const
 Getter for the map that associates the name of a union type to the vector of instances of union_decl_sptr that represents that type. More...
 

Detailed Description

This is a type that aggregates maps of all the kinds of types that are supported by libabigail.

For instance, the type_maps contains a map of string to basic type, a map of string to class type, a map of string to union types, etc. The key of a map entry is the pretty representation of the type, and the value of the map entry is the type.

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

Member Function Documentation

◆ array_types() [1/2]

Getter for the map that associates the name of an array type to the vector of instances of array_type_def_sptr that represents that type.

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

◆ array_types() [2/2]

const istring_type_base_wptrs_map_type & array_types ( ) const

Getter for the map that associates the name of an array type to the vector of instances of array_type_def_sptr that represents that type.

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

◆ basic_types() [1/2]

Getter for the map that associates the name of a basic type to the vector of instances of type_decl_sptr that represents that type.

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

◆ basic_types() [2/2]

const istring_type_base_wptrs_map_type & basic_types ( ) const

Getter for the map that associates the name of a basic type to the vector instances of type_decl_sptr that represents that type.

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

◆ class_types() [1/2]

Getter for the map that associates the name of a class type to the vector of instances of class_decl_sptr that represents that type.

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

◆ class_types() [2/2]

const istring_type_base_wptrs_map_type & class_types ( ) const

Getter for the map that associates the name of a class type to the vector of instances of class_decl_sptr that represents that type.

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

◆ empty()

bool empty ( ) const

Test if the type_maps is empty.

Returns
true iff the type_maps is empty.

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

◆ enum_types() [1/2]

Getter for the map that associates the name of an enum type to the vector of instances of enum_type_decl_sptr that represents that type.

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

◆ enum_types() [2/2]

const istring_type_base_wptrs_map_type & enum_types ( ) const

Getter for the map that associates the name of an enum type to the vector of instances of enum_type_decl_sptr that represents that type.

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

◆ function_types() [1/2]

istring_type_base_wptrs_map_type & function_types ( )

Getter for the map that associates the name of a function type to the vector of instances of function_type_sptr that represents that type.

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

◆ function_types() [2/2]

const istring_type_base_wptrs_map_type & function_types ( ) const

Getter for the map that associates the name of a function type to the vector of instances of function_type_sptr that represents that type.

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

◆ get_types_sorted_by_name()

const vector< type_base_wptr > & get_types_sorted_by_name ( ) const

Getter of all types types sorted by their pretty representation.

Returns
a sorted vector of all types sorted by their pretty representation.

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

◆ pointer_types() [1/2]

istring_type_base_wptrs_map_type & pointer_types ( )

Getter for the map that associates the name of a pointer type to the vector of instances of pointer_type_def_sptr that represents that type.

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

◆ pointer_types() [2/2]

const istring_type_base_wptrs_map_type & pointer_types ( ) const

Getter for the map that associates the name of a pointer type to the vector of instances of pointer_type_def_sptr that represents that type.

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

◆ qualified_types() [1/2]

istring_type_base_wptrs_map_type & qualified_types ( )

Getter for the map that associates the name of a qualified type to the vector of instances of qualified_type_def_sptr.

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

◆ qualified_types() [2/2]

const istring_type_base_wptrs_map_type & qualified_types ( ) const

Getter for the map that associates the name of a qualified type to the vector of instances of qualified_type_def_sptr.

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

◆ reference_types() [1/2]

istring_type_base_wptrs_map_type & reference_types ( )

Getter for the map that associates the name of a reference type to the vector of instances of reference_type_def_sptr that represents that type.

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

◆ reference_types() [2/2]

const istring_type_base_wptrs_map_type & reference_types ( ) const

Getter for the map that associates the name of a reference type to the vector of instances of reference_type_def_sptr that represents that type.

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

◆ subrange_types() [1/2]

istring_type_base_wptrs_map_type & subrange_types ( )

Getter for the map that associates the name of a subrange type to the vector of instances of array_type_def::subrange_sptr that represents that type.

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

◆ subrange_types() [2/2]

const istring_type_base_wptrs_map_type & subrange_types ( ) const

Getter for the map that associates the name of a subrange type to the vector of instances of array_type_def::subrange_sptr that represents that type.

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

◆ typedef_types() [1/2]

istring_type_base_wptrs_map_type & typedef_types ( )

Getter for the map that associates the name of a typedef to the vector of instances of typedef_decl_sptr that represents tha type.

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

◆ typedef_types() [2/2]

const istring_type_base_wptrs_map_type & typedef_types ( ) const

Getter for the map that associates the name of a typedef to the vector of instances of typedef_decl_sptr that represents tha type.

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

◆ union_types() [1/2]

Getter for the map that associates the name of a union type to the vector of instances of union_decl_sptr that represents that type.

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

◆ union_types() [2/2]

const istring_type_base_wptrs_map_type & union_types ( ) const

Getter for the map that associates the name of a union type to the vector of instances of union_decl_sptr that represents that type.

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


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