xoreos  0.0.5
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Aurora::NWScript::SearchRange< T > Class Template Referenceabstract

#include <objectcontainer.h>

Inheritance diagram for Aurora::NWScript::SearchRange< T >:
Inheritance graph
[legend]
Collaboration diagram for Aurora::NWScript::SearchRange< T >:
Collaboration graph
[legend]

Public Types

typedef T type
 
typedef T::const_iterator iterator
 
typedef std::pair< iterator, iteratorrange
 

Public Member Functions

 SearchRange (const range &r)
 
 ~SearchRange ()
 
Objectget ()
 Return the current object in the search context. More...
 
Objectnext ()
 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 ObjectgetObject (const iterator &t)=0
 

Private Attributes

range _range
 

Detailed Description

template<typename T>
class Aurora::NWScript::SearchRange< T >

Definition at line 50 of file objectcontainer.h.

Member Typedef Documentation

◆ iterator

template<typename T>
typedef T::const_iterator Aurora::NWScript::SearchRange< T >::iterator

Definition at line 53 of file objectcontainer.h.

◆ range

template<typename T>
typedef std::pair<iterator, iterator> Aurora::NWScript::SearchRange< T >::range

Definition at line 54 of file objectcontainer.h.

◆ type

template<typename T>
typedef T Aurora::NWScript::SearchRange< T >::type

Definition at line 52 of file objectcontainer.h.

Constructor & Destructor Documentation

◆ SearchRange()

template<typename T>
Aurora::NWScript::SearchRange< T >::SearchRange ( const range r)
inline

Definition at line 56 of file objectcontainer.h.

◆ ~SearchRange()

template<typename T>
Aurora::NWScript::SearchRange< T >::~SearchRange ( )
inline

Definition at line 57 of file objectcontainer.h.

Member Function Documentation

◆ get()

template<typename T>
Object* Aurora::NWScript::SearchRange< T >::get ( )
inlinevirtual

◆ getObject()

template<typename T>
virtual Object* Aurora::NWScript::SearchRange< T >::getObject ( const iterator t)
protectedpure virtual

◆ next()

template<typename T>
Object* Aurora::NWScript::SearchRange< T >::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.

Member Data Documentation

◆ _range

template<typename T>
range Aurora::NWScript::SearchRange< T >::_range
private

The documentation for this class was generated from the following file: