Medial Code Documentation
Loading...
Searching...
No Matches
dmlc::ParserFactoryReg< IndexType, DType > Struct Template Reference

registry entry of parser factory More...

#include <data.h>

Inheritance diagram for dmlc::ParserFactoryReg< IndexType, DType >:
dmlc::FunctionRegEntryBase< EntryType, FunctionType >

Additional Inherited Members

- Public Member Functions inherited from dmlc::FunctionRegEntryBase< EntryType, FunctionType >
EntryType & set_body (FunctionType body)
 Set the function body.
 
EntryType & describe (const std::string &description)
 Describe the function.
 
EntryType & add_argument (const std::string &name, const std::string &type, const std::string &description)
 Add argument information to the function.
 
EntryType & add_arguments (const std::vector< ParamFieldInfo > &args)
 Append list if arguments to the end.
 
EntryType & set_return_type (const std::string &type)
 Set the return type.
 
- Data Fields inherited from dmlc::FunctionRegEntryBase< EntryType, FunctionType >
std::string name
 name of the entry
 
std::string description
 description of the entry
 
std::vector< ParamFieldInfo > arguments
 additional arguments to the factory function
 
FunctionType body
 Function body to create ProductType.
 
std::string return_type
 Return type of the function.
 
- Protected Member Functions inherited from dmlc::FunctionRegEntryBase< EntryType, FunctionType >
EntryType & self ()
 

Detailed Description

template<typename IndexType, typename DType = real_t>
struct dmlc::ParserFactoryReg< IndexType, DType >

registry entry of parser factory

Template Parameters
IndexTypeThe type of index
DTypeThe type of label and value

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