#ifndef GAME_MWWORLD_CELLFUNCTORS_H #define GAME_MWWORLD_CELLFUNCTORS_H #include #include #include "refdata.hpp" namespace ESM { class CellRef; } namespace MWWorld { /// List all (Ogre-)handles. struct ListHandles { std::vector mHandles; bool operator() (ESM::CellRef& ref, RefData& data) { std::string handle = data.getHandle(); if (!handle.empty()) mHandles.push_back (handle); return true; } }; } #endif