/[marvin]/marvin/src/libnn/xml/xmlVisitor.mli
ViewVC logotype

Diff of /marvin/src/libnn/xml/xmlVisitor.mli

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by srv89, Mon Sep 8 12:45:49 2003 UTC revision 1.4 by srv89, Mon Sep 8 23:28:47 2003 UTC
# Line 51  open DefaultVisitor Line 51  open DefaultVisitor
51    existing file.    existing file.
52  *)  *)
53  exception FileExists  exception FileExists
54    
55    (**
56      Raised if an error occurs during the XML parsing.
57    *)
58    exception ParseError
59        
60  (**  (**
61    The abstract XML export visitor.    The abstract XML export visitor.
# Line 81  object Line 86  object
86    val mutable _fileName : string    val mutable _fileName : string
87    
88    (**    (**
89        A get*.
90        @return the name of the .xml file which is to be generated.
91      *)
92      method getFileName : string
93    
94      (**
95        Sets the name of the .xml file which is to be generated.
96      *)
97       method setFileName : string -> unit
98    
99      (**
100      If true, then if _fileName already exists on the disk, it is overwritten      If true, then if _fileName already exists on the disk, it is overwritten
101      during the dump. Otherwise the `FileExists' exception is thrown during      during the dump. Otherwise the `FileExists' exception is thrown during
102      the dump.      the dump.
# Line 88  object Line 104  object
104    val mutable _overwriteFile : bool    val mutable _overwriteFile : bool
105    
106    (**    (**
107        A get*.
108        @return True if the `overwrite' mode is set. Otherwise, false.
109      *)
110      method getOverwriteFile : bool
111          
112      (**
113        Enables to choose whether LibNN is supposed to overwrite files during
114        XML dumps or not.
115      *)
116      method setOverwriteFile : bool -> unit
117          
118      (**
119      The out_channel used to dump the neural network. stdout is actually      The out_channel used to dump the neural network. stdout is actually
120       never used (since there is a default value for _fileName), but OCaml       never used (since there is a default value for _fileName), but OCaml
121      needs an initial value...      needs an initial value...
# Line 143  object Line 171  object
171    (**    (**
172      Parses an XML file and creates a nn object out of it.      Parses an XML file and creates a nn object out of it.
173    *)    *)
174    method private xmlParse : nn    method xml2Nn : nn
175    
176    (**    (**
177      The generic visit method.      The generic visit method.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26