Lec15-IOMgmt-Fall08 - COP 4331 and EEL4884 OO Processes for...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 4331 and EEL4884 OO Processes for Software Development Software Specification For Namespace IOMgmt © Dr. David A. Workman School of Computer Science University of Central Florida Orlando, Florida September 14, 2005 Revised: October 3, 2007
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Table of Contents 1.0 Class InMgr (namespace IOMgmt ) .......................................................................................................................... 1 2.0 Class OutMgr (namespace IOMgmt ) ........................................................................................................................ 2 3.0 Example. Use of margin control methods. ............................................................................................................... 7 List of Figures Figure 1. OutMgr Data Design. ....................................................................................................................................... 2 Figure 2. Method OutMgr::pushMargin(). ....................................................................................................................... 5 Figure 3. Method OutMgr::popMargin(). ....................................................................................................................... 5 Figure 4. Method OutMgr::newLine(). ............................................................................................................................ 5 Figure 5. Method OutMgr::deltaMargin(). ...................................................................................................................... 6 Figure 6. Method OutMgr::toMargin. ............................................................................................................................. 6 Figure 7. Object Output Format. ..................................................................................................................................... 7 List of Tables Table 1. Method Table for InMgr. ................................................................................................................................... 1 Table 2. Attribute Table for OutMgr. .............................................................................................................................. 2 Table 3. Method Table for OutMgr. ................................................................................................................................ 2 Page i
Background image of page 2
Namespace IOMgmt 1.0 Class InMgr (namespace IOMgmt ) The purpose of this class is to encapsulate the user dialog necessary to define and open an input file stream. Additional methods are provided enabling the client to re-read segments of the input stream under program control. Table 1. Method Table for InMgr Method Profile Purpose and Functional Requirements +InMgr (string Prompt) throw ( IOError ) Constructor. Sets all data members to their default value. It conducts a dialog with the user using cin and cout to identify the name of the input file . The constructor parameter ( Prompt
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 9

Lec15-IOMgmt-Fall08 - COP 4331 and EEL4884 OO Processes for...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online