xgboost
Public Member Functions | List of all members
xgboost::common::ConfigIterator Class Reference

an iterator that iterates over a configure file and gets the configures More...

#include <config.h>

Inheritance diagram for xgboost::common::ConfigIterator:
Inheritance graph
Collaboration diagram for xgboost::common::ConfigIterator:
Collaboration graph

Public Member Functions

 ConfigIterator (const char *fname)
 constructor More...
 
 ~ConfigIterator ()
 destructor More...
 
- Public Member Functions inherited from xgboost::common::ConfigStreamReader
 ConfigStreamReader (std::istream &fin)
 constructor More...
 
- Public Member Functions inherited from xgboost::common::ConfigReaderBase
const char * Name () const
 get current name, called after Next returns true More...
 
const char * Val () const
 get current value, called after Next returns true More...
 
bool Next ()
 move iterator to next position More...
 
void Init ()
 

Additional Inherited Members

- Protected Member Functions inherited from xgboost::common::ConfigStreamReader
int GetChar () override
 to be implemented by subclass, get next token, return EOF if end of file More...
 
bool IsEnd () override
 to be implemented by child, check if end of stream More...
 

Detailed Description

an iterator that iterates over a configure file and gets the configures

Constructor & Destructor Documentation

◆ ConfigIterator()

xgboost::common::ConfigIterator::ConfigIterator ( const char *  fname)
inlineexplicit

constructor

Parameters
fnamename of configure file

◆ ~ConfigIterator()

xgboost::common::ConfigIterator::~ConfigIterator ( )
inline

destructor


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