24 #ifndef GUI_MODELS_ITEMSMODEL_H
25 #define GUI_MODELS_ITEMSMODEL_H
46 std::list<std::string> tempStrings;
48 for (std::map<int, ItemInfo*>::const_iterator
49 i = items.begin(), i_end = items.end();
56 const std::string &name =
info.getName();
57 if (name !=
"unnamed" && !
info.getName().empty()
58 &&
info.getName() !=
"unnamed")
60 tempStrings.push_back(name);
64 FOR_EACH (std::list<std::string>::const_iterator, i, tempStrings)
std::string getElementAt(int i)
int getNumberOfElements()
#define FOR_EACH(type, iter, array)
#define A_DELETE_COPY(func)
bool info(InputEvent &event)
const ItemDB::ItemInfos & getItemInfos()
std::vector< std::string > StringVect