xoreos
0.0.5
|
#include <objectcontainer.h>
Public Types | |
typedef T | type |
typedef T::const_iterator | iterator |
typedef std::pair< iterator, iterator > | range |
Public Member Functions | |
SearchRange (const range &r) | |
~SearchRange () | |
Object * | get () |
Return the current object in the search context. More... | |
Object * | next () |
Move to the next object in the search context and return the previous one. More... | |
Public Member Functions inherited from Aurora::NWScript::ObjectSearch | |
ObjectSearch () | |
virtual | ~ObjectSearch () |
Protected Member Functions | |
virtual Object * | getObject (const iterator &t)=0 |
Private Attributes | |
range | _range |
Definition at line 50 of file objectcontainer.h.
typedef T::const_iterator Aurora::NWScript::SearchRange< T >::iterator |
Definition at line 53 of file objectcontainer.h.
typedef std::pair<iterator, iterator> Aurora::NWScript::SearchRange< T >::range |
Definition at line 54 of file objectcontainer.h.
typedef T Aurora::NWScript::SearchRange< T >::type |
Definition at line 52 of file objectcontainer.h.
|
inline |
Definition at line 56 of file objectcontainer.h.
|
inline |
Definition at line 57 of file objectcontainer.h.
|
inlinevirtual |
Return the current object in the search context.
Implements Aurora::NWScript::ObjectSearch.
Definition at line 59 of file objectcontainer.h.
Referenced by Aurora::NWScript::ObjectContainer::getFirstObject(), Aurora::NWScript::ObjectContainer::getFirstObjectByTag(), Engines::Sonic::ObjectContainer::getFirstObjectByType(), Engines::Jade::ObjectContainer::getFirstObjectByType(), Engines::KotOR2::ObjectContainer::getFirstObjectByType(), Engines::NWN2::ObjectContainer::getFirstObjectByType(), Engines::NWN::ObjectContainer::getFirstObjectByType(), Engines::Witcher::ObjectContainer::getFirstObjectByType(), Engines::KotOR::ObjectContainer::getFirstObjectByType(), Engines::DragonAge2::ObjectContainer::getFirstObjectByType(), and Engines::DragonAge::ObjectContainer::getFirstObjectByType().
|
protectedpure virtual |
Implemented in Aurora::NWScript::SearchTagMap, Aurora::NWScript::SearchList, Engines::KotOR::SearchType, Engines::NWN::SearchType, Engines::NWN2::SearchType, Engines::Witcher::SearchType, Engines::Jade::SearchType, Engines::KotOR2::SearchType, Engines::DragonAge::SearchType, Engines::DragonAge2::SearchType, and Engines::Sonic::SearchType.
Referenced by Aurora::NWScript::SearchRange< std::list< NWN2::Object *> >::get(), and Aurora::NWScript::SearchRange< std::list< NWN2::Object *> >::next().
|
inlinevirtual |
Move to the next object in the search context and return the previous one.
Implements Aurora::NWScript::ObjectSearch.
Definition at line 66 of file objectcontainer.h.
|
private |
Definition at line 81 of file objectcontainer.h.
Referenced by Aurora::NWScript::SearchRange< std::list< NWN2::Object *> >::get(), and Aurora::NWScript::SearchRange< std::list< NWN2::Object *> >::next().