X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLDocShredder.cpp;h=c048d2e625e725f738330f0271cc891a7ea2a160;hb=8b3283c30149065d761e38cf0818c8ede62d48ab;hp=d2e4a7503c105115d093d863344b1e6584c4ef5c;hpb=24fdea81b5506233d139bd7d72364a190bef35b8;p=SXSI%2Fxpathcomp.git diff --git a/XMLDocShredder.cpp b/XMLDocShredder.cpp index d2e4a75..c048d2e 100644 --- a/XMLDocShredder.cpp +++ b/XMLDocShredder.cpp @@ -53,21 +53,24 @@ void XMLDocShredder::setProperties(){ } XMLDocShredder::XMLDocShredder(const unsigned char * data, - TextReader::size_type size) + TextReader::size_type size, + int sf, + bool iet, + bool dtc) { last_text = false; reader_ = new TextReader(data,size,""); setProperties(); - storageIfc_ = new SXSIStorageInterface(); + storageIfc_ = new SXSIStorageInterface(sf,iet,dtc); buffer = ""; } -XMLDocShredder::XMLDocShredder(const string inFileName) +XMLDocShredder::XMLDocShredder(const string inFileName,int sf, bool iet, bool dtc) { last_text = false; reader_ = new TextReader(inFileName); setProperties(); - storageIfc_ = new SXSIStorageInterface(); + storageIfc_ = new SXSIStorageInterface(sf,iet,dtc); buffer = ""; }