Standard C++ IOStreams and Locales: Advanced Programmer's Guide and Reference

Couverture
Addison-Wesley Professional, 2000 - 640 pages
3 Avis

Standard C++ provides a foundation for creating new, improved, and more powerful C++ components. IOStreams and locales are two such major components for text internationalization. As critical as these two APIs are, however, there are few resources devoted to explaining them.

"Standard C++ IOStreams and Locales" fills this informational gap. It provides a comprehensive description of, and reference to, the iostreams and locales classes, showing how to put them to use and offering advanced information on customizing and extending their basic operation. Written by two experts involved with the development of the standard, this book reveals the rationale behind the design of the APIs and points out their potential pitfalls.

This book serves as both a guide and a reference to C++ components. Part I explains iostreams, what they are, how they are used, their underlying architectural concepts, and the techniques for extending the iostream framework. Part II introduces internationalization and shows you how to adapt your program to local conventions. Readers seeking an initial overview of the problem domain will find an explanation of what internationalization and localization are, how they are related, and how they differ. With examples, the authors show the differences among cultural conventions, how C++ locales can be used to address such differences, and how locale framework can be extended to handle further, nonstandard cultural conventions. "Standard C++ IOStreams and Locales"

  • Explains formatting and error indication features of iostreams in detail
  • Describes underlying concepts of the iostreams framework
  • Demonstrates implementation of i/o operations for user-defined types
  • Shows techniques for implementing extended stream and stream buffer classes
  • Introduces internationalization
  • Explains how to use standard features for internationalization
  • Demonstrates techniques for implementation of user-defined internationalization services

IOStreams and locales serve as a foundation library that provides a number of ready-to-use interfaces, as well as frameworks that can be customized and extended. The class reference to C++ IOStreams and locales completes this comprehensive resource, which belongs in the libraries of all intermediate and advanced C++ programmers.
0201183951B04062001

  

Avis des internautes - Rédiger un commentaire

Aucun commentaire n'a été trouvé aux emplacements habituels.

Table des matières

FOREWORD
xv
PREFACE
xvii
GUIDE FOR READERS
xxi
Stream Input and Output
1
lOStreams Basics
3
I
11
1824 Synchronization Between Predefined Standard Streams for
59
The Architecture of IOStreams
61
Opens the message catalog identified by the name according to
389
Destroys an object of type messages_bynamecharT
392
value
394
Returns the character that represents the thousands separator
402
Destroys an object of type moneypunct_bynamecharT Inter
404
Destroys an object of type numpunct_bynamecharT
418
daylight saving time flag The value of tm_isdst is positive
439
2
440

r
70
I I i
94
I 1
97
I I I
98
Advanced lOStreams Usage
145
Internationalization
249
Introduction to Internationalization
251
Locales
265
Standard Facets
275
The Architecture of the Locale
311
UserDefined Facets
327
REFERENCE GUIDE
343
LOCALE
346
No conversion is needed in the case of in
359
Destroys an object of type collate_bynamecharT
366
Places the charT representation that corresponds to the elements from
372
Returns a pointer to a table that implements a character
376
3
451
The predefined global streams listed above are initialized in such
466
496 basic ostreamcharTtraits
496
Allows an object of a derived class to be informed
516
to_int_type gptr
520
4
540
5
555
member function that is the operation returns os
556
Parsing and Extraction of Numerical
563
Formatting Numerical
569
strftimeO Conversion Specifiers
575
Correspondences Between C Stdio and
579
Differences Between Classic
581
Relationship Between C
591
New C++ Features and Idioms
595
BIBLIOGRAPHY
623
Droits d'auteur

Expressions et termes fréquents

Références à ce livre

Tous les résultats Google Recherche de Livres »

À propos de l'auteur (2000)

Angelika Langer works as a freelance instructor and courseware developer. Previously, she was a senior trainer and developer at Rogue Wave Software, Inc. She also worked for a compiler group at Siemens, where she was responsible for the C++ compiler's standard library. She is a frequent speaker at international object-oriented conferences and was a member of the ISO/ANSI C++ standards committee.

Klaus Kreft is a Senior Consultant at Siemens Business Services. He was previously a senior consultant at Rogue Wave Software, Inc., and system architect at Siemens. Together with Angelika Langer he writes a regular column on the Standard C++ Library for C++ Report.



0201183951AB04062001

Informations bibliographiques