Medial Code Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends
dmlc::Config::ConfigIterator Class Reference

iterator class More...

#include <config.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = ConfigEntry
 
using difference_type = std::ptrdiff_t
 
using pointer = ConfigEntry *
 
using reference = ConfigEntry &
 

Public Member Functions

 ConfigIterator (const ConfigIterator &other)
 copy constructor
 
ConfigIteratoroperator++ ()
 uni-increment operators
 
ConfigIterator operator++ (int)
 uni-increment operators
 
bool operator== (const ConfigIterator &rhs) const
 compare operators
 
bool operator!= (const ConfigIterator &rhs) const
 compare operators not equal
 
ConfigEntry operator* () const
 retrieve value from operator
 

Friends

class Config
 

Detailed Description

iterator class

Member Function Documentation

◆ operator!=()

bool dmlc::Config::ConfigIterator::operator!= ( const ConfigIterator rhs) const

compare operators not equal

Parameters
rhsthe other config to compare against
Returns
the compared result

◆ operator++() [1/2]

Config::ConfigIterator & dmlc::Config::ConfigIterator::operator++ ( )

uni-increment operators

Returns
the reference of current config

◆ operator++() [2/2]

Config::ConfigIterator dmlc::Config::ConfigIterator::operator++ ( int  )

uni-increment operators

Returns
the reference of current config

◆ operator==()

bool dmlc::Config::ConfigIterator::operator== ( const ConfigIterator rhs) const

compare operators

Parameters
rhsthe other config to compare against
Returns
the compared result

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