template<
typename ContainerType>
struct TScriptContainerIterator< ContainerType >
Templated iterator to go through script helper containers that may contain invalid entries that are not part of the valid number of elements (i.e. GetMaxIndex() != Num() ). The iterator
- will advance to the first valid entry on creation and when incremented
- can be dereferenced to an internal index to be used with methods like Get<Item>Ptr or Get<Item>PtrWithoutCheck
- can also be used directly with methods like Get<Item>PtrChecked
- can return the associated logical index (number of valid visited entries) by calling GetLogicalIndex()