Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

OMF::XmiReader Class Reference

#include <XmiReader.hpp>

List of all members.


Detailed Description

The XmiReader is actually a front for a number of different supported XMI formats. The read methods of this class basically take a cursory look at the file being requested and will decide upon the best reader for the file.

Note for developers: If we want to add some URL fetching component we'd put it somewhere in here to parse out the URL.


Public Member Functions

 XmiReader ()
 ~XmiReader ()
bool read (Model *model, const char *filename)

Protected Member Functions

bool readXmi (Model *model, const char *filename)


Constructor & Destructor Documentation

OMF::XmiReader::XmiReader  ) 
 

OMF::XmiReader::~XmiReader  ) 
 


Member Function Documentation

bool OMF::XmiReader::read Model model,
const char *  filename
 

Populate a model with information from the specified file. Depending on the type of file or the XMI protocol used, different parsing protocols may be enabled.

bool OMF::XmiReader::readXmi Model model,
const char *  filename
[protected]
 

Examine the XML document to determine the most appropriate XMI version to use.


The documentation for this class was generated from the following file:
Generated on Fri Sep 10 13:07:38 2004 for OpenModelingFramework by doxygen 1.3.8