Resource Standard Metrics for C, C++ and Java Visual Metrics Version 5.53 License Type: Site Multi-Network License - 10000 Users Licensed To : M Squared Technologies License No. : ST1000 License Date: Fri Jun 25 06:09:01 1999 (C) 2000 M Squared Technologies Run Date: Tue Oct 10 21:45:30 2000 ________________________________________________________________________ ~~ Comment Extraction Mode ~~ File: cell.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 2636 Bytes ________________________________________________________________________ 1: cell.cpp 3: Implementation for type cell where cell is a piece of an ocean 4: Cell contains a pointer to the base class Target. Through 5: the based class pointer Cell polymorphically calls Hit of the 6: derived target object 33: do not cleanup the target 111: namespace Seahunt 141: fails for already popluated 150: miss 153: hits 158: multiple common hit 166: eof cell.cpp ________________________________________________________________________ End of File: cell.cpp File: cell.h Date: Tue Oct 10 21:45:28 2000 File Size: 829 Bytes ________________________________________________________________________ 1: cell.h 3: Specification for type cell 4: A cell is a piece of an ocean 18: constructor 19: destructor 29: copy constructor 30: true if the cell is hit 31: assigned to the cell 34: depth of the ocean 37: namepsace Seahunt 39: CELL_H ________________________________________________________________________ End of File: cell.h File: game.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1604 Bytes ________________________________________________________________________ 1: game.cpp 45: Place the sub in the ocean 94: fall through 107: namespace ________________________________________________________________________ End of File: game.cpp File: game.h Date: Tue Oct 10 21:45:28 2000 File Size: 400 Bytes ________________________________________________________________________ 1: game.h ________________________________________________________________________ End of File: game.h File: ocean.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 5088 Bytes ________________________________________________________________________ 1: ocean.h 3: implementation for ocean 43: Go through the target list and delete the objects 62: Go through the target list and delete the objects 225: namespace Seahunt ________________________________________________________________________ End of File: ocean.cpp File: ocean.h Date: Tue Oct 10 21:45:28 2000 File Size: 825 Bytes ________________________________________________________________________ 1: ocean.h 3: Specification for type ocean 45: OCEAN_H ________________________________________________________________________ End of File: ocean.h File: player.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1922 Bytes ________________________________________________________________________ 1: player.cpp 28: no dynamic memory allocated by the object 104: namespace ________________________________________________________________________ End of File: player.cpp File: player.h Date: Tue Oct 10 21:45:28 2000 File Size: 666 Bytes ________________________________________________________________________ 1: player.h ________________________________________________________________________ End of File: player.h File: seahunt.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 201 Bytes ________________________________________________________________________ 1: seahunt.cpp ________________________________________________________________________ End of File: seahunt.cpp File: sub.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1418 Bytes ________________________________________________________________________ 1: sub.cpp 68: namespace Seahunt 88: SUB_TEST ________________________________________________________________________ End of File: sub.cpp File: sub.h Date: Tue Oct 10 21:45:28 2000 File Size: 456 Bytes ________________________________________________________________________ 1: sub.h 27: namespace Seahunt ________________________________________________________________________ End of File: sub.h File: target.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1580 Bytes ________________________________________________________________________ 1: target.cpp 95: namespace Seahunt 116: UNIT_TEST 118: eof target.cpp ________________________________________________________________________ End of File: target.cpp File: target.h Date: Tue Oct 10 21:45:28 2000 File Size: 1474 Bytes ________________________________________________________________________ 1: target.h 2: specification for the target base class 4: R. Mudge 5: 09/10/1998 7: Notes: Turn on symbol TARGET_UNIT_TEST to test the component 27: base class 39: Method interface for derived objects 43: return the status of the targer 50: pure virtual method creates abstract class for 51: deployed application, cannot create an instance 52: of this class outside the test driver 67: cannot pass target by value from a private 68: copy constructor 73: namespace Seahunt 75: TARGET_H 77: eof target.h ________________________________________________________________________ End of File: target.h File: utility.cpp Date: Tue Oct 10 21:45:28 2000 File Size: 1778 Bytes ________________________________________________________________________ 1: utility.cpp 12: convert int to ascii 23: convert float to ascii 79: bug in VCPP 5.0 does not work correctly ________________________________________________________________________ End of File: utility.cpp File: utility.h Date: Tue Oct 10 21:45:28 2000 File Size: 566 Bytes ________________________________________________________________________ 1: Utility Class 17: convert int to ascii 19: convert float to ascii ________________________________________________________________________ End of File: utility.h ________________________________________________________________________