5
%ignore sword::SWMgr::Modules;
6
%ignore sword::SWMgr::findConfig;
10
std::vector < sword::SWBuf > getGlobalOptionsVector() {
11
std::list<sword::SWBuf> l(self->getGlobalOptions());
12
return std::vector< sword::SWBuf >(l.begin(), l.end());
15
std::vector < sword::SWBuf > getGlobalOptionValuesVector(const char *option) {
16
std::list<sword::SWBuf> l(self->getGlobalOptionValues(option));
17
return std::vector< sword::SWBuf >(l.begin(), l.end());
20
std::map<sword::SWBuf, sword::SWModule*> &getModules() {
24
SWModule* getModuleAt( const int pos ) {
25
if (pos < 0 || pos > (int)self->Modules.size() )
28
sword::ModMap::iterator it = self->Modules.begin();
30
for (int i = 0; i < pos; ++i) {
34
if ( it != self->Modules.end() ) {