CSE687 - Object Oriented Design
Lecture #3 - Encapsulation
Revised: 18 January 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 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
-
Project #1 statement
Dissecting the Project #1 statement - What is hard? What is easy? Suggestions.
Tokenizer, XmlElementParts, Prototype
Dissecting the prototype code - Goals, Structure, design trade-offs, C++ specific details.
-
XML Presentation
Ideas behind Project #1 demos
-
Programming to Interfaces - Diagram
-
Programming to Interfaces - code example
Encapsulation
-
Encapsulation Principle
-
Encapsulation Presentation
-
Class Relationships - code example
-
Equivalent Syntaxes
-
Abstract Data Types Presentation