Question file for benchmark/robustness/generated/vacpp The source code in this test buck has been generated by VisualAge C++ and includes a GUI created by the IBM Open Class Library that is missing. (To be completely accurate, the header files are missing as well and the code uses some VAC++ compiler extensions as well.) Consequently is it being used as an example of generated source code and as missing a library. Questions 1 and 2 focus on issues associated with a missing library. Questions 3-5 focus on generated source code. The remaining questions concern general aspects of the output. 1. Was your parser able to generate output for this test bucket? 2. How does it deal with the missing library? 3. Did the unusual file suffixes cause any problems for your parser? 4. Was there unusual features in the code or parser output to distinguish it from manually generated source? 5. How does the parser handle the resource files (.RC, RCI, .RCX. VBB)? 6. Which classes are declared in these files? Where? Answer: Hello Hello.hpp, lines 14, 35-79 HelloConn0 Hello.cpp, line 28-67 ICanvas Hello.hpp, line 23 IPushButton Hello.hpp, line 25 IStaticText Hello.hpp, line 24 IVBConnectionList Hello.hpp, line 21 7. What are the public methods in the Hello class? Answer: Hello( unsigned long id = WND_Hello, IWindow* parent = IWindow::desktopWindow(), IWindow* owner = 0, const IRectangle& rect = defaultFramingSpec(), const IFrameWindow::Style& style = IFrameWindow::defaultStyle ( ), const char* title = defaultTitle()); virtual ~Hello(); static const IRectangle defaultFramingSpec(); static IString defaultTitle(); virtual Hello & initializePart(); Hello * getFrameWindow() { return this; }; 8. Where are these methods defined? Answer: Hello Hello.cpp, line 91-123 ~Hello Hello.cpp, line 128-135 defaultFramingSpec Hello.cpp, line 91-123 IString defaultTitle Hello.cpp, line 83-86 initializePart Hello.cpp, line 140-145 getFrameWindow Hello.hpp, line 56 9. The Hello class has a private member data called iCanvas. What is its type and where is it used? Answer: Its type is ICanvas. It is used in the following places and ways. Location Usage Function Hello.cpp, line 102 write Hello::Hello Hello.cpp, line 109 read Hello::Hello in call to IStaticText::IStaticText Hello.cpp, line 110 read Hello::Hello in call to IStaticText::IStaticText Hello.cpp, line 114 read Hello::Hello in call to IPushButton::IPushButton Hello.cpp, line 115 read Hello::Hello in call to IPushButton::IPushButton Hello.cpp, line 121 read Hello::Hello in call to IFrameWindow::setClient Hello.cpp, line 134 write Hello::~Hello Hello.cpp, line 153 read Hello::makeConnections