|
| TreeFactory & | set_body (std::function< Tree *()> body) |
| | Set the function body.
|
| |
| TreeFactory & | describe (const std::string &description) |
| | Describe the function.
|
| |
| TreeFactory & | add_argument (const std::string &name, const std::string &type, const std::string &description) |
| | Add argument information to the function.
|
| |
| TreeFactory & | add_arguments (const std::vector< ParamFieldInfo > &args) |
| | Append list if arguments to the end.
|
| |
| TreeFactory & | set_return_type (const std::string &type) |
| | Set the return type.
|
| |
|
std::string | name |
| | name of the entry
|
| |
|
std::string | description |
| | description of the entry
|
| |
|
std::vector< ParamFieldInfo > | arguments |
| | additional arguments to the factory function
|
| |
|
std::function< Tree *()> | body |
| | Function body to create ProductType.
|
| |
|
std::string | return_type |
| | Return type of the function.
|
| |
| TreeFactory & | self () |
| |
The documentation for this struct was generated from the following file:
- External/xgboost/dmlc-core/test/registry_test.cc