projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create branch library-split
[SXSI/TextCollection.git]
/
TextCollection.cpp
diff --git
a/TextCollection.cpp
b/TextCollection.cpp
index
1755b6b
..
abc6f91
100644
(file)
--- a/
TextCollection.cpp
+++ b/
TextCollection.cpp
@@
-1,6
+1,7
@@
#include "TextCollection.h"
#include "FMIndex.h"
#include "SWCSAWrapper.h"
#include "TextCollection.h"
#include "FMIndex.h"
#include "SWCSAWrapper.h"
+#include "RLCSAWrapper.h"
namespace SXSI
{
namespace SXSI
{
@@
-23,6
+24,9
@@
namespace SXSI
case 'W':
return new SWCSAWrapper(fp, filename);
break;
case 'W':
return new SWCSAWrapper(fp, filename);
break;
+ case 'R':
+ return new RLCSAWrapper(fp, filename);
+ break;
}
std::cerr << "TextCollection::Load(): invalid save file version or corrupted input file." << std::endl;
}
std::cerr << "TextCollection::Load(): invalid save file version or corrupted input file." << std::endl;