OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
MWWorld::ContainerStoreIteratorBase< PtrType > Class Template Reference

#include <containerstore.hpp>

Inheritance diagram for MWWorld::ContainerStoreIteratorBase< PtrType >:
Collaboration diagram for MWWorld::ContainerStoreIteratorBase< PtrType >:

Classes

struct  ContainerStoreTrait
 
struct  ContainerStoreTrait< ConstPtr, Dummy >
 
struct  IsConvertible
 
struct  IsConvertible< ConstPtr, Ptr, Dummy >
 
struct  Iterator
 
struct  IteratorTrait
 
struct  IteratorTrait< T, ConstPtr >
 

Public Member Functions

template<class T >
 ContainerStoreIteratorBase (const ContainerStoreIteratorBase< T > &other)
 
template<class T >
bool isEqual (const ContainerStoreIteratorBase< T > &other) const
 
PtrType * operator-> () const
 
PtrType operator* () const
 
ContainerStoreIteratorBaseoperator++ ()
 
ContainerStoreIteratorBase operator++ (int)
 
ContainerStoreIteratorBaseoperator= (const ContainerStoreIteratorBase &rhs)
 
int getType () const
 
const ContainerStoregetContainerStore () const
 

Private Types

typedef ContainerStoreTrait
< PtrType, void >::type 
ContainerStoreType
 

Private Member Functions

 ContainerStoreIteratorBase (ContainerStoreType container)
 End-iterator. More...
 
 ContainerStoreIteratorBase (int mask, ContainerStoreType container)
 Begin-iterator. More...
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Potion >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Apparatus >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Armor >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Book >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Clothing >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Ingredient >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Light >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Lockpick >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Miscellaneous >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Probe >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Repair >::type)
 
 ContainerStoreIteratorBase (ContainerStoreType container, typename Iterator< ESM::Weapon >::type)
 
template<class T >
void copy (const ContainerStoreIteratorBase< T > &src)
 
void incType ()
 
void nextType ()
 
bool resetIterator ()
 
bool incIterator ()
 

Private Attributes

int mType
 
int mMask
 
ContainerStoreType mContainer
 
PtrType mPtr
 
Iterator< ESM::Potion >::type mPotion
 
Iterator< ESM::Apparatus >::type mApparatus
 
Iterator< ESM::Armor >::type mArmor
 
Iterator< ESM::Book >::type mBook
 
Iterator< ESM::Clothing >::type mClothing
 
Iterator< ESM::Ingredient >::type mIngredient
 
Iterator< ESM::Light >::type mLight
 
Iterator< ESM::Lockpick >::type mLockpick
 
Iterator< ESM::Miscellaneous >
::type 
mMiscellaneous
 
Iterator< ESM::Probe >::type mProbe
 
Iterator< ESM::Repair >::type mRepair
 
Iterator< ESM::Weapon >::type mWeapon
 

Friends

class ContainerStore
 
class ContainerStoreIteratorBase< Ptr >
 
class ContainerStoreIteratorBase< ConstPtr >
 

Member Typedef Documentation

template<class PtrType>
typedef ContainerStoreTrait<PtrType, void>::type MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreType
private

Constructor & Destructor Documentation

template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container)
private

End-iterator.

template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( int  mask,
ContainerStoreType  container 
)
private

Begin-iterator.

Here is the call graph for this function:

template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Potion >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Apparatus >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Armor >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Book >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Clothing >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Ingredient >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Light >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Lockpick >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Miscellaneous >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Probe >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Repair >::type  iterator 
)
private
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( ContainerStoreType  container,
typename Iterator< ESM::Weapon >::type  iterator 
)
private
template<class PtrType>
template<class T >
MWWorld::ContainerStoreIteratorBase< PtrType >::ContainerStoreIteratorBase ( const ContainerStoreIteratorBase< T > &  other)
inline

Member Function Documentation

template<class PtrType >
template<class T >
template void MWWorld::ContainerStoreIteratorBase< PtrType >::copy ( const ContainerStoreIteratorBase< T > &  src)
private

Here is the caller graph for this function:

template<class PtrType >
const MWWorld::ContainerStore * MWWorld::ContainerStoreIteratorBase< PtrType >::getContainerStore ( ) const

Here is the caller graph for this function:

template<class PtrType >
int MWWorld::ContainerStoreIteratorBase< PtrType >::getType ( ) const

Here is the caller graph for this function:

template<class PtrType >
bool MWWorld::ContainerStoreIteratorBase< PtrType >::incIterator ( )
private

Increment iterator for selected type.

Returns
reached the end?
template<class PtrType >
void MWWorld::ContainerStoreIteratorBase< PtrType >::incType ( )
private
template<class PtrType >
template<class T >
bool MWWorld::ContainerStoreIteratorBase< PtrType >::isEqual ( const ContainerStoreIteratorBase< T > &  other) const

Here is the caller graph for this function:

template<class PtrType >
void MWWorld::ContainerStoreIteratorBase< PtrType >::nextType ( )
private

Here is the caller graph for this function:

template<class PtrType >
PtrType MWWorld::ContainerStoreIteratorBase< PtrType >::operator* ( ) const
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType > & MWWorld::ContainerStoreIteratorBase< PtrType >::operator++ ( )
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType > MWWorld::ContainerStoreIteratorBase< PtrType >::operator++ ( int  )
template<class PtrType >
PtrType * MWWorld::ContainerStoreIteratorBase< PtrType >::operator-> ( ) const
template<class PtrType >
MWWorld::ContainerStoreIteratorBase< PtrType > & MWWorld::ContainerStoreIteratorBase< PtrType >::operator= ( const ContainerStoreIteratorBase< PtrType > &  rhs)

Here is the call graph for this function:

template<class PtrType >
bool MWWorld::ContainerStoreIteratorBase< PtrType >::resetIterator ( )
private

Reset iterator for selected type.

Returns
Type not empty?

Friends And Related Function Documentation

template<class PtrType>
friend class ContainerStore
friend
template<class PtrType>
friend class ContainerStoreIteratorBase< ConstPtr >
friend
template<class PtrType>
friend class ContainerStoreIteratorBase< Ptr >
friend

Member Data Documentation

template<class PtrType>
Iterator<ESM::Apparatus>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mApparatus
private
template<class PtrType>
Iterator<ESM::Armor>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mArmor
private
template<class PtrType>
Iterator<ESM::Book>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mBook
private
template<class PtrType>
Iterator<ESM::Clothing>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mClothing
private
template<class PtrType>
ContainerStoreType MWWorld::ContainerStoreIteratorBase< PtrType >::mContainer
private
template<class PtrType>
Iterator<ESM::Ingredient>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mIngredient
private
template<class PtrType>
Iterator<ESM::Light>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mLight
private
template<class PtrType>
Iterator<ESM::Lockpick>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mLockpick
private
template<class PtrType>
int MWWorld::ContainerStoreIteratorBase< PtrType >::mMask
private
template<class PtrType>
Iterator<ESM::Miscellaneous>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mMiscellaneous
private
template<class PtrType>
Iterator<ESM::Potion>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mPotion
private
template<class PtrType>
Iterator<ESM::Probe>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mProbe
private
template<class PtrType>
PtrType MWWorld::ContainerStoreIteratorBase< PtrType >::mPtr
mutableprivate
template<class PtrType>
Iterator<ESM::Repair>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mRepair
private
template<class PtrType>
int MWWorld::ContainerStoreIteratorBase< PtrType >::mType
private
template<class PtrType>
Iterator<ESM::Weapon>::type MWWorld::ContainerStoreIteratorBase< PtrType >::mWeapon
private

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