MeLOn
melon::ModelParserFactory Class Referenceabstract

This class is a abstract parent class for model parser factories implemented in the MeLOn library. More...

#include <modelParser.h>

Inheritance diagram for melon::ModelParserFactory:
melon::AnnParserFactory melon::GpParserFactory melon::SvmParserFactory

Public Member Functions

virtual std::unique_ptr< ModelParsercreate_model_parser (const MODEL_FILE_TYPE fileType)=0
 Abstract factory function for creating a instance of an model parser corresponding to the specified file type. More...
 

Detailed Description

This class is a abstract parent class for model parser factories implemented in the MeLOn library.

Member Function Documentation

◆ create_model_parser()

virtual std::unique_ptr<ModelParser> melon::ModelParserFactory::create_model_parser ( const MODEL_FILE_TYPE  fileType)
pure virtual

Abstract factory function for creating a instance of an model parser corresponding to the specified file type.

fileType type of the file in which model is stored

Returns
Pointer to an instance of a derived class of ModelParse

Implemented in melon::AnnParserFactory, melon::SvmParserFactory, and melon::GpParserFactory.


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