    

 ## On this page

  

 

 # DataObjectContainer Class Reference

 Last update: 16.07.2025 

A general container for vector data. [More...](class_data_object_container.xhtml#details)

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

<a id="a831464cbf6637a6d9426cfad4b30e1e5"></a>typedef std::vector&lt; [DataObjectKey](class_data_object_key.xhtml) &gt; [data\_object\_key\_vector\_type](class_data_object_container.xhtml#a831464cbf6637a6d9426cfad4b30e1e5) A vector of [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ").   
 <a id="ac293ea0e5c280f69a497ea20f20c60b9"></a>typedef std::vector&lt; string &gt; [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) A vector of strings.   
 <a id="abfb5e26073200c58da3e0f81b56d2a39"></a>typedef std::vector&lt; Design &gt; [TDesignContainer](class_data_object_container.xhtml#abfb5e26073200c58da3e0f81b56d2a39) A vector of all designs.   
 <a id="ab0ed0d9450d62e8ca7197ab3e8e20e80"></a>typedef std::map&lt; string, size\_t &gt; [TDesignMap](class_data_object_container.xhtml#ab0ed0d9450d62e8ca7197ab3e8e20e80) A map mapping design ID to a an index of the vector of designs.   
 ## <a name="pub-methods"></a>Public Member Functions

[DataObjectPtr](class_data_object_ptr.xhtml) [\_\_getitem\_\_](class_data_object_container.xhtml#a4abe693e43c5eb23dd077b7b94ca3c51) (int idx) const returns the i-th element of the current filter [More...](#a4abe693e43c5eb23dd077b7b94ca3c51)  
 string [\_\_str\_\_](class_data_object_container.xhtml#a44139caf93a3463ea4f2a6671cdce842) () provides the print() method for this class in SWIG bindings [More...](#a44139caf93a3463ea4f2a6671cdce842)  
 [DataObjectContainer](class_data_object_container.xhtml) [active](class_data_object_container.xhtml#ac01bdbe9866e84f434efc56d18d2c625) () Filter for active data objects. [More...](#ac01bdbe9866e84f434efc56d18d2c625)  
 [DataObjectContainer](class_data_object_container.xhtml) [depInputs](class_data_object_container.xhtml#a95c22d297a703c1846cdf7c004eaef75) () Filter for data objects marked as DOE dependent parameters. [More...](#a95c22d297a703c1846cdf7c004eaef75)  
 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [designIdents](class_data_object_container.xhtml#afe1450937e7407938176edb6754befbf) () generates a vector of strings containing all design idents being part in this filter The ordering of the vector corresponds to the ordering of the ouput of generateVector() [More...](#afe1450937e7407938176edb6754befbf)  
 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [designs](class_data_object_container.xhtml#afc070c7b791f8091a5a95c71b6f14735) () Generates a vector of strings containing all design idents being part in this filter. [More...](#afc070c7b791f8091a5a95c71b6f14735)  
  [fillValueTypeManager](class_data_object_container.xhtml#a988ee6b7e261a025f1310f81507f43a3) (::core::ValueTypeManager manager) Fill [ValueTypeManager](class_value_type_manager.xhtml "Keeps track of all unique ValueTypes. Required to create new ValueType shared resource instances...") with all ValueTypes contained in this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. "). [More...](#a988ee6b7e261a025f1310f81507f43a3)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterDesign](class_data_object_container.xhtml#aa9c0e23be84ab48b5ea1841779e66268) (string design\_id, bool match\_regex=false) Returns the subset of data objects where the design ID is equal to the given ID. [More...](#aa9c0e23be84ab48b5ea1841779e66268)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterDesign](class_data_object_container.xhtml#a3d2239c5a1d607e7cae55a6c135efd7e) ([string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) ids) Returns the subset of data objects where the design ID is equal to one of the given ID list. Design IDs not found in the current [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") are skipped. [More...](#a3d2239c5a1d607e7cae55a6c135efd7e)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterID](class_data_object_container.xhtml#a6363bd922e52a89952fae621f41258fc) (string design\_id, string quantity\_id) Returns a set containing a single or no data object, defined by design and quantity ID. [More...](#a6363bd922e52a89952fae621f41258fc)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterID](class_data_object_container.xhtml#a942f7516510aaf8a95658389d930bcc0) ([DataObjectKey](class_data_object_key.xhtml) key) Returns container containing a single DataObject. [More...](#a942f7516510aaf8a95658389d930bcc0)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterID](class_data_object_container.xhtml#a8b5371193e6891419a03ef367a5216f0) ([data\_object\_key\_vector\_type](class_data_object_container.xhtml#a831464cbf6637a6d9426cfad4b30e1e5) key\_vector) Returns a container containing all objects in key\_vector. Throws an ERROR if key\_vector contains duplicate DataObjectKeys. [More...](#a8b5371193e6891419a03ef367a5216f0)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterQuantity](class_data_object_container.xhtml#a62dbf8a6166ee22a6dc160040fac8257) (string quantity\_id, bool match\_regex=false) Returns the subset of data objects where the quantity ident is equal to the given ID. [More...](#a62dbf8a6166ee22a6dc160040fac8257)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterQuantity](class_data_object_container.xhtml#a8619edf76b71eb71488e02d2afe534ed) ([string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) ids) Returns the subset of data objects where the quantity ID is equal to one of the given ID list. Quantity IDs not found in the current [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") are skipped. [More...](#a8619edf76b71eb71488e02d2afe534ed)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterSerializable](class_data_object_container.xhtml#ac5e524cbe635d05cebaf52b2eee73bd6) () Get a subset of all data objects which can be serialized These are all objects which do not contain any NaN or infinity numbers. [More...](#ac5e524cbe635d05cebaf52b2eee73bd6)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterType](class_data_object_container.xhtml#a88778d03fe76cec6eb828dd57ac82411) ([dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) type) Returns a container containing objects of a single type. [More...](#a88778d03fe76cec6eb828dd57ac82411)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterWithoutDesign](class_data_object_container.xhtml#a064c6b8de61a4eaabc1d8ecb7777acfb) (string design\_id) Returns the subset of data objects where the design ID is NOT equal to the given ID. [More...](#a064c6b8de61a4eaabc1d8ecb7777acfb)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterWithoutID](class_data_object_container.xhtml#a2fee6f94f9d158b13b25333773d2dd0f) (string design\_id, string quantity\_id) Returns the subset of data objects NOT containing the data object defined by ID and quantity ID. [More...](#a2fee6f94f9d158b13b25333773d2dd0f)  
 [DataObjectContainer](class_data_object_container.xhtml) [filterWithoutQuantity](class_data_object_container.xhtml#a9894e187de92b709b980af4f72657d4f) (string quantity\_id) Returns the subset of data objects where the quantity ID is NOT equal to the given ID. [More...](#a9894e187de92b709b980af4f72657d4f)  
 [DataObjectContainer](class_data_object_container.xhtml) [fromFile](class_data_object_container.xhtml#ac128db8392720a15d6e7f47e93c88b80) () Filter for data objects which were imported from a file. [More...](#ac128db8392720a15d6e7f47e93c88b80)  
 [DataObjectContainer](class_data_object_container.xhtml) [inactive](class_data_object_container.xhtml#a892eff18dec0d7b6fd05c72b2b25091b) () Filter for inactive data objects. [More...](#a892eff18dec0d7b6fd05c72b2b25091b)  
 [DataObjectContainer](class_data_object_container.xhtml) [inputs](class_data_object_container.xhtml#ad628e58a3f2370187cefb859563cc746) () Filter for data objects marked as DOE input parameters. [More...](#ad628e58a3f2370187cefb859563cc746)  
 [DataObjectContainer](class_data_object_container.xhtml) [nonSamples](class_data_object_container.xhtml#a01c71804ddc13e4fca2aacd02134a769) () Filter for non-sample data objects. [More...](#a01c71804ddc13e4fca2aacd02134a769)  
 [DataObjectContainer](class_data_object_container.xhtml) [notFromFile](class_data_object_container.xhtml#a93923d7bedbfe9a068d53784f6e0c3d8) () Filter for data objects which were NOT imported from a file. [More...](#a93923d7bedbfe9a068d53784f6e0c3d8)  
 [DataObjectContainer](class_data_object_container.xhtml) [operator\*](class_data_object_container.xhtml#accde3afcbb0415939e45252512b3af66) ([DataObjectContainer](class_data_object_container.xhtml) other) performs the set intersection [More...](#accde3afcbb0415939e45252512b3af66)  
 [DataObjectContainer](class_data_object_container.xhtml) [operator+](class_data_object_container.xhtml#a89ca332a23d46e97018f24b3b634e8aa) ([DataObjectContainer](class_data_object_container.xhtml) other) performs the set union [More...](#a89ca332a23d46e97018f24b3b634e8aa)  
 [DataObjectContainer](class_data_object_container.xhtml) [operator/](class_data_object_container.xhtml#a717b8362e30ad94fd57b9087f3aec065) ([DataObjectContainer](class_data_object_container.xhtml) other) performs the set difference [More...](#a717b8362e30ad94fd57b9087f3aec065)  
 bool [operator==](class_data_object_container.xhtml#addd137ea1cb68d019bbc027e787d0f3e) ([DataObjectContainer](class_data_object_container.xhtml) other) [DataObjectPtr](class_data_object_ptr.xhtml) [operator\[\]](class_data_object_container.xhtml#a3528fa5c2bc9da26a1c3cdda3d645c0b) (int idx) returns the i-th element of the current filter [More...](#a3528fa5c2bc9da26a1c3cdda3d645c0b)  
 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [quantities](class_data_object_container.xhtml#af47e8fae53b8f978396af4b4007c6b95) () Generates a vector of strings containing all quantity idents being part in this filter. [More...](#af47e8fae53b8f978396af4b4007c6b95)  
 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [quantityIdents](class_data_object_container.xhtml#a3fd2740b12d821c55d78c29aaf7585ca) () generates a vector of strings containing all quantity idents being part in this filter The ordering of the vector corresponds to the ordering of the ouput of generateVector() [More...](#a3fd2740b12d821c55d78c29aaf7585ca)  
 [DataObjectContainer](class_data_object_container.xhtml) [responses](class_data_object_container.xhtml#ac7636c3263b7ecc20a761612d3adce18) () Filter for data objects marked as DOE responses. [More...](#ac7636c3263b7ecc20a761612d3adce18)  
 [DataObjectContainer](class_data_object_container.xhtml) [samples](class_data_object_container.xhtml#ac8fb74d0fa2c408063005cf2a32a8b1b) () Filter for sample data objects. [More...](#ac8fb74d0fa2c408063005cf2a32a8b1b)  
  [setActive](class_data_object_container.xhtml#ae5a274f83fd436019cca4ae43f1fb574) (bool [active](class_data_object_container.xhtml#ac01bdbe9866e84f434efc56d18d2c625)) changes the activity flag of all contained objects [More...](#ae5a274f83fd436019cca4ae43f1fb574)  
 Create DataObjectContainer

Methods handling data object life time



<a id="a5f52eb5e961329776d0c2734386672e9"></a> [DataObjectContainer](class_data_object_container.xhtml#a5f52eb5e961329776d0c2734386672e9) () default constructor (creates an empty container)   
  [DataObjectContainer](class_data_object_container.xhtml#a3c2a1cc92b9d99f88f88cb05e3dde2d3) ([DataObjectContainer](class_data_object_container.xhtml) other) copy constructor [More...](#a3c2a1cc92b9d99f88f88cb05e3dde2d3)  
 <a id="ada0c8d77172a82e6e61f72280a058273"></a> [DataObjectContainer](class_data_object_container.xhtml#ada0c8d77172a82e6e61f72280a058273) ([TDesignContainer](class_data_object_container.xhtml#abfb5e26073200c58da3e0f81b56d2a39) [designs](class_data_object_container.xhtml#afc070c7b791f8091a5a95c71b6f14735), [TDesignMap](class_data_object_container.xhtml#ab0ed0d9450d62e8ca7197ab3e8e20e80) design\_map, std::map&lt; [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379), number &gt; [dimension](class_data_object_container.xhtml#a3826d5a1e240c1c24f271a0410911069)) Create container from its components.   
 [DataObjectContainer](class_data_object_container.xhtml) [operator=](class_data_object_container.xhtml#a3619cbe41ed2a2e1f2f654e5e9e427db) ([DataObjectContainer](class_data_object_container.xhtml) other) destructor [More...](#a3619cbe41ed2a2e1f2f654e5e9e427db)  
 Element Access

Methods to query and especially modify (insert, erase) data container state



bool [exists](class_data_object_container.xhtml#a72704c60f2b9d84b3986265aea0fe0b8) (string design, string quantity) Check whether a DataObject of given design ID and quantity ID exists. [More...](#a72704c60f2b9d84b3986265aea0fe0b8)  
 bool [exists](class_data_object_container.xhtml#aafcbe4a7beac4d373c25368e4c675dc4) ([DataObjectKey](class_data_object_key.xhtml) key) Check whether a DataObject with the given [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ") exists. [More...](#aafcbe4a7beac4d373c25368e4c675dc4)  
 bool [designExists](class_data_object_container.xhtml#a7d96425fdcb11118c0bb72444441f2b9) (string design) Check whether any DataObject with the given design ID exists. Computational complexity is of order O( log N\_designs ). [More...](#a7d96425fdcb11118c0bb72444441f2b9)  
 bool [quantityExists](class_data_object_container.xhtml#a566784596083c7810e86cd900a5b8c1d) (string quantity) Check whether any DataObject with the given quantity ID exists. Worst case computational complexity is of order O( N\_designs \* log N\_quantities) [More...](#a566784596083c7810e86cd900a5b8c1d)  
 [DataObjectPtr](class_data_object_ptr.xhtml) [find](class_data_object_container.xhtml#ae1c3801d3ff9a1bf0749dffdf1e242d5) (string design, string quantity) Gets the data object with given data key. [More...](#ae1c3801d3ff9a1bf0749dffdf1e242d5)  
 [DataObjectPtr](class_data_object_ptr.xhtml) [find](class_data_object_container.xhtml#a00f452f17159cf5600ee5f48d15be6cc) ([DataObjectKey](class_data_object_key.xhtml) key) Gets the data object with given data key. [More...](#a00f452f17159cf5600ee5f48d15be6cc)  
 bool [checkInsert](class_data_object_container.xhtml#ae7ea9a06802a14acba40ee576f16fb72) ([DataObjectKey](class_data_object_key.xhtml) key, bool overwrite\_existing=false) checks if an item can be inserted [More...](#ae7ea9a06802a14acba40ee576f16fb72)  
 void [insert](class_data_object_container.xhtml#a844c9a5a2416075dbb621837faddc4f8) ([DataObjectKey](class_data_object_key.xhtml) key, [DataObjectPtr](class_data_object_ptr.xhtml) item) inserts a new data object. Assigns [ValueTypeDouble](class_value_type_double.xhtml "Identifies a set of values as number precision floating points values and an associated set of option...") (named after key.quantity()) to the inserted data object. [More...](#a844c9a5a2416075dbb621837faddc4f8)  
 void [insert](class_data_object_container.xhtml#adcef3af2ddfef83778861f840c0416b8) ([DataObjectKey](class_data_object_key.xhtml) key, [DataObjectPtr](class_data_object_ptr.xhtml) item, std::shared\_ptr&lt;::core::ValueType &gt; value\_type) inserts a new data object. [More...](#adcef3af2ddfef83778861f840c0416b8)  
  [insert](class_data_object_container.xhtml#a51b8c2e3bd639abcd738c2a98e5fc4ab) ([DataObjectContainer](class_data_object_container.xhtml) other, bool update\_description=false, [Structure](class_structure.xhtml) \*[database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b)=0, bool overwrite\_existing=false) inserts a set of data objects contained in another container [More...](#a51b8c2e3bd639abcd738c2a98e5fc4ab)  
  [erase](class_data_object_container.xhtml#a69edf27ea2ab7f799dea69259a7a62f4) ([DataObjectKey](class_data_object_key.xhtml) key) erases a data object from the container [More...](#a69edf27ea2ab7f799dea69259a7a62f4)  
  [erase](class_data_object_container.xhtml#afce340c1fd49e8007bbbe2a00592830b) ([DataObjectContainer](class_data_object_container.xhtml) container) Erases the DataObjects contained in the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") passed as the argument, from this container. DataObjects not contained in this container, are skipped. [More...](#afce340c1fd49e8007bbbe2a00592830b)  
  [eraseQuantity](class_data_object_container.xhtml#a4b32c8958266ff87333ca085b89b3f73) (string ident) erases all objects (and sets "needs update" flag of its dependencies) with given quantity ident [More...](#a4b32c8958266ff87333ca085b89b3f73)  
  [eraseDesign](class_data_object_container.xhtml#a01fa12436c02e375206da37a9f0a03fb) (string ident) erases all objects (and sets "needs update" flag of its dependencies) with given design ident [More...](#a01fa12436c02e375206da37a9f0a03fb)  
  [renameDesign](class_data_object_container.xhtml#a2615c573b21bcbfdce9cb732dcd6038c) (string from\_name, string to\_name) renames all design idents [More...](#a2615c573b21bcbfdce9cb732dcd6038c)  
  [renameQuantity](class_data_object_container.xhtml#aed7f7ec6101929d132d78b5e4cec0a06) (string from\_name, string to\_name) renames all quantity idents [More...](#aed7f7ec6101929d132d78b5e4cec0a06)  
 Capacity

number [size](class_data_object_container.xhtml#abcd703e220fe34c4ff8364626470876d) () Get the number of data objects contained in this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. "). [More...](#abcd703e220fe34c4ff8364626470876d)  
 bool [empty](class_data_object_container.xhtml#a3f37b042a1e7cd4bd38fc564de81f0da) () True, if the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") contains no data objects. [More...](#a3f37b042a1e7cd4bd38fc564de81f0da)  
 <a id="aa821bec12eaa7e0f649397c9675ff505"></a> [clear](class_data_object_container.xhtml#aa821bec12eaa7e0f649397c9675ff505) () clears all data objects in the container   
 ## <a name="friends"></a>Friends

<a id="af2f2287f07e19933a935a60b337c7014"></a>class **DataObject** ## <a name="member-group"></a>Operations

<a class="anchor" id="amgrp456d0deba6a86c9585590550c797502d"></a> Miscellaneous methods

number [dimension](class_data_object_container.xhtml#a3826d5a1e240c1c24f271a0410911069) ([dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379) type) static [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) [sortDesignIdents](class_data_object_container.xhtml#a108f3eabb5280c21cf58a9c9922fb81c) ([string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) string) Sorts the given list of design IDs. [More...](#a108f3eabb5280c21cf58a9c9922fb81c)  
 static string [sampleFormatString](class_data_object_container.xhtml#aaa8995e0303a2bb22b2c217dba3ecce0) () static bool [isSampleDesignIdent](class_data_object_container.xhtml#ad0ab9ca4db182890c7d4a844ce3ca61a) (string s) static int [getSampleNumber](class_data_object_container.xhtml#a46745cb0c540800be74821623a4e4489) (string s) static string [getSampleIdent](class_data_object_container.xhtml#aa23c998acfc6005bd25abf497d93df62) (int number) static bool [isReservedResultQuantityIdent](class_data_object_container.xhtml#a39c1c39e086df0f6acfbbae459b2f307) (string s) <a id="details" name="details"></a>## Detailed Description

A general container for vector data.

This is a container for all data objects of the same type which may be used within SoS. A vector data object is described through a 'design' identifier and a 'quantity' identifier:

**quantity** A 'quantity' may be the x-direction of the stress tensor, the plastic strain or any other scalar physical quantity. **design** A 'design' is a single instantiation of the same quantity, i.e. if one has several measurements of the same quantity, each measurement represents a single design. Throughout the workflow of SoS one may add data sets which may be interpreted in terms of new designs or quantities. For example, the mean value or the standard deviation of a quantity is computed from a set of designs of the same quantity, and can be interpreted as a new design. Furthermore, one may define additional quantities, for example compute the von Mises equivalent stress from the 6-dimensional stress tensor (i.e. from 6 different quantities).

[DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") is a Sender. It communicates to it's Listeners (Qt Datatables, [Structure](class_structure.xhtml "The central data structure for SoS. ")) when its DataObjects are changed (insert, erase, rename, change activity)



## Constructor &amp; Destructor Documentation

<a id="a3c2a1cc92b9d99f88f88cb05e3dde2d3"></a>## [◆ ](#a3c2a1cc92b9d99f88f88cb05e3dde2d3)DataObjectContainer()

 [DataObjectContainer](class_data_object_container.xhtml)  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

copy constructor

Parameters otherthe container to be copied 



## Member Function Documentation

<a id="a4abe693e43c5eb23dd077b7b94ca3c51"></a>## [◆ ](#a4abe693e43c5eb23dd077b7b94ca3c51)\_\_getitem\_\_()

 [DataObjectPtr](class_data_object_ptr.xhtml) \_\_getitem\_\_  ( int  *idx*)  const

returns the i-th element of the current filter

Parameters idxthe index (0..size-1) Returnsa data object pointer Exceptions exceptionif the index is not valid 



<a id="a44139caf93a3463ea4f2a6671cdce842"></a>## [◆ ](#a44139caf93a3463ea4f2a6671cdce842)\_\_str\_\_()

 string \_\_str\_\_  ( ) 

provides the print() method for this class in SWIG bindings

Returnsa message to be printed when print(this) is called 



<a id="ac01bdbe9866e84f434efc56d18d2c625"></a>## [◆ ](#ac01bdbe9866e84f434efc56d18d2c625)active()

 [DataObjectContainer](class_data_object_container.xhtml) active  ( ) 

Filter for active data objects.

Returnsreturns the subset of active data objects 



<a id="ae7ea9a06802a14acba40ee576f16fb72"></a>## [◆ ](#ae7ea9a06802a14acba40ee576f16fb72)checkInsert()

 bool checkInsert  ( [DataObjectKey](class_data_object_key.xhtml)  *key*,    bool  *overwrite\_existing* = `false`   ) 

checks if an item can be inserted

Parameters keythe key to be tested. overwrite\_existingIf true it returns true. Else it returns true if *key* does not exist in the data base. ReturnsIf the key is invalid, it returns false. returns true if *key* does not exist in the data base. 



<a id="a95c22d297a703c1846cdf7c004eaef75"></a>## [◆ ](#a95c22d297a703c1846cdf7c004eaef75)depInputs()

 [DataObjectContainer](class_data_object_container.xhtml) depInputs  ( ) 

Filter for data objects marked as DOE dependent parameters.

Returnsreturns the subset of data objects marked as DOE dependent parameters 



<a id="a7d96425fdcb11118c0bb72444441f2b9"></a>## [◆ ](#a7d96425fdcb11118c0bb72444441f2b9)designExists()

 bool designExists  ( string  *design*) 

Check whether any DataObject with the given design ID exists. Computational complexity is of order O( log N\_designs ).

Parameters designThe design ID ReturnsTrue if a DataObject with the given design ID exists. 



<a id="afe1450937e7407938176edb6754befbf"></a>## [◆ ](#afe1450937e7407938176edb6754befbf)designIdents()

 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) designIdents  ( ) 

generates a vector of strings containing all design idents being part in this filter The ordering of the vector corresponds to the ordering of the ouput of generateVector()

Returnsthe vector contained of design ident strings 



<a id="afc070c7b791f8091a5a95c71b6f14735"></a>## [◆ ](#afc070c7b791f8091a5a95c71b6f14735)designs()

 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) designs  ( ) 

Generates a vector of strings containing all design idents being part in this filter.

Each design ident appears only once in the list. You can use this, for example, to find out which design names are selected.

ReturnsThe vector contained of design ident strings 



<a id="a3826d5a1e240c1c24f271a0410911069"></a>## [◆ ](#a3826d5a1e240c1c24f271a0410911069)dimension()

 number dimension  ( [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379)  *type*) 

Returnsreturns the dimension of the data objects of given type, if any Parameters typeDataObject type of which the dimension is returned 



<a id="a3f37b042a1e7cd4bd38fc564de81f0da"></a>## [◆ ](#a3f37b042a1e7cd4bd38fc564de81f0da)empty()

 bool empty  ( ) 

True, if the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") contains no data objects.

Returnsreturns true, if the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") contains no data objects 



<a id="a69edf27ea2ab7f799dea69259a7a62f4"></a>## [◆ ](#a69edf27ea2ab7f799dea69259a7a62f4)erase() \[1/2\]

 erase  ( [DataObjectKey](class_data_object_key.xhtml)  *key*) 

erases a data object from the container

Parameters keythe key of the data object to be removed. Throws an exception if it does not exist. 



<a id="afce340c1fd49e8007bbbe2a00592830b"></a>## [◆ ](#afce340c1fd49e8007bbbe2a00592830b)erase() \[2/2\]

 erase  ( [DataObjectContainer](class_data_object_container.xhtml)  *container*) 

Erases the DataObjects contained in the [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") passed as the argument, from this container. DataObjects not contained in this container, are skipped.

Parameters containerThe container of the data object to be removed. 



<a id="a01fa12436c02e375206da37a9f0a03fb"></a>## [◆ ](#a01fa12436c02e375206da37a9f0a03fb)eraseDesign()

 eraseDesign  ( string  *ident*) 

erases all objects (and sets "needs update" flag of its dependencies) with given design ident

Parameters identthe ident databasethe database wherein this container and all slaves and masters are stored 



<a id="a4b32c8958266ff87333ca085b89b3f73"></a>## [◆ ](#a4b32c8958266ff87333ca085b89b3f73)eraseQuantity()

 eraseQuantity  ( string  *ident*) 

erases all objects (and sets "needs update" flag of its dependencies) with given quantity ident

Parameters identthe ident databasethe database wherein this container and all slaves and masters are stored 



<a id="a72704c60f2b9d84b3986265aea0fe0b8"></a>## [◆ ](#a72704c60f2b9d84b3986265aea0fe0b8)exists() \[1/2\]

 bool exists  ( string  *design*,    string  *quantity*   ) 

Check whether a DataObject of given design ID and quantity ID exists.

Parameters designThe design ID quantityThe quantity ID Returnstrue, if the requested DataObject exists. 



<a id="aafcbe4a7beac4d373c25368e4c675dc4"></a>## [◆ ](#aafcbe4a7beac4d373c25368e4c675dc4)exists() \[2/2\]

 bool exists  ( [DataObjectKey](class_data_object_key.xhtml)  *key*) 

Check whether a DataObject with the given [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ") exists.

Returnstrue, if the given key exists Parameters keythe key to search for 



<a id="a988ee6b7e261a025f1310f81507f43a3"></a>## [◆ ](#a988ee6b7e261a025f1310f81507f43a3)fillValueTypeManager()

 fillValueTypeManager  ( ::core::ValueTypeManager  *manager*) 

Fill [ValueTypeManager](class_value_type_manager.xhtml "Keeps track of all unique ValueTypes. Required to create new ValueType shared resource instances...") with all ValueTypes contained in this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ").

NoteConvention: one [ValueType](class_value_type.xhtml "Represents a type of value and a set of properties. ValueType is intended to be associated with a set...") per quantity. Ignores DataObjects with empty m\_value\_type shared\_ptr. Parameters managerThe [ValueTypeManager](class_value_type_manager.xhtml "Keeps track of all unique ValueTypes. Required to create new ValueType shared resource instances...") to be filled. 



<a id="aa9c0e23be84ab48b5ea1841779e66268"></a>## [◆ ](#aa9c0e23be84ab48b5ea1841779e66268)filterDesign() \[1/2\]

 [DataObjectContainer](class_data_object_container.xhtml) filterDesign  ( string  *design\_id*,    bool  *match\_regex* = `false`   ) 

Returns the subset of data objects where the design ID is equal to the given ID.

Parameters design\_idThe design ID to filter for. match\_regexIf this is true then the given ident is a regular expression. The returned container contains all data objects that MATCH this expression. ReturnsThe resulting [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") 



<a id="a3d2239c5a1d607e7cae55a6c135efd7e"></a>## [◆ ](#a3d2239c5a1d607e7cae55a6c135efd7e)filterDesign() \[2/2\]

 [DataObjectContainer](class_data_object_container.xhtml) filterDesign  ( [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9)  *ids*) 

Returns the subset of data objects where the design ID is equal to one of the given ID list. Design IDs not found in the current [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") are skipped.

Parameters idsa vector of design IDs Returnsthe resulting filter object 



<a id="a6363bd922e52a89952fae621f41258fc"></a>## [◆ ](#a6363bd922e52a89952fae621f41258fc)filterID() \[1/3\]

 [DataObjectContainer](class_data_object_container.xhtml) filterID  ( string  *design\_id*,    string  *quantity\_id*   ) 

Returns a set containing a single or no data object, defined by design and quantity ID.

Parameters design\_idthe design ID string quantity\_idthe quantity ID string Returnsthe resulting container 



<a id="a942f7516510aaf8a95658389d930bcc0"></a>## [◆ ](#a942f7516510aaf8a95658389d930bcc0)filterID() \[2/3\]

 [DataObjectContainer](class_data_object_container.xhtml) filterID  ( [DataObjectKey](class_data_object_key.xhtml)  *key*) 

Returns container containing a single DataObject.

Parameters keyThe [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ") to filter for. Returnsthe resulting container 



<a id="a8b5371193e6891419a03ef367a5216f0"></a>## [◆ ](#a8b5371193e6891419a03ef367a5216f0)filterID() \[3/3\]

 [DataObjectContainer](class_data_object_container.xhtml) filterID  ( [data\_object\_key\_vector\_type](class_data_object_container.xhtml#a831464cbf6637a6d9426cfad4b30e1e5)  *key\_vector*) 

Returns a container containing all objects in key\_vector. Throws an ERROR if key\_vector contains duplicate DataObjectKeys.

Parameters key\_vectorA vector of unique DataObjectKeys. Returnsthe resulting container 



<a id="a62dbf8a6166ee22a6dc160040fac8257"></a>## [◆ ](#a62dbf8a6166ee22a6dc160040fac8257)filterQuantity() \[1/2\]

 [DataObjectContainer](class_data_object_container.xhtml) filterQuantity  ( string  *quantity\_id*,    bool  *match\_regex* = `false`   ) 

Returns the subset of data objects where the quantity ident is equal to the given ID.

Parameters quantity\_idThe quantity ID to filter for. match\_regexIf this is true then the given ident is a regular expression. The filter will contain all objects that MATCH this expression. Returnsthe resulting filter object 



<a id="a8619edf76b71eb71488e02d2afe534ed"></a>## [◆ ](#a8619edf76b71eb71488e02d2afe534ed)filterQuantity() \[2/2\]

 [DataObjectContainer](class_data_object_container.xhtml) filterQuantity  ( [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9)  *ids*) 

Returns the subset of data objects where the quantity ID is equal to one of the given ID list. Quantity IDs not found in the current [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") are skipped.

Parameters idsa vector of quantity IDs Returnsthe resulting filter object 



<a id="ac5e524cbe635d05cebaf52b2eee73bd6"></a>## [◆ ](#ac5e524cbe635d05cebaf52b2eee73bd6)filterSerializable()

 [DataObjectContainer](class_data_object_container.xhtml) filterSerializable  ( ) 

Get a subset of all data objects which can be serialized These are all objects which do not contain any NaN or infinity numbers.

ReturnsThe resulting [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") 



<a id="a88778d03fe76cec6eb828dd57ac82411"></a>## [◆ ](#a88778d03fe76cec6eb828dd57ac82411)filterType()

 [DataObjectContainer](class_data_object_container.xhtml) filterType  ( [dataobject\_types](group__data.xhtml#ga1bebf1e22deb3cd41d7d99ddcdb15379)  *type*) 

Returns a container containing objects of a single type.

Parameters typethe data object type (node/element/scalar) to filter for. Returnsthe resulting container 



<a id="a064c6b8de61a4eaabc1d8ecb7777acfb"></a>## [◆ ](#a064c6b8de61a4eaabc1d8ecb7777acfb)filterWithoutDesign()

 [DataObjectContainer](class_data_object_container.xhtml) filterWithoutDesign  ( string  *design\_id*) 

Returns the subset of data objects where the design ID is NOT equal to the given ID.

Parameters design\_idthe design ID to be filtered for. Returnsthe resulting filter object 



<a id="a2fee6f94f9d158b13b25333773d2dd0f"></a>## [◆ ](#a2fee6f94f9d158b13b25333773d2dd0f)filterWithoutID()

 [DataObjectContainer](class_data_object_container.xhtml) filterWithoutID  ( string  *design\_id*,    string  *quantity\_id*   ) 

Returns the subset of data objects NOT containing the data object defined by ID and quantity ID.

Parameters design\_idthe design ID string to be filtered for quantity\_idthe quantity ID string to be filtered for Returnsthe resulting filter object 



<a id="a9894e187de92b709b980af4f72657d4f"></a>## [◆ ](#a9894e187de92b709b980af4f72657d4f)filterWithoutQuantity()

 [DataObjectContainer](class_data_object_container.xhtml) filterWithoutQuantity  ( string  *quantity\_id*) 

Returns the subset of data objects where the quantity ID is NOT equal to the given ID.

Parameters design\_idthe quantity ID to be filtered for Returnsthe resulting filter object 



<a id="ae1c3801d3ff9a1bf0749dffdf1e242d5"></a>## [◆ ](#ae1c3801d3ff9a1bf0749dffdf1e242d5)find() \[1/2\]

 [DataObjectPtr](class_data_object_ptr.xhtml) find  ( string  *design*,    string  *quantity*   ) 

Gets the data object with given data key.

Parameters designThe design ID quantityThe quantity ID Returnsa pointer to the requested object Exceptions exceptionif the object does not exist 



<a id="a00f452f17159cf5600ee5f48d15be6cc"></a>## [◆ ](#a00f452f17159cf5600ee5f48d15be6cc)find() \[2/2\]

 [DataObjectPtr](class_data_object_ptr.xhtml) find  ( [DataObjectKey](class_data_object_key.xhtml)  *key*) 

Gets the data object with given data key.

Parameters keyThe [DataObjectKey](class_data_object_key.xhtml "the key (ident) of a data object in generic containers. ") of the data object to be found Returnsa pointer to the requested object Exceptions exceptionif the object does not exist 



<a id="ac128db8392720a15d6e7f47e93c88b80"></a>## [◆ ](#ac128db8392720a15d6e7f47e93c88b80)fromFile()

 [DataObjectContainer](class_data_object_container.xhtml) fromFile  ( ) 

Filter for data objects which were imported from a file.

Returnsreturns the subset of data objects which were imported from a file 



<a id="aa23c998acfc6005bd25abf497d93df62"></a>## [◆ ](#aa23c998acfc6005bd25abf497d93df62)getSampleIdent()

 static string getSampleIdent  ( int  *number*)   static 

Returnsthe design string ident of the given sample number Parameters numberthe number to be converted 



<a id="a46745cb0c540800be74821623a4e4489"></a>## [◆ ](#a46745cb0c540800be74821623a4e4489)getSampleNumber()

 static int getSampleNumber  ( string  *s*)   static 

Returnsthe sample number which is given as a design ident string Parameters sthe string to be converted 



<a id="a892eff18dec0d7b6fd05c72b2b25091b"></a>## [◆ ](#a892eff18dec0d7b6fd05c72b2b25091b)inactive()

 [DataObjectContainer](class_data_object_container.xhtml) inactive  ( ) 

Filter for inactive data objects.

Returnsreturns the subset of inactive data objects 



<a id="ad628e58a3f2370187cefb859563cc746"></a>## [◆ ](#ad628e58a3f2370187cefb859563cc746)inputs()

 [DataObjectContainer](class_data_object_container.xhtml) inputs  ( ) 

Filter for data objects marked as DOE input parameters.

Returnsreturns the subset of data objects marked as DOE input parameters 



<a id="a844c9a5a2416075dbb621837faddc4f8"></a>## [◆ ](#a844c9a5a2416075dbb621837faddc4f8)insert() \[1/3\]

 void insert  ( [DataObjectKey](class_data_object_key.xhtml)  *key*,    [DataObjectPtr](class_data_object_ptr.xhtml)  *item*   ) 

inserts a new data object. Assigns [ValueTypeDouble](class_value_type_double.xhtml "Identifies a set of values as number precision floating points values and an associated set of option...") (named after key.quantity()) to the inserted data object.

Parameters itema shared pointer to the data object to be inserted. ReturnsAn iterator to the newly added data object Exceptions std::exceptionIf the key already exists in the database 



<a id="adcef3af2ddfef83778861f840c0416b8"></a>## [◆ ](#adcef3af2ddfef83778861f840c0416b8)insert() \[2/3\]

 void insert  ( [DataObjectKey](class_data_object_key.xhtml)  *key*,    [DataObjectPtr](class_data_object_ptr.xhtml)  *item*,    std::shared\_ptr&lt;::core::ValueType &gt;  *value\_type*   ) 

inserts a new data object.

Parameters itema shared pointer to the data object to be inserted. value\_typeThe [ValueType](class_value_type.xhtml "Represents a type of value and a set of properties. ValueType is intended to be associated with a set...") shared resource of the data object to be inserted. ReturnsAn iterator to the newly added data object Exceptions std::exceptionIf the key already exists in the database 



<a id="a51b8c2e3bd639abcd738c2a98e5fc4ab"></a>## [◆ ](#a51b8c2e3bd639abcd738c2a98e5fc4ab)insert() \[3/3\]

 insert  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*,    bool  *update\_description* = `false`,    [Structure](class_structure.xhtml) \*  *database* = `0`,    bool  *overwrite\_existing* = `false`   ) 

inserts a set of data objects contained in another container

Parameters update\_descriptionif true, then this method calls See alsogenerateDescription for each inserted object! Parameters databaseif update\_description is true, then update\_description must point to the database all data refers to otherthe container which has all objects to be inserted overwrite\_existingif this is true, then any possibly existing object will be deleted before existing the new one (else an error appears if any object with same ident already exists). If true, the See also[database](group__data.xhtml#gaebcac3a2836ec9fdf2e47bd812994b6b "Gives access to the global database. ") must be [a](group__tmath.xhtml#ga7e205066f67b9e3fd4c8cbd5859e8da3) valid pointer. 



<a id="a39c1c39e086df0f6acfbbae459b2f307"></a>## [◆ ](#a39c1c39e086df0f6acfbbae459b2f307)isReservedResultQuantityIdent()

 static bool isReservedResultQuantityIdent  ( string  *s*)   static 

Returnstrue if the given quantity ident is reserved for results (hence it cannot be imported from file) Parameters sthe string to test 



<a id="ad0ab9ca4db182890c7d4a844ce3ca61a"></a>## [◆ ](#ad0ab9ca4db182890c7d4a844ce3ca61a)isSampleDesignIdent()

 static bool isSampleDesignIdent  ( string  *s*)   static 

Returnstrue if the given design ident string can be interpreted as a sample number Parameters sthe string to be checked 



<a id="a01c71804ddc13e4fca2aacd02134a769"></a>## [◆ ](#a01c71804ddc13e4fca2aacd02134a769)nonSamples()

 [DataObjectContainer](class_data_object_container.xhtml) nonSamples  ( ) 

Filter for non-sample data objects.

Returnsreturns the subset of data objects NOT having sample string IDs 



<a id="a93923d7bedbfe9a068d53784f6e0c3d8"></a>## [◆ ](#a93923d7bedbfe9a068d53784f6e0c3d8)notFromFile()

 [DataObjectContainer](class_data_object_container.xhtml) notFromFile  ( ) 

Filter for data objects which were NOT imported from a file.

Returnsreturns the subset of data objects which were NOT imported from a file 



<a id="accde3afcbb0415939e45252512b3af66"></a>## [◆ ](#accde3afcbb0415939e45252512b3af66)operator\*()

 [DataObjectContainer](class_data_object_container.xhtml) operator\*  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

performs the set intersection

Parameters otherthe other filter Returnsreturns the intersection of this and other 



<a id="a89ca332a23d46e97018f24b3b634e8aa"></a>## [◆ ](#a89ca332a23d46e97018f24b3b634e8aa)operator+()

 [DataObjectContainer](class_data_object_container.xhtml) operator+  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

performs the set union

Parameters otherthe other filter Returnsreturns the union of this and other 



<a id="a717b8362e30ad94fd57b9087f3aec065"></a>## [◆ ](#a717b8362e30ad94fd57b9087f3aec065)operator/()

 [DataObjectContainer](class_data_object_container.xhtml) operator/  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

performs the set difference

Parameters otherthe other filter Returnsreturns the difference of this minus other 



<a id="a3619cbe41ed2a2e1f2f654e5e9e427db"></a>## [◆ ](#a3619cbe41ed2a2e1f2f654e5e9e427db)operator=()

 [DataObjectContainer](class_data_object_container.xhtml) operator=  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

destructor

the assignment operator It copies all data and callbacks, but no mutexes (thread locks)

Parameters otherthe source Returnsa reference to this object 



<a id="addd137ea1cb68d019bbc027e787d0f3e"></a>## [◆ ](#addd137ea1cb68d019bbc027e787d0f3e)operator==()

 bool operator==  ( [DataObjectContainer](class_data_object_container.xhtml)  *other*) 

Returnstrue if both objects contain objects with identical content Parameters otherthe container to be compared This equal content means, that the pointer do not necessarily point to the same address, but the objects behind these addresses have the same contents. Both containers may contain copies of the same data sets. Then they are considered to be equal. 



<a id="a3528fa5c2bc9da26a1c3cdda3d645c0b"></a>## [◆ ](#a3528fa5c2bc9da26a1c3cdda3d645c0b)operator\[\]()

 [DataObjectPtr](class_data_object_ptr.xhtml) operator\[\]  ( int  *idx*) 

returns the i-th element of the current filter

Parameters idxthe index (0..size-1) Returnsa data object pointer Exceptions exceptionif the index is not valid 



<a id="af47e8fae53b8f978396af4b4007c6b95"></a>## [◆ ](#af47e8fae53b8f978396af4b4007c6b95)quantities()

 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) quantities  ( ) 

Generates a vector of strings containing all quantity idents being part in this filter.

Each quantity ident appears only once in the list. You can use this, for example, to find out which quantity names are selected.

ReturnsThe vector contained of quantity ident strings 



<a id="a566784596083c7810e86cd900a5b8c1d"></a>## [◆ ](#a566784596083c7810e86cd900a5b8c1d)quantityExists()

 bool quantityExists  ( string  *quantity*) 

Check whether any DataObject with the given quantity ID exists. Worst case computational complexity is of order O( N\_designs \* log N\_quantities)

Parameters quantityThe design ID ReturnsTrue if a DataObject with the given quantity ID exists. 



<a id="a3fd2740b12d821c55d78c29aaf7585ca"></a>## [◆ ](#a3fd2740b12d821c55d78c29aaf7585ca)quantityIdents()

 [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) quantityIdents  ( ) 

generates a vector of strings containing all quantity idents being part in this filter The ordering of the vector corresponds to the ordering of the ouput of generateVector()

Returnsthe vector contained of quantity ident strings 



<a id="a2615c573b21bcbfdce9cb732dcd6038c"></a>## [◆ ](#a2615c573b21bcbfdce9cb732dcd6038c)renameDesign()

 renameDesign  ( string  *from\_name*,    string  *to\_name*   ) 

renames all design idents

NoteCreates copies of the DataObjects to be renamed and removes the original DataObjects from this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. "). This favors data consistency over performance. Parameters from\_namethe original design ident to\_namethe new design ident. If it cannot be renamed (for example, if the names already exist in the data base) an exception is thrown. The data base may remain unchanged. After the renaming, the ordering of the data base will be adjusted to the new naming. 



<a id="aed7f7ec6101929d132d78b5e4cec0a06"></a>## [◆ ](#aed7f7ec6101929d132d78b5e4cec0a06)renameQuantity()

 renameQuantity  ( string  *from\_name*,    string  *to\_name*   ) 

renames all quantity idents

NoteCreates copies of the DataObjects to be renamed and removes the original DataObjects from this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. "). This favors data consistency over performance. Parameters from\_namethe original design ident to\_namethe new quantity ident. If it cannot be renamed (for example, if the names already exist in the data base) an exception is thrown. The data base may remain unchanged. After the renaming, the ordering of the data base will be adjusted to the new naming. 



<a id="ac7636c3263b7ecc20a761612d3adce18"></a>## [◆ ](#ac7636c3263b7ecc20a761612d3adce18)responses()

 [DataObjectContainer](class_data_object_container.xhtml) responses  ( ) 

Filter for data objects marked as DOE responses.

Returnsreturns the subset of data objects marked as DOE responses 



<a id="aaa8995e0303a2bb22b2c217dba3ecce0"></a>## [◆ ](#aaa8995e0303a2bb22b2c217dba3ecce0)sampleFormatString()

 static string sampleFormatString  ( )   static 

ReturnsA copy of the See alsosample\_ident\_format\_string 



<a id="ac8fb74d0fa2c408063005cf2a32a8b1b"></a>## [◆ ](#ac8fb74d0fa2c408063005cf2a32a8b1b)samples()

 [DataObjectContainer](class_data_object_container.xhtml) samples  ( ) 

Filter for sample data objects.

Returnsreturns the subset of data objects having sample string IDs 



<a id="ae5a274f83fd436019cca4ae43f1fb574"></a>## [◆ ](#ae5a274f83fd436019cca4ae43f1fb574)setActive()

 setActive  ( bool  *active*) 

changes the activity flag of all contained objects

Parameters activeis true if the objects are to be set active, false if inactive. 



<a id="abcd703e220fe34c4ff8364626470876d"></a>## [◆ ](#abcd703e220fe34c4ff8364626470876d)size()

 number size  ( ) 

Get the number of data objects contained in this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ").

Returnsthe number of objects contained in this [DataObjectContainer](class_data_object_container.xhtml "A general container for vector data. ") 



<a id="a108f3eabb5280c21cf58a9c9922fb81c"></a>## [◆ ](#a108f3eabb5280c21cf58a9c9922fb81c)sortDesignIdents()

 static [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9) sortDesignIdents  ( [string\_vector\_type](class_data_object_container.xhtml#ac293ea0e5c280f69a497ea20f20c60b9)  *string*)   static 

Sorts the given list of design IDs.

Parameters stringa vector of unique design ID strings ReturnsAn ordered vector of IDs. Numbers are sorted according to See alsocompareDesignIdents