CSE687 - Object Oriented Design
Lecture #3 - Encapsulation
Revised: 22 January 2008
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 the notion of Encapsulation and basic Object Oriented Design relationships.
-
The Syllabus describes topics to be covered,
reading material for you to digest before coming to class, and due dates
for the assigned projects.
-
Project #1
Dissecting the Project #1 statement - What is hard? What is easy? Suggestions.
Tokenizer, SemiExpression, Prototype
Dissecting the prototype code - Goals, Structure, design trade-offs, C++ specific details.
-
More elaborate code analyzer
-
Programming to Interfaces - Diagram
-
Programming to Interfaces - code example
-
Encapsulation Principle
-
Encapsulation Presentation
-
Class Relationships - code example
-
Equivalent Syntaxes
-
Abstract Data Types Presentation
-
Lecture #3 folder contains a page of links to
presentations and code discussed in this class. The Lecture folders will occasionally
hold physical files of interest as well. Usually, however, all the materials
of interest to the class are in the presentations
and code folders. The contents of these folders will grow
as you progress through the course.