    

 ## On this page

  

 

 # DataObjectIdentMap Class Reference

 Last update: 16.07.2025 

A map of data objects of same type being associated with single string idents. [More...](class_data_object_ident_map.xhtml#details)

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

<a id="aecda2762686ef28a64e707ca8adbf775"></a>typedef [DataObjectPtr](class_data_object_ptr.xhtml) [PtrBase](class_data_object_ident_map.xhtml#aecda2762686ef28a64e707ca8adbf775) corresponding DataObject pointer type   
 ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

[PtrBase](class_data_object_ident_map.xhtml#aecda2762686ef28a64e707ca8adbf775) [\_\_getitem\_\_](class_data_object_ident_map.xhtml#a5a195b690a64e43e80a69a7e85d038db) (string key) const references a member of the map [More...](#a5a195b690a64e43e80a69a7e85d038db)  
  [\_\_setitem\_\_](class_data_object_ident_map.xhtml#adc74708ac63d88d2bf7eaba067f57e98) (string key, [PtrBase](class_data_object_ident_map.xhtml#aecda2762686ef28a64e707ca8adbf775) value) adds/changes a value in the map [More...](#adc74708ac63d88d2bf7eaba067f57e98)  
 <a id="abdcc12704b48e722663a1e9c87c1941d"></a> [DataObjectIdentMap](class_data_object_ident_map.xhtml#abdcc12704b48e722663a1e9c87c1941d) () default constructor (creates an empty list)   
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="af400dbe3fe1572c567f882190c772196"></a>T **elements** STL member.   
 <a id="a4736f9b2b54dddaa10b54581a23a1789"></a>K **keys** STL member.   
 <a id="details" name="details"></a>## Detailed Description

A map of data objects of same type being associated with single string idents.

The implementation uses a std::map. Hence, it ensures that each data object is contained only once in the set. The class may be used to store the data objects contained in a single input file. At this stage of the import of data, no information on the 'design ident' exist.

Template Parameters TYPEthe type of the vector data 

## Member Function Documentation

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

 [PtrBase](class_data_object_ident_map.xhtml#aecda2762686ef28a64e707ca8adbf775) \_\_getitem\_\_  ( string  *key*)  const

references a member of the map

Parameters keythe ident Returnsa reference to the value of the ident NoteThis is used for SWIG to access the \[\] operator. 



<a id="adc74708ac63d88d2bf7eaba067f57e98"></a>## [◆ ](#adc74708ac63d88d2bf7eaba067f57e98)\_\_setitem\_\_()

 \_\_setitem\_\_  ( string  *key*,    [PtrBase](class_data_object_ident_map.xhtml#aecda2762686ef28a64e707ca8adbf775)  *value*   ) 

adds/changes a value in the map

Parameters keythe ident valuethe new value NoteThis is used for SWIG to access the \[\] operator.