    

 ## On this page

  

 

 # ImportOMDB Struct Reference

 Last update: 16.07.2025 

Stores settings for loading optiSLang omdb files. Limited to scalar parameters and responses. [More...](struct_import_o_m_d_b.xhtml#details)

## <a name="pub-methods"></a>Public Member Functions

<a id="a483e471aa905217dc69d9b12390ba367"></a> [check](struct_import_o_m_d_b.xhtml#a483e471aa905217dc69d9b12390ba367) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) const checks the settings and throws an exception if they are not correct.   
 <a id="af2bce63f490350a8f3932782e142269f"></a> [getNumberOfResponseItems](struct_import_o_m_d_b.xhtml#af2bce63f490350a8f3932782e142269f) (number number) get the number of response items opens and parses the bin file for scalar data   
 <a id="a559f781cd691ff60421ba63d761b4283"></a>std::vector&lt; string &gt; **getSignalNames** () <a id="a73dd3f56399568385400db0c3fc08295"></a> [import](struct_import_o_m_d_b.xhtml#a73dd3f56399568385400db0c3fc08295) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) finally imports the data   
  [ImportOMDB](struct_import_o_m_d_b.xhtml#a309c2d0c2127659dc18b083da314eb4e) (string the\_filename) default constructor [More...](#a309c2d0c2127659dc18b083da314eb4e)  
 ## <a name="pub-attribs"></a>Public Attributes

<a id="a3a1a90139c2c8ab1fca0ea8b1790b7b2"></a>string [filename](struct_import_o_m_d_b.xhtml#a3a1a90139c2c8ab1fca0ea8b1790b7b2) the name of the file which serves as a template (this file is not modified)   
 <a id="a1779fd0ed7406bcf8b1a33cb53b102ea"></a>bool [import\_inputs](struct_import_o_m_d_b.xhtml#a1779fd0ed7406bcf8b1a33cb53b102ea) if true, then input parameters are imported   
 <a id="a0086995286c153dec1bb8615e26c480b"></a>bool [import\_responses](struct_import_o_m_d_b.xhtml#a0086995286c153dec1bb8615e26c480b) if true, then response parameters are imported   
 <a id="ade25e60bd85c8b4abd4f5b416cae0eb9"></a>bool [overwrite\_existing](struct_import_o_m_d_b.xhtml#ade25e60bd85c8b4abd4f5b416cae0eb9) if true, then existing equally named data objects are replaced. Else an error appears.   
 <a id="details" name="details"></a>## Detailed Description

Stores settings for loading optiSLang omdb files. Limited to scalar parameters and responses.

NoteNo handling of inactive, incomplete and failed designs. 

## Constructor &amp; Destructor Documentation

<a id="a309c2d0c2127659dc18b083da314eb4e"></a>## [◆ ](#a309c2d0c2127659dc18b083da314eb4e)ImportOMDB()

 [ImportOMDB](struct_import_o_m_d_b.xhtml)  ( string  *the\_filename*) 

default constructor

Parameters the\_filenamethe name of the input file