base implementation of config reader
More...
#include <config.h>
|
| 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 () |
| |
|
| virtual int | GetChar ()=0 |
| | to be implemented by subclass, get next token, return EOF if end of file More...
|
| |
| virtual bool | IsEnd ()=0 |
| | to be implemented by child, check if end of stream More...
|
| |
base implementation of config reader
◆ GetChar()
| virtual int xgboost::common::ConfigReaderBase::GetChar |
( |
| ) |
|
|
protectedpure virtual |
◆ Init()
| void xgboost::common::ConfigReaderBase::Init |
( |
| ) |
|
|
inline |
◆ IsEnd()
| virtual bool xgboost::common::ConfigReaderBase::IsEnd |
( |
| ) |
|
|
protectedpure virtual |
◆ Name()
| const char* xgboost::common::ConfigReaderBase::Name |
( |
| ) |
const |
|
inline |
get current name, called after Next returns true
- Returns
- current parameter name
◆ Next()
| bool xgboost::common::ConfigReaderBase::Next |
( |
| ) |
|
|
inline |
move iterator to next position
- Returns
- true if there is value in next position
◆ Val()
| const char* xgboost::common::ConfigReaderBase::Val |
( |
| ) |
const |
|
inline |
get current value, called after Next returns true
- Returns
- current parameter value
The documentation for this class was generated from the following file: