Iteration and the Visitor Pattern

Table of contents:

Review Questions


What is a design pattern? What is an example of a design pattern? Why would you use it?


Why does the FileVisitor need to be recursive?


There are three kinds of design patterns: structural, creational, and behavioral. Which kind is the visitor? Why?


FileVisitor could be used to make changes to selected files. Testing such an app would be quite risky. How would you do it?

Part I: Introduction to C++ and Qt 4

C++ Introduction


Introduction to Qt



Inheritance and Polymorphism

Part II: Higher-Level Programming


Introduction to Design Patterns


Generics and Containers

Qt GUI Widgets


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


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

Similar book on Amazon © 2008-2020.
If you may any questions please contact us: