Panda3D

Loading...
Searching...
No Matches
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.

## Member Typedef Documentation

## ◆ value_type

template<class base_iterator, class new_type>

typedef new_type typecast_iterator< base_iterator, new_type >::value_type

Definition at line 62 of file iterator_types.h.

## Constructor & Destructor Documentation

## ◆ typecast_iterator()

template<class base_iterator, class new_type>

typecast_iterator< base_iterator, new_type >::typecast_iterator | ( | const base_iterator & | init | ) |
| inline

Definition at line 65 of file iterator_types.h.

## Member Function Documentation

## ◆ operator*()

template<class base_iterator, class new_type>

value_type typecast_iterator< base_iterator, new_type >::operator* | ( |  | ) |
| inline

Definition at line 67 of file iterator_types.h.

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

- panda/src/putil/iterator_types.h