xgboost
|
an iterator that iterates over a configure file and gets the configures More...
#include <config.h>
Public Member Functions | |
ConfigIterator (const char *fname) | |
constructor More... | |
~ConfigIterator () | |
destructor More... | |
![]() | |
ConfigStreamReader (std::istream &fin) | |
constructor More... | |
![]() | |
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 | |
![]() | |
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... | |
an iterator that iterates over a configure file and gets the configures
|
inlineexplicit |
constructor
fname | name of configure file |
|
inline |
destructor