CSE687 - Object Oriented Design
Lecture #8 - Hierarchy: Class Relationships
Revised: 10 February 2009
Web Resources:
Stroustrup's Home Page,
Assoc. of C/C++ Users,
C++ at Microsoft,
Code Project,
Sells Brothers,
Guru of the Week,
C/C++ User's Journal,
devCentral,
Dr. Dobb's Journal,
Boost Library,
techNetCast
Content:
This lecture is devoted to hierarchical relationships in the C++ language, especially inheritance and composition.
-
Syllabus
Describes topics to be covered,
reading material for you to digest before coming to class, and due dates
for the assigned projects.
-
Project #2,
GraphHelp
Graphs with Depth-First-Search and Strong Component Algorithm.
-
Hierarchy Presentation
Hierarchy is concerned with the relationships between classes - aggregation, composition, inheritance,
and using.
-
Demonstrate Composition
This project contains a number of demonstrations of basic composition relationships.
-
Demonstrate Inheritance
Contains demonstration of things to be careful with when using inheritance.
-
Design Rules
Design rules and idioms that transcend Object Oriented Design.