#include <sword2net.h>
Public Member Functions | |
SwordLibrary (void) | |
List< String^ >^ | GetSwordModules (String^ modType) |
Definition at line 10 of file sword2net.h.
SwordLibrary::SwordLibrary | ( | void | ) |
Definition at line 13 of file sword2net.cpp.
List< String^ > SwordLibrary::GetSwordModules | ( | String^ | modType | ) |
Definition at line 19 of file sword2net.cpp.
00019 { 00020 00021 List<String^>^ modules= gcnew List<String^>(); 00022 SWMgr library; 00023 ModMap::iterator sword_modules; 00024 for (sword_modules = library.Modules.begin(); sword_modules != library.Modules.end(); sword_modules++) 00025 { 00026 SWModule *module = (*sword_modules).second; 00027 if (0==String::Compare(gcnew String(module->Type()), modType,false)) 00028 modules->Add(gcnew String(module->Name())); 00029 } 00030 return modules; 00031 };