MeLOn
melon::AnnParserFactory Class Reference

This class is a factory class for creating child instances of AnnParser. More...

#include <AnnParser.h>

Inheritance diagram for melon::AnnParserFactory:
melon::ModelParserFactory

Public Member Functions

std::unique_ptr< ModelParsercreate_model_parser (const MODEL_FILE_TYPE fileType) override
 Factory function for creating a instance of an ann parser corresponding to the specified file type. More...
 

Detailed Description

This class is a factory class for creating child instances of AnnParser.

Member Function Documentation

◆ create_model_parser()

std::unique_ptr< ModelParser > AnnParserFactory::create_model_parser ( const MODEL_FILE_TYPE  fileType)
overridevirtual

Factory function for creating a instance of an ann parser corresponding to the specified file type.

fileType type of the file in which ann is stored

Returns
Pointer to an instance of a child class of AnnParser

Implements melon::ModelParserFactory.


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