00001
00003 #ifndef _WPROLOG_H
00004 #define _WPROLOG_H
00005
00006 #include "xmlprolog.h"
00007 #include "domid.h"
00008 #include <string>
00009 #include <list>
00010
00013 class WProlog:public XmlProlog {
00014 std::string corpusFitx;
00015 DomId corpusId;
00016
00017 protected:
00018
00022 std::list<XMLSimplePrologEntity> getNotations() const;
00023
00027 std::list<XMLSimplePrologEntity> getSubDtds() const;
00028
00032 std::list<XMLSimplePrologEntity> getSubDocs() const;
00033
00037 void analyzeProlog(const XMLSimpleProlog & prolog);
00038
00039 public:
00040
00042 WProlog();
00043
00048 WProlog(const std::string & corpusFitx, const DomId & corpusId);
00049
00054 void putCorpusSubDoc(const std::string & corpusFitx, const DomId & corpusId);
00055
00059 std::string getCorpusFitx() const;
00060
00064 DomId getCorpusId() const;
00065
00066
00067 };
00068
00069
00070 #endif //_WPROLOG_H