Applied C++: Techniques for Building Better Software (Paperback)

Applied C++: Techniques for Building Better Software (Paperback)

作者: Philip Romanik Amy Muntz
出版社: Addison Wesley
出版在: 2003-05-01
ISBN-13: 9780321108944
ISBN-10: 0321108949
裝訂格式: Paperback
總頁數: 352 頁





內容描述


Table of Contents
Preface.

  1. Introduction.
    Imaging Basics.
    RGB Images.
    HSI Images.

Summary.

  1. A Test Application.
    Image Class Design.
    Thumbnail Class.
    Thumbnail Algorithm.

Implementation.
Image Class.
Thumbnail Class.

Summary.

  1. Design Techniques.
    Memory Allocation.
    Why a Memory Allocation Object Is Needed.
    Memory Allocation Object Requirements.
    A Primer on Templates.
    Notations Used in Class Diagrams.
    Memory Allocator Object?s Class Hierarchy.

Prototyping.
Why Prototyping Works.
Common Fears.
Our Image Framework Prototyping Strategy.
Prototype 1: Simple Image Objects.
Prototype 2: Templated Image Objects.
Prototype 3: Separating Storage from Image Objects.

Summary.

  1. Design Considerations.
    Coding Guidelines.
    Changes to Existing Software.
    Naming Conventions.
    Indentation.
    Comments.
    Header File Issues.
    Restrictions.

Reusable Code.
The Economics of Reusability.

Designing in Debugging Support.
Creating a Generalized Debugging Stream.
Creating Sinks.
Connecting a Sink to a Stream.
Controlling Debugging Output.
Accessing Objects Indirectly Through an Object Registry.

Summary.

  1. System Considerations.
    Multithreaded and Multiprocess Designs.
    Threads.
    Thread Synchronization.
    Processes.

Exception Handling.
Designing Your Own Exception Framework.
Avoiding Exception Abuse.
Using Assertions.

Compile-Time Versus Run-Time Issues.
Compiler Issues.
Run-Time Issues.
Template Specialization.

Coding for Internationalization.
Unicode.
A Simple Resource Manager for Strings.
Saving and Restoring Strings from Files.
An Alternate Approach to Handling Strings.
Locales.

Summary.

  1. Implementation Considerations.
    Finalizing the Image Components.
    Image Coordinates.
    Image Storage.
    Pixel Types.

Finalizing the Image Class.
Image Object.

Adding Global Image Functions.
Copying an Image.
Processing Single Source Images.
Processing Two Source Images.
Processing Images with Neighborhood Operators.
Generating Thumbnails.

Finalizing Interfaces to Third-Party Software.
File Delegates.
Image Delegates.

Summary.

  1. Testing and Performance.
    Unit Tests.
    Using the Unit Test Framework.
    Design of the Unit Test Framework.
    Extending the Unit Test Framework.

Performance Tuning.
General Guidelines.
Thirteen Ways to Improve Performance.
Image-Specific Improvements.
A Note About Timing Your Code.

Summary.

  1. Advanced Topics.
    Memory Issues.
    Copy on Write.
    Caching Issues.

Language Construct Issues.
Explicit Keyword Usage.
Const Usage.
Pass by Reference Usage.

Extending the Framework.
Adding Image Processing Functions.
Enhancing Digital Photographs.

Summary.

A. Useful Online Resources.
Software.
Standards.

B. CD-ROM Information.
Contents.
Framework.
Prototypes.
Utilities.
DebugView Utility.
Intel C++ Compiler.

Delegates.
Intel Integrated Performance Primitives (IPP).
JPEG.
TIFF.




相關書籍

Algorithms in C++ Part 5: Graph Algorithms, 3/e (Paperback)

作者 Robert Sedgewick

2003-05-01

TCP/IP Illustrated, Volume 1 : The Protocols, 2/e (Hardcover)

作者 Kevin R. Fall W. Richard Stevens

2003-05-01

優化 C++|提高程式效能的有效技術 (Optimized C++: Proven Techniques for Heightened Performance)

作者 Kurt Guntheroth 陳健文 譯

2003-05-01