ProgramAssignment3

ProgramAssignment3 - CSE Programming in C# Programming...

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

View Full Document Right Arrow Icon
CSE Programming in C# Roger Crawfis Programming Assignment #3 A SceneGraph Library - Part II: Internal classes, Factories and Serialization. We will now create two applications, one for creating a scenegraph and the other for reading it in and printing it out to the console. This will allow you to work with reading input from the console, using internal classes that support a public interface, and using .NET’s support for serialization to write and read arbitrary graph data structures. Additionally, we will use a couple of Windows Form controls. We will start with your results from Programming Assignment 2. We will perform the following tasks: 1. Create a new Console Application (in the same solution) called CreateScene. 2. Create a new Console Application (again in the same solution) called ReadScene. 3. Change SceneGraph.exe to a class library (i.e., a dll). 4. Move your concrete visitors to the ReadScene project. 5. Add attributes for serialization for all of your classes in the SceneGraph project. 6. Explicitly indicate the protection all of your classes in the SceneGraph project to be internal . 7. Add a public Factory interface (ISceneGraphFactory) to ISceneGraph. 8. Add a public Factory class to SceneGraph that implements ISceneGraphFactory. This should not be marked as serializable. 9. Add a class called SearchVisitor to CreateScene that implements IVisitor. 10. Have IGroupNode require implementation of IEnumerable<ISceneGraphNode> and update your concrete implementation to support this. This will allow you to loop through the children. You can simply return the internal container’s enumerator . Create a test case for this.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/27/2012 for the course CSE 459.24 taught by Professor Crawfis during the Winter '11 term at Ohio State.

Page1 / 3

ProgramAssignment3 - CSE Programming in C# Programming...

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

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