The Façade Pattern

Table of contents:

Review Questions

1.

How can a creational pattern help manage object destruction?

2.

How can properties help us write a more general-purpose Writer?

3.

How can an Abstract Factory help us write a more general-purpose Reader?

4.

What is auto_ptr used for?

5.

What is special about assignment between auto_ptr objects?

6.

We can create a FormModel in a number of ways. One approach is to create Question objects directly and add them. Another way is to create a FormModel from a DataObject. Why would we use one technique instead of the other?

7.

Name other examples of façades that we have worked with in the book. Explain why they are façades (or wrappers).


Part I: Introduction to C++ and Qt 4

C++ Introduction

Classes

Introduction to Qt

Lists

Functions

Inheritance and Polymorphism

Part II: Higher-Level Programming

Libraries

Introduction to Design Patterns

QObject

Generics and Containers

Qt GUI Widgets

Concurrency

Validation and Regular Expressions

Parsing XML

Meta Objects, Properties, and Reflective Programming

More Design Patterns

Models and Views

Qt SQL Classes

Part III: C++ Language Reference

Types and Expressions

Scope and Storage Class

Statements and Control Structures

Memory Access

Chapter Summary

Inheritance in Detail

Miscellaneous Topics

Part IV: Programming Assignments

MP3 Jukebox Assignments

Part V: Appendices

MP3 Jukebox Assignments

Bibliography

MP3 Jukebox Assignments



An Introduction to Design Patterns in C++ with Qt 4
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net