Panda3D
Public Types | Public Member Functions | List of all members
typecast_iterator< base_iterator, new_type > Class Template Reference

This is an iterator adaptor that explicitly typecasts each value returned by the base iterator to the indicated type. More...

#include "iterator_types.h"

Inheritance diagram for typecast_iterator< base_iterator, new_type >:

Public Types

typedef new_type value_type
 

Public Member Functions

 typecast_iterator (const base_iterator &init)
 
value_type operator * ()
 

Detailed Description

template<class base_iterator, class new_type>
class typecast_iterator< base_iterator, new_type >

This is an iterator adaptor that explicitly typecasts each value returned by the base iterator to the indicated type.

Definition at line 60 of file iterator_types.h.


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