X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fxml%2FDTDFile.hpp;h=da1e5fda8a6d3c70a55285cc84b70c2d29586390;hb=refs%2Fheads%2Fwithout_sql;hp=0068cedb3fe1741b36bb03b5edaeb7b2f0214d8d;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/xml/DTDFile.hpp b/include/anna/xml/DTDFile.hpp index 0068ced..da1e5fd 100644 --- a/include/anna/xml/DTDFile.hpp +++ b/include/anna/xml/DTDFile.hpp @@ -20,10 +20,12 @@ namespace xml { */ class DTDFile : public DTD { public: + /** - Constructor. + Constructor + \param file File name */ - DTDFile() {;} + DTDFile(const char *file = NULL) { if (file) initialize(file); } private: _xmlDtd* parse(const char* fileName) const throw(RuntimeException);