generator  1.2
Public Member Functions | Private Attributes | List of all members
ProjectParametersParser Class Reference

It reads the desired properties of instances from the text file. More...

#include <ProjectParametersParser.h>

+ Collaboration diagram for ProjectParametersParser:

Public Member Functions

 ProjectParametersParser (std::string inputFile=Settings::PROJECT_CONFIGURATION_FILE)
 It parses the configuration file and fills ProjectParameters structure.

Exceptions
runtime_errorInput configuration file is badly formed.
More...
 
ProjectParameters getParameters () const
 

Private Attributes

ProjectParameters mParsedParameters
 The structure determining the properties of the generated instances.
 

Detailed Description

It reads the desired properties of instances from the text file.

The class parses the project configuration text file and fills the desired properties of instances to the ProjectParameters structure.

Definition at line 35 of file ProjectParametersParser.h.

Constructor & Destructor Documentation

ProjectParametersParser::ProjectParametersParser ( std::string  inputFile = Settings::PROJECT_CONFIGURATION_FILE)

It parses the configuration file and fills ProjectParameters structure.

Exceptions
runtime_errorInput configuration file is badly formed.

Parameters
inputFileThe project configuration file specifying the desired properties of instances.

Definition at line 29 of file ProjectParametersParser.cpp.


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