    

 ## On this page

  

 

 # ExtractExtremalScalars&lt; TYPE &gt; Class Template Reference

 Last update: 16.07.2025 

An abstract base class to compute the extremal scalar quantity per design from all field indices given in *indices* as well as for all field quantities found within the dataobject filter. [More...](class_extract_extremal_scalars.xhtml#details)

## <a name="pub-types"></a>Public Types

<a id="ac455005009c3d22b1e98034fd5df9547"></a>typedef std::vector&lt; std::pair&lt; std::size\_t, std::size\_t &gt; &gt; [index\_type](class_extract_scalars.xhtml#ac455005009c3d22b1e98034fd5df9547) A sequential index container storing the part and entity index. A sequential index container storing the part index as first argument and the entity index of this part as second argument.   
 <a id="a307e043c1b029bb9a68ad6b69d9dd72a"></a>typedef std::vector&lt; [DataObjectContainer::string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) &gt; [quantity\_map\_type](class_extract_scalars.xhtml#a307e043c1b029bb9a68ad6b69d9dd72a) A vector of vectors containing default quantity idents for each quantity (row) and each index (column) passed to the constructor.   
 ## <a name="pub-methods"></a>Public Member Functions

 [compute](class_extract_scalars.xhtml#ab08e112d95fe611e7eb25491c354d115) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) Performs the action using the defined settings. [More...](#ab08e112d95fe611e7eb25491c354d115)  
 std::vector&lt; string &gt; [determineObjectsToBeReplaced](class_extract_scalars.xhtml#aed4396d64c1a5eb946769d16dae346a2) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) Determines if any result objects already exist in the database. [More...](#aed4396d64c1a5eb946769d16dae346a2)  
 virtual string [setNewQuantityIdentTemplate](class_extract_extremal_scalars.xhtml#a13f74dc615ddbd2143a6f97c925ef40c) (string ident)=0 Sets the quantity ident template used to generarte new quantity idents. [More...](#a13f74dc615ddbd2143a6f97c925ef40c)  
 ## <a name="pub-attribs"></a>Public Attributes

<a id="aff21fffab499ea652443206d66e1a9bb"></a>[DataObjectContainer](class_data_object_container.xhtml) [data](class_extract_scalars.xhtml#aff21fffab499ea652443206d66e1a9bb) the data set to be analyzed   
 <a id="ade25e60bd85c8b4abd4f5b416cae0eb9"></a>bool [overwrite\_existing](class_extract_scalars.xhtml#ade25e60bd85c8b4abd4f5b416cae0eb9) is true if already existing output data objects will be replaced. If true, also all depending objects of the already existing one will be deleted.   
 <a id="aced57c746ae1d69d2fd56872fa1768bf"></a>[DataObjectContainer::string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [quantity\_idents](class_extract_scalars.xhtml#aced57c746ae1d69d2fd56872fa1768bf) the quantities to be analyzed. If a quantity ident does not exist in *data*, no error appears.   
 <a id="details" name="details"></a>## Detailed Description

### template&lt;dataobject\_types TYPE&gt;  
class ExtractExtremalScalars&lt; TYPE &gt;

An abstract base class to compute the extremal scalar quantity per design from all field indices given in *indices* as well as for all field quantities found within the dataobject filter.

Date-2015 Template Parameters TYPEthe field data type 

## Member Function Documentation

<a id="ab08e112d95fe611e7eb25491c354d115"></a>## [◆ ](#ab08e112d95fe611e7eb25491c354d115)compute()

 compute  ( [Structure](class_structure.xhtml)  *database*)   inherited 

Performs the action using the defined settings.

Parameters databasethe output object where new objects are added to 



<a id="aed4396d64c1a5eb946769d16dae346a2"></a>## [◆ ](#aed4396d64c1a5eb946769d16dae346a2)determineObjectsToBeReplaced()

 std::vector&lt; string &gt; determineObjectsToBeReplaced  ( [Structure](class_structure.xhtml)  *database*)   inherited 

Determines if any result objects already exist in the database.

Parameters databasethe SoS structureReturnsIt returns a list of human readable idents. This list is empty if no duplicates exist. The size of the list is the number of objects to be replaced. 



<a id="a13f74dc615ddbd2143a6f97c925ef40c"></a>## [◆ ](#a13f74dc615ddbd2143a6f97c925ef40c)setNewQuantityIdentTemplate()

 virtual string setNewQuantityIdentTemplate  ( string  *ident*)   pure virtual 

Sets the quantity ident template used to generarte new quantity idents.

Parameters identThe new quantity ident template ReturnsThe new quantity ident template value Implemented in [ExtractMaximumScalars&lt; TYPE &gt;](class_extract_maximum_scalars.xhtml#ac0ccdc7d7633b74093947347cd64f3bf), and [ExtractMinimumScalars&lt; TYPE &gt;](class_extract_minimum_scalars.xhtml#ac0ccdc7d7633b74093947347cd64f3bf).