XML, Tree Structures, and DOM

Table of contents:

Review Questions

1.

If there is a syntax error in your XML file, how do you determine the cause and location?

2.

SAX is an event-driven parser. What kinds of events does it respond to?

3.

Qt (as well as other language frameworks) offers two XML parser APIs, one is SAX and the other is DOM. Compare and contrast them. Why would you use one rather than the other?

4.

If you have a QDomNode and it is actually "pointing" to a QDomElement, how do you get a reference to the QDomElement?

5.

Explain how DomWalker is an application of the Visitor pattern.


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