xgboost
Public Types | Public Member Functions | List of all members
xgboost::BatchIterator Class Reference

#include <data.h>

Collaboration diagram for xgboost::BatchIterator:
Collaboration graph

Public Types

using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 BatchIterator (BatchIteratorImpl *impl)
 
 BatchIterator (const BatchIterator &other)
 
void operator++ ()
 
SparsePageoperator* ()
 
const SparsePageoperator* () const
 
bool operator!= (const BatchIterator &rhs) const
 
bool AtEnd () const
 

Member Typedef Documentation

◆ iterator_category

using xgboost::BatchIterator::iterator_category = std::forward_iterator_tag

Constructor & Destructor Documentation

◆ BatchIterator() [1/2]

xgboost::BatchIterator::BatchIterator ( BatchIteratorImpl impl)
inlineexplicit

◆ BatchIterator() [2/2]

xgboost::BatchIterator::BatchIterator ( const BatchIterator other)
inline

Member Function Documentation

◆ AtEnd()

bool xgboost::BatchIterator::AtEnd ( ) const
inline

◆ operator!=()

bool xgboost::BatchIterator::operator!= ( const BatchIterator rhs) const
inline

◆ operator*() [1/2]

SparsePage& xgboost::BatchIterator::operator* ( )
inline

◆ operator*() [2/2]

const SparsePage& xgboost::BatchIterator::operator* ( ) const
inline

◆ operator++()

void xgboost::BatchIterator::operator++ ( )
inline

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