    

 ## On this page

  

 

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

 Last update: 16.07.2025 

a struct which collects settings for *extractAboveThreshold* [More...](class_extract_scalars_from_quantity.xhtml#details)

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

 [check](class_extract_scalars_from_quantity.xhtml#a47c34ec1e578c2ce27cf1c5fcd0d1704) ([Structure](class_structure.xhtml) [database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)) &lt; TYPE &gt;::check ( [Structure](class_structure.xhtml "The central data structure for SoS. ") database ) [More...](#a47c34ec1e578c2ce27cf1c5fcd0d1704)  
  [ExtractScalarsFromQuantity](class_extract_scalars_from_quantity.xhtml#a91414146b133a9a0c30bb53fadaa5976) ([DataObjectContainer](class_data_object_container.xhtml) the\_data, number part\_idx, number idx\_in\_part) constructor which sets suitable defaults for all members All quantity idents are extracted. Then for each quantity a new result object will be created. [More...](#a91414146b133a9a0c30bb53fadaa5976)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="a4f3fa45a9017d05762d5e4572703c95b"></a>number [index](class_extract_scalars_from_quantity.xhtml#a4f3fa45a9017d05762d5e4572703c95b) The node/element index in the part.   
 <a id="a30b1bcf63b9bdc707fea30bd96d70447"></a>[DataObjectContainer::string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [new\_quantity\_idents](class_extract_scalars_from_quantity.xhtml#a30b1bcf63b9bdc707fea30bd96d70447) The new idents for each quantity. The dimension and index space must fit the one of *quantity\_idents*.   
 <a id="a2cf49e98840301998f6a7fc77405f1d0"></a>number [part](class_extract_scalars_from_quantity.xhtml#a2cf49e98840301998f6a7fc77405f1d0) The part index.   
 <a id="details" name="details"></a>## Detailed Description

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

a struct which collects settings for *extractAboveThreshold*

Template Parameters TYPEthe field data type 

## Constructor &amp; Destructor Documentation

<a id="a91414146b133a9a0c30bb53fadaa5976"></a>## [◆ ](#a91414146b133a9a0c30bb53fadaa5976)ExtractScalarsFromQuantity()

 [ExtractScalarsFromQuantity](class_extract_scalars_from_quantity.xhtml)  ( [DataObjectContainer](class_data_object_container.xhtml)  *the\_data*,    number  *part\_idx*,    number  *idx\_in\_part*   ) 

constructor which sets suitable defaults for all members All quantity idents are extracted. Then for each quantity a new result object will be created.

Parameters the\_datathe subset of field data to be token as input. part\_idxthe index of the part of the node/element idx\_in\_partthe index of the element/node in the given part 



## Member Function Documentation

<a id="a47c34ec1e578c2ce27cf1c5fcd0d1704"></a>## [◆ ](#a47c34ec1e578c2ce27cf1c5fcd0d1704)check()

 check  ( [Structure](class_structure.xhtml)  *database*) 

&lt; TYPE &gt;::check ( [Structure](class_structure.xhtml "The central data structure for SoS. ") database )

&lt; TYPE &gt;::check ( [Structure](class_structure.xhtml "The central data structure for SoS. ") database )