Statements | Format | Relationship | Entities |
---|---|---|---|
INHERITS |
class <class_name1>: [public] <class_name2> { }; |
Class Inherits Class | Class1.Name=<class_name1>
Class2.Name=<class_name2> |
*Any mention of a CLASS that is not a call of its member function* |
class <class_name1> { <class_name2> variable; } |
Class Depends On Class | Class1.Name=<class_name1>
Class2.Name=<class_name2> |
*Any mention of a function that is not a call* |
class <class_name> { Variable = <function_name>; } |
Class Depends On Function | Class.Name=<class_name>
Function.Name=<function_name> |
*Any expression in a position of a class or a function that is not a call* |
class <class_name> { <expression> } |
Class Depends On Decision | Class.Name=<class_name>
Decision.Name=<internal_name> |
CALL |
class <class_name> { <function_name>([list of parameters]); } |
Class Calls Function | Class.Name=<class_name>
Function.Name=<function_name> |
CALL |
class <class_name> { <member_function_name>([list of parameters]); } |
Class Calls Member Function | Class.Name=<class_name>
Function.Name=<function_name> |
CALL |
class <class_name> { <expression> } |
Class Calls Decision | Class.Name=<class_name>
Decision.Name=<internal_name> |
DEFINITION |
class <class_name> { [result_type] <member_function_name>([list of parameters]){ } } |
Class Has Member Function | Class.Name=<class_name>
MemberFunction.Name=<member_function_name> |