⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reports.txt

📁 c#设计模式WithCla
💻 TXT
字号:
With Class Report Scripts for Reports, Tables, and Data Dictionaries.

1. With Class has many scripts to create reports and data dictionaries.  You should run these and add/delete script statements.  Also, if you want to collect information not in a With Class specification, then use an unused field to collect the information you desire.  For example, if you want to collect index information on a class use the class_invariant field to collect index information.  The following  
are the report scripts that may be used with class diagram, e.g. cppcar.omt:
RPTALL.SCT and RPTALL1.SCT - Prints all specification information for the system and classes
RPTSYS.SCT - Prints specification information for the system
RPTCLASS.SCT - Prints all specification information about classes
RPTATTR.SCT -  Prints attribute specification information
RPTOPER.SCT - Prints operation specification information
RPTRELAT.SCT - Prints relationship information
RPTDICT.SCT - Prints a data dictionary report with information in columns

2. The following are the table generation scripts.  Insert the generated ASCII file into a Windows word processing document.
TABCLASS.SCT - Class Table - a comma delineated ASCII file for import
TABATTR.SCT - Attribute Table -  a comma delineated ASCII file for import
TABOPER.SCT - Operation Table - a comma delineated ASCII file for import
TABOPPRE.SCT - Detailed Operation Table - a comma delineated ASCII file for import
TABOBMSG.SCT - Message Table - a comma delineated ASCII file for import
TABRELAT.SCT - Relationship Table - a comma delineated ASCII file for import
DDCLASS.SCT - Data Dictionary - a comma delineated ASCII file for import.

3. The following are the report scripts that may be used with a state diagram, e.g. ST1STATE.OMT:
RPTSTATE.SCT - Prints all state/transition specification info
TABSTATE.SCT - State Transition Table - a comma delineated ASCII file for import.
DDSTATE.SCT - Data Dictionary of State Names - a comma delineated ASCII file for import.

4. The following are the report scripts that may be used with an object interaction diagram, e.g. CAROBJ.OMT:
RPTOBJ.SCT - Prints all state/transition specification info
TABOBJ.SCT - Object Interaction Table - a comma delineated ASCII file for import.
DDOBJ.SCT - Data Dictionary of Object Names - a comma delineated ASCII file for import.

5. Steps to Insert Script Generated Reports into Another Windows Application

Frequently, it is desirable to insert model information into another Windows application.  For example, it is desirable to insert a data dictionary report into a Windows word processor (Microsoft Word 6.0) for formatting, sorting, and printing.  It is desirable to insert an information report (table) into a Windows spreadsheet or database application (Microsoft Excel or Access) for special analysis, sorting, and reports.  The following are the general steps to insert a generated text file into a Windows application, e.g. Microsoft Word 6.0. The following are the steps to import an ASCII file into a Windows word processing document as a table.

5.1.  In With Class, create a class diagram and fill-in text specifications.  Ensure that the class, attribute, operation, and relationship names are entered.  Missing names may appear as a blank in the generated text report.

5.2.  In With Class, run a report to create the COMMA delimited text file, e.g. DDCLASS.SCT.  This script has a COMMA field delimiter and a CARRIAGE RETURN record delimiter.  This script creates the text file, e.g.  REPORT.TXT.  Check REPORT.TXT to ensure that there are three fields of information in each line separated by a COMMA.  Each line should end with a CARRIAGE RETURN.  You may need to remove any extra CARRIAGE RETURNs and to insert a -- in any blank fields.  These actions are required to ensure the information is correctly imported into the Word document or other Windows application.

5.3.  In the Windows application, create a document, e.g. Microsoft Word 6.0 document DATADIC1.DOC.  Then import the text file into a table.  In a Microsoft Word 6.0 document, select Insert Database.  Then select Get Data and enter REPORT.TXT.  Enter the COMMA field delimiter and the CARRIAGE RETURN record delimiter.  Select Insert Data.  A table containing the model information is created.

5.4.  In the Windows application label the table.  You may need to remove any extra CARRIAGE RETURNs and to insert a -- in any blank fields.  Sort and format the table. 

6.  Please send in any report script suggestions, comments, or improvements.  Richard Felsinger RCF Associates, 960 Scottland Dr, Mt Pleasant, SC 29464 telephone 803-881-3648  e-mail 71162.755@compuserve.com


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -