PandA-2024.02
Data Structures | Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
AadlInformation Class Reference

#include <aadl_information.hpp>

Data Structures

struct  AadlParameter
 Strucutre containing the characteristics of a parameter. More...
 

Public Member Functions

void AddAsnType (const std::string &name, const AsnTypeRef &asn_type)
 Add an asn_type. More...
 
AsnTypeRef CGetAsnType (const std::string &name) const
 Get an asn_type. More...
 

Data Fields

std::map< std::string, std::list< AadlParameter > > function_parameters
 For each function the list of parameters. More...
 
std::list< std::string > top_functions_names
 The top functions in the order in which they are specified in the aadl file. More...
 
CustomMap< std::string, unsigned long long int > internal_memory_sizes
 For each function the size of internal memory. More...
 
CustomMap< std::string, unsigned long long int > exposed_memory_sizes
 For each function the exposed size of internal memory. More...
 

Protected Member Functions

std::string Normalize (const std::string &name) const
 Normalize asn_type name. More...
 

Protected Attributes

CustomMap< std::string, AsnTypeRefasn_types
 The asn types. More...
 

Detailed Description

Definition at line 56 of file aadl_information.hpp.

Member Function Documentation

◆ AddAsnType()

void AadlInformation::AddAsnType ( const std::string &  name,
const AsnTypeRef asn_type 
)

Add an asn_type.

Parameters
nameis the name of the type
typeis the type

Definition at line 96 of file aadl_information.cpp.

References AadlInformation::AadlParameter::asn_type, asn_types, and Normalize().

Here is the call graph for this function:

◆ CGetAsnType()

AsnTypeRef AadlInformation::CGetAsnType ( const std::string &  name) const

Get an asn_type.

Parameters
nameis the name of the type

Definition at line 101 of file aadl_information.cpp.

References asn_types, AadlInformation::AadlParameter::name, Normalize(), and THROW_ASSERT.

Here is the call graph for this function:

◆ Normalize()

std::string AadlInformation::Normalize ( const std::string &  name) const
protected

Normalize asn_type name.

Parameters
nameis the name
Returns
the normalized name

Definition at line 91 of file aadl_information.cpp.

Referenced by AddAsnType(), and CGetAsnType().

Here is the caller graph for this function:

Field Documentation

◆ asn_types

CustomMap<std::string, AsnTypeRef> AadlInformation::asn_types
protected

The asn types.

Definition at line 60 of file aadl_information.hpp.

Referenced by AddAsnType(), and CGetAsnType().

◆ exposed_memory_sizes

CustomMap<std::string, unsigned long long int> AadlInformation::exposed_memory_sizes

For each function the exposed size of internal memory.

Definition at line 124 of file aadl_information.hpp.

◆ function_parameters

std::map<std::string, std::list<AadlParameter> > AadlInformation::function_parameters

For each function the list of parameters.

Definition at line 115 of file aadl_information.hpp.

◆ internal_memory_sizes

CustomMap<std::string, unsigned long long int> AadlInformation::internal_memory_sizes

For each function the size of internal memory.

Definition at line 121 of file aadl_information.hpp.

◆ top_functions_names

std::list<std::string> AadlInformation::top_functions_names

The top functions in the order in which they are specified in the aadl file.

Definition at line 118 of file aadl_information.hpp.


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

Generated on Mon Feb 12 2024 13:03:42 for PandA-2024.02 by doxygen 1.8.13