OesisAssociationType

Description

An abstract class inheriting from AssociationType to represent the types of association that are used for OESIS 4V and to delegate processing to child classes.

Important public methods of this class are:

Name

Return type

Description

getMetricsMap

map<shared_ptr<AbstractMetric>, int>

Returns a list of (AbstractMetric*, int) pair in the form of a map/dictionary structure. This is a wrapper method that each child class of this class wraps around the generateMetrics method of the corresponding child class of AbstractMetric class. Because each generateMetrics method returns a different subtype of AbstractMetric, this method converts them back to AbstractMetric type.

isOesisAssociationType

bool

A static method to check whether an AssociationType instance belongs to a child class of this class or not.