xgboost

Public Types | Public Member Functions | List of all members
xgboost::BatchIterator< T > Class Template Reference

`#include <data.h>`

Collaboration diagram for xgboost::BatchIterator< T >:

## Public Types
using | iterator_category = std::forward_iterator_tag

## Public Member Functions
| BatchIterator (BatchIteratorImpl< T > *impl)
void | operator++ ()
T & | operator* ()
const T & | operator* () const
bool | operator!= (const BatchIterator &rhs) const
bool | AtEnd () const

## Member Typedef Documentation

## ◆ iterator_category

template<typename T>

using xgboost::BatchIterator< T >::iterator_category = std::forward_iterator_tag

## Constructor & Destructor Documentation

## ◆ BatchIterator()

template<typename T>

xgboost::BatchIterator< T >::BatchIterator | ( | BatchIteratorImpl< T > * | impl | ) |
| inline explicit

## Member Function Documentation

## ◆ AtEnd()

template<typename T>

bool xgboost::BatchIterator< T >::AtEnd | ( |  | ) | const
| inline

## ◆ operator!=()

template<typename T>

bool xgboost::BatchIterator< T >::operator!= | ( | const BatchIterator< T > & | rhs | ) | const
| inline

## ◆ operator*() [1/2]

template<typename T>

T& xgboost::BatchIterator< T >::operator* | ( |  | ) |
| inline

## ◆ operator*() [2/2]

template<typename T>

const T& xgboost::BatchIterator< T >::operator* | ( |  | ) | const
| inline

## ◆ operator++()

template<typename T>

void xgboost::BatchIterator< T >::operator++ | ( |  | ) |
| inline

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

- /workspace/include/xgboost/data.h