25 #ifndef AURORA_NWSCRIPT_OBJECTCONTAINER_H 26 #define AURORA_NWSCRIPT_OBJECTCONTAINER_H 54 typedef std::pair<iterator, iterator>
range;
147 #endif // AURORA_NWSCRIPT_OBJECTCONTAINER_H
T::const_iterator iterator
virtual Object * next()=0
Move to the next object in the search context and return the previous one.
A class holding an UTF-8 string.
std::map< uint32, Object * > ObjectIDMap
virtual Object * getObject(const iterator &t)=0
SearchList::type ObjectList
SearchRange(const range &r)
Object * getObject(const iterator &t)
ObjectTagMap _objectsByTag
Object * getFirstObject() const
Return the first object.
std::pair< iterator, iterator > range
Object * getObject(const iterator &t)
ObjectSearch * findObjectsByTag(const Common::UString &tag) const
Return a search context to iterate over all objects with this tag.
ObjectSearch * findObjects() const
Return a search context to iterate over all objects.
void removeObject(Object &object)
Remove an object from this container.
Object * next()
Move to the next object in the search context and return the previous one.
Object * getObjectByID(uint32 id) const
Find a specific object by ID.
SearchList(const type &l)
SearchTagMap(const type &m, const Common::UString &tag)
SearchTagMap::type ObjectTagMap
Object * getFirstObjectByTag(const Common::UString &tag) const
Return the first object with this tag.
void addObject(Object &object)
Add an object to this container.