/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/Parser.hh
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/Parser.hh

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

revision 1.1.2.1 by cpcp, Sun Aug 18 19:49:21 2002 UTC revision 1.1.2.2 by cpcp, Sun Nov 3 14:25:07 2002 UTC
# Line 25  Line 25 
25    
26  #include "GEDCOMParser/GEDCOMFactory.hh"  #include "GEDCOMParser/GEDCOMFactory.hh"
27  #include "GEDCOMParser/LineageLinkageGedcom.hh"  #include "GEDCOMParser/LineageLinkageGedcom.hh"
28    #include "GEDCOMParser/ParseErrorManagement/ParseErrorManager.hh"
29    
30  #include <string>  #include <string>
31    
# Line 37  namespace GEDCOMParser { Line 38  namespace GEDCOMParser {
38          @param factory is the factory used to build the structure during the parsing          @param factory is the factory used to build the structure during the parsing
39          @param lineage is the GEDCOM lineage transmission used to store the parsed structures ; if lineage is not initialized by the constructor, a new object will be created ; otherwise the passed object will be modified          @param lineage is the GEDCOM lineage transmission used to store the parsed structures ; if lineage is not initialized by the constructor, a new object will be created ; otherwise the passed object will be modified
40      */      */
41      Parser(GEDCOMParser::GEDCOMFactory const * factory, GEDCOMParser::LineageLinkageGedcom * lineage = 0);      Parser(GEDCOMParser::GEDCOMFactory const * factory,
42      ~Parser(void)             GEDCOMParser::LineageLinkageGedcom * lineage = 0);
43      {};      ~Parser(void)
44        {
45          delete _parse_error_manager; _parse_error_manager = 0;
46          return;
47        };
48      /** @memo execute the parsing      /** @memo execute the parsing
49          @param filename identifies the file to parse          @param filename identifies the file to parse
50          @param debug : if set to 1, the execution will output its operations on stderr          @param debug : if set to 1, the execution will output its operations on stderr
51      */      */
52      void Parse(std::string const &filename, int debug = 0);      GEDCOMParser::ParseErrorManagement::ParseErrorManager const &Parse(std::string const &filename, int debug = 0);
53      /** @memo get the lineage linkage GEDCOM structure after the parsing      /** @memo get the lineage linkage GEDCOM structure after the parsing
54          @return a LineageLinkageGedcom object          @return a LineageLinkageGedcom object
55      */        */  
# Line 52  namespace GEDCOMParser { Line 57  namespace GEDCOMParser {
57    private:    private:
58      GEDCOMParser::GEDCOMFactory const * const _factory;      GEDCOMParser::GEDCOMFactory const * const _factory;
59      GEDCOMParser::LineageLinkageGedcom * _lineage_linkage_gedcom;      GEDCOMParser::LineageLinkageGedcom * _lineage_linkage_gedcom;
60        GEDCOMParser::ParseErrorManagement::ParseErrorManager * _parse_error_manager;
61    };    };
62  };  };
63    

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

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