Public Member Functions
Public Attributes
Detailed Description
A class collecting import information for various design directories. In a typical SoS workflow the user imports varying outcomes of a repeated experiment. These outcome needs to be saved somewhere, and as SoS orgins the Post-optiSLang area, the program expects this data stored in several directories. Each directory contains at least one file which contains one or several outcome(s) of one of specific experiment. While its expected that the directory name varies for each experiment, the filenames must be constant. At best, the design directory name contains a number which might be directly used by SoS on import to insert the outcomes into its database with a unique design number ident.Constructor & Destructor Documentation
ImportDesigns()
- Usually, the ReferenceDesign object will contain at least one file to be imported. If this is the case, its completed file path will be analyzed using the #DesignPath object. At best, this analysis will return a reliable base_path as well as design_name_format.
- Otherwise the ReferenceDesign::base_path of reference_design given will be separated. Its parent path will be re-used as base_path and the other part as design_name_format Afterwards, ImportDesigns::scanDesignRanges() will be called automatically and the first design range number re-used as start design ident. Otherise, the design ranges remain empty and the ImportDesigns::start_design_number will be initialized to one.
Member Function Documentation
check()
- If any of the specified directories, design IDs or files does not exist, an exception is thrown
- It also checks the validity of the reference design
filterDesignsByOptiSLang()
getDesignNumbers()
getDesignNumbersString()
getDesignPathNames()
import()
scanDesignRanges()
setDesignNumbers()
Exceptions