aboutsummaryrefslogblamecommitdiffstats
path: root/tests/indextest.cpp
blob: 457a2e406cb626dadc5d01b32af6e9b0570b85a4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                             
                                





                                                                 
#include <swmgr.h>
#include <iostream>
#include <versekey.h>

int main(int argc, char **argv) {
	SWMgr mymgr;

	SWModule *bbe = mymgr.Modules["BBE"];

	if (bbe) {
		VerseKey vk;
		vk.Persist(1);
		bbe->setKey(vk);
		for (; !bbe->Error(); (*bbe)++ ) {
			std::cout << vk.NewIndex() << std::endl; 
		}
	}
	return 0;
}