| 404 | } |
| 405 | |
| 406 | int GetFeatureNames(char** out_strs) const { |
| 407 | int idx = 0; |
| 408 | for (const auto& name : boosting_->FeatureNames()) { |
| 409 | std::memcpy(out_strs[idx], name.c_str(), name.size() + 1); |
| 410 | ++idx; |
| 411 | } |
| 412 | return idx; |
| 413 | } |
| 414 | |
| 415 | const Boosting* GetBoosting() const { return boosting_.get(); } |
| 416 |
no test coverage detected