EDoc: Interior |
previous next |
Although EDoc only creates HTML output, the facilities are mostly prepared to support multiple output formats. For this purpose the tool provides a deferred class (EDOC_OUTPUT). The features of this class will be called when the single files have to be created and thus the output can be customized. This file also provides the output format to specify a default options file and an options file class to extend the options file parser.
When the output is selected - at the moment just an instance of EDOC_HTML_OUTPUT will be created - the tool parses the options file and compiles the selected system or library with the GOBO parser.
Then the clusters and classes according to the options are filtered and for each cluster and class the output format will be called to create the appropriate file.
As mentioned in the previous section, EDoc has the capabilities to be extended for other output formats. To provide an extension one has to implement the deferred class EDOC_OUTPUT. It is recommended to look at the code for HTML output as an example.
There are also some of the HTML output wich have to be placed in a common ancestor of various output features to faciliate programming new output formats.
Copyright © 2005, Julian Tschannen mailto:juliant@student.ethz.ch Last Updated: 30 Oktober 2005 |
index previous next |