    

 ## On this page

  

 

 # ansys::dpf::ScopingsContainer Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::ScopingsContainer:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/classansys_1_1dpf_1_1ScopingsContainer.png)



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

<a id="a98f063603783bdb8947982e927b2a516" name="a98f063603783bdb8947982e927b2a516"></a> **ScopingsContainer** ([ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) const &amp;) <a id="adff802e4b70fb2be8c3fa63d0813a9cf" name="adff802e4b70fb2be8c3fa63d0813a9cf"></a> **ScopingsContainer** ([ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) &amp;&amp;)  [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ab5ca28dd2c6971bcdc6c05ac9e2ab0cb) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#aed23cb82bda6642f331cfe841701525a) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client, std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml))  [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a7d11bd51f92baa443d303095b7e432c3) (int [id](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ad3f754bfb43dc2624bdf35314deb9f71), [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a62fa8d44f5d7faf885ed3fad4c4c4c97) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) <a id="a88e8eb80b0d732f01257cbb430c9f6bf" name="a88e8eb80b0d732f01257cbb430c9f6bf"></a>[ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) &amp; **operator=** ([ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) const &amp;) <a id="a364c57ccc900a015095f4f8383c19a16" name="a364c57ccc900a015095f4f8383c19a16"></a>[ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) &amp; **operator=** ([ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) &amp;&amp;) [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [operator\[\]](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a9477378fc07a99bb193afa7b594ac67f) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a97551f74cb9ca448e5d1050a37403346) () const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [at](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ab1fdfc75b55ff6cd3c2475f1241734e4) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [at](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a857bbd814a0a207fd94bd93ad2fe745c) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const void [update](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a091782e39cd46714cd923cf784d8d30b) ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp;f, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) void [reserve](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a192faaae07f45e329fb20b49eba6400c) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a97551f74cb9ca448e5d1050a37403346)) void [resize](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a50ab61aa111158f682abb92b666b89bf) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a97551f74cb9ca448e5d1050a37403346)) void [addLabel](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a752450fb784b9acfcdf59dc4351f679e) (std::string const &amp;label) void [addLabel](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a40a07db93d1ca4b004085b68a3e61125) (std::string const &amp;label, [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) default\_value) void [addLabels](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a2051db5160a0bf065134b5fe972447f5) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) void [add](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a84dd455cbed983a8c00cc30c4365427f) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml), [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;f) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getSizeFor](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a840c89a1ed4500527461ed55d4e323e4) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) const std::vector&lt; [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &gt; [getScopings](classansys_1_1dpf_1_1ScopingsContainer.xhtml#aecc5c3362d12b433b29fd9e5ca450418) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) const std::vector&lt; [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) &gt; [getScopingsIndices](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a2a8782dceeb20d78578011c3b3accfff) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;lab\_space) const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [getScoping](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a72ac39c1f6bd56ac3ebe624369b3249f) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) const std::vector&lt; std::string &gt; [labels](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ae6c61d5f0ace59cfdaf1b2ae632bb46f) () const [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) [getLabelSpace](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a989ff8e9da5f347ef75dbdcce9a9e6e1) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const bool [hasLabel](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ab0054773938a4a4a05a2eee3b8b11e30) (std::string const &amp;label) const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [labelScoping](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a9b5034eb9b32f5c174bce48ea95fd5d5) (std::string const &amp;label) const @ return [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) for given label. [More...](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a9b5034eb9b32f5c174bce48ea95fd5d5)  
 [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) [createSubScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a937781f3a15cc04f81d38e290eb348e3) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;lab\_space) const std::string [name](classansys_1_1dpf_1_1ScopingsContainer.xhtml#adce27b49797d1004950fb3015d3d5fee) () const void [setName](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a19242b422fe19242ac71e678f84569e7) (std::string [name](classansys_1_1dpf_1_1ScopingsContainer.xhtml#adce27b49797d1004950fb3015d3d5fee)) [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ad3f754bfb43dc2624bdf35314deb9f71) () const void [setId](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a2318b0cfaf7a88b434205b9fe2086b07) ([dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1ScopingsContainer.xhtml#ad3f754bfb43dc2624bdf35314deb9f71)) [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) [deep\_copy](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a223fbc11c3fb729488a5f33772b2b2cf) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) const ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2023_r2/closed.png) Public Member Functions inherited from [ansys::dpf::DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml)virtual bool [empty](classansys_1_1dpf_1_1DpfTypes.xhtml#a39cd546c42518e2332be8f287db95459) () const virtual std::string [describe](classansys_1_1dpf_1_1DpfTypes.xhtml#a9977945710983bc03d2940fa007847b2) () const so::API const \* [callAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#aea34d37e0c080126eff70db34bf46597) () const bool [isOnCommonAPI](classansys_1_1dpf_1_1DpfTypes.xhtml#a9f9789ff61cc9d400a2a344830706b73) () const bool [getClient](classansys_1_1dpf_1_1DpfTypes.xhtml#a968afd9daa0b0f13b65a2ac61369d73a) ([Client](classansys_1_1dpf_1_1Client.xhtml) &amp;client) const bool [hasBeenMovedLocally](classansys_1_1dpf_1_1DpfTypes.xhtml#a1a5634202c15404b6b24e8f50e51cb66) () const bool [isSameObject](classansys_1_1dpf_1_1DpfTypes.xhtml#aa64d5f8fcd7d85ad6ebf708494dbefd7) ([DpfTypes](classansys_1_1dpf_1_1DpfTypes.xhtml) const &amp;rhs) const ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) [emptyScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml#a915d28f8d3b7869182ca79f9c4269b4c) () <a id="details" name="details"></a>## Detailed Description

Contains a group of scopings.

The scopings container is designed as a set of scopings ordered through labels and ids. Labels identify how the fields are filtered. The most common scopings container have the label "body" with ids corresponding to each body entity.

Generally, a defined [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) will contain [Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") entities to apply on the [MeshedRegion](classansys_1_1dpf_1_1MeshedRegion.xhtml "Holds the mesh for a given region (body, faces, skin, ...)") entities of a corresponding [MeshesContainer](classansys_1_1dpf_1_1MeshesContainer.xhtml).

See also[Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") [Using collections and labels](group__group__12.xhtml) Examples[AveragingTest.cpp](AveragingTest_8cpp-example.xhtml#_a19), and [WorkflowExamples.cpp](WorkflowExamples_8cpp-example.xhtml#_a18).

## Constructor &amp; Destructor Documentation

<a id="ab5ca28dd2c6971bcdc6c05ac9e2ab0cb" name="ab5ca28dd2c6971bcdc6c05ac9e2ab0cb"></a>## [◆ ](#ab5ca28dd2c6971bcdc6c05ac9e2ab0cb)ScopingsContainer() \[1/4\]

 ansys::dpf::ScopingsContainer::ScopingsContainer  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*) 

Create a new scopings container on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="aed23cb82bda6642f331cfe841701525a" name="aed23cb82bda6642f331cfe841701525a"></a>## [◆ ](#aed23cb82bda6642f331cfe841701525a)ScopingsContainer() \[2/4\]

 ansys::dpf::ScopingsContainer::ScopingsContainer  ( [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*,    std::vector&lt; std::string &gt; const &amp;  *labels*   ) 

Create a group of scopings with the given labels on a server.

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. \[in\]labelsLabels for group of scopings. 



<a id="a7d11bd51f92baa443d303095b7e432c3" name="a7d11bd51f92baa443d303095b7e432c3"></a>## [◆ ](#a7d11bd51f92baa443d303095b7e432c3)ScopingsContainer() \[3/4\]

 ansys::dpf::ScopingsContainer::ScopingsContainer  ( int  *id*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Retrieve an existing instance of [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) on a server.

Parameters \[in\]idId of the [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) object on the server's database. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a62fa8d44f5d7faf885ed3fad4c4c4c97" name="a62fa8d44f5d7faf885ed3fad4c4c4c97"></a>## [◆ ](#a62fa8d44f5d7faf885ed3fad4c4c4c97)ScopingsContainer() \[4/4\]

 ansys::dpf::ScopingsContainer::ScopingsContainer  ( std::vector&lt; std::string &gt; const &amp;  *labels*) 

Create a group of scopings with the given labels.

Parameters \[in\]labelsLabels for group of scopings. 



## Member Function Documentation

<a id="a84dd455cbed983a8c00cc30c4365427f" name="a84dd455cbed983a8c00cc30c4365427f"></a>## [◆ ](#a84dd455cbed983a8c00cc30c4365427f)add()

 void ansys::dpf::ScopingsContainer::add  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*,    [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;  *f*   ) 

Add new scoping with given labels to group.

Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space to use for new scoping. \[in\]f[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) to add to group. 



<a id="a752450fb784b9acfcdf59dc4351f679e" name="a752450fb784b9acfcdf59dc4351f679e"></a>## [◆ ](#a752450fb784b9acfcdf59dc4351f679e)addLabel() \[1/2\]

 void ansys::dpf::ScopingsContainer::addLabel  ( std::string const &amp;  *label*) 

Add new scoping with given label to group of scopings.

Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for new scoping. 



<a id="a40a07db93d1ca4b004085b68a3e61125" name="a40a07db93d1ca4b004085b68a3e61125"></a>## [◆ ](#a40a07db93d1ca4b004085b68a3e61125)addLabel() \[2/2\]

 void ansys::dpf::ScopingsContainer::addLabel  ( std::string const &amp;  *label*,    [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *default\_value*   ) 

Add label with value for new scoping in group of scopings.

Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for new scoping. \[in\]default\_valueValue for label. 



<a id="a2051db5160a0bf065134b5fe972447f5" name="a2051db5160a0bf065134b5fe972447f5"></a>## [◆ ](#a2051db5160a0bf065134b5fe972447f5)addLabels()

 void ansys::dpf::ScopingsContainer::addLabels  ( std::vector&lt; std::string &gt; const &amp;  *labels*) 

Add list of labels for new scopings in group.

Parameters \[in\]labelsLabels for new scopings. 



<a id="ab1fdfc75b55ff6cd3c2475f1241734e4" name="ab1fdfc75b55ff6cd3c2475f1241734e4"></a>## [◆ ](#ab1fdfc75b55ff6cd3c2475f1241734e4)at() \[1/2\]

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::ScopingsContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*) 

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) at given index. Parameters \[in\]indexIndex of scoping to get. 



<a id="a857bbd814a0a207fd94bd93ad2fe745c" name="a857bbd814a0a207fd94bd93ad2fe745c"></a>## [◆ ](#a857bbd814a0a207fd94bd93ad2fe745c)at() \[2/2\]

 const [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::ScopingsContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*)  const

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) at given index. Parameters \[in\]indexIndex of scoping to get. 



<a id="a937781f3a15cc04f81d38e290eb348e3" name="a937781f3a15cc04f81d38e290eb348e3"></a>## [◆ ](#a937781f3a15cc04f81d38e290eb348e3)createSubScopingsContainer()

 [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) ansys::dpf::ScopingsContainer::createSubScopingsContainer  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *lab\_space*)  const

Create a new [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) with all the scopings corresponding to the label space in input

Parameters \[in\]lab\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to create new scopings container. 



<a id="a223fbc11c3fb729488a5f33772b2b2cf" name="a223fbc11c3fb729488a5f33772b2b2cf"></a>## [◆ ](#a223fbc11c3fb729488a5f33772b2b2cf)deep\_copy()

 [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) ansys::dpf::ScopingsContainer::deep\_copy  ( [ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client* = `nullptr`)  const

Create a new [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) on a server by copying all the data of this [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml).

Parameters \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a915d28f8d3b7869182ca79f9c4269b4c" name="a915d28f8d3b7869182ca79f9c4269b4c"></a>## [◆ ](#a915d28f8d3b7869182ca79f9c4269b4c)emptyScopingsContainer()

 static [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml) ansys::dpf::ScopingsContainer::emptyScopingsContainer  ( )   static 

Create an empty scopings container.

ReturnsEmpty [ScopingsContainer](classansys_1_1dpf_1_1ScopingsContainer.xhtml). 



<a id="a989ff8e9da5f347ef75dbdcce9a9e6e1" name="a989ff8e9da5f347ef75dbdcce9a9e6e1"></a>## [◆ ](#a989ff8e9da5f347ef75dbdcce9a9e6e1)getLabelSpace()

 [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) ansys::dpf::ScopingsContainer::getLabelSpace  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*)  const

Returns[Label](structansys_1_1dpf_1_1Label.xhtml) space for given index into scoping container. Parameters \[in\]indexIndex for which to get label space. 



<a id="a72ac39c1f6bd56ac3ebe624369b3249f" name="a72ac39c1f6bd56ac3ebe624369b3249f"></a>## [◆ ](#a72ac39c1f6bd56ac3ebe624369b3249f)getScoping()

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::ScopingsContainer::getScoping  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*)  const

ReturnsFirst scoping for given label space. Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get first scoping. 



<a id="aecc5c3362d12b433b29fd9e5ca450418" name="aecc5c3362d12b433b29fd9e5ca450418"></a>## [◆ ](#aecc5c3362d12b433b29fd9e5ca450418)getScopings()

 std::vector&lt; [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &gt; ansys::dpf::ScopingsContainer::getScopings  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*)  const

ReturnsVector of scopings for given label space. Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space for whict to get scopings. 



<a id="a2a8782dceeb20d78578011c3b3accfff" name="a2a8782dceeb20d78578011c3b3accfff"></a>## [◆ ](#a2a8782dceeb20d78578011c3b3accfff)getScopingsIndices()

 std::vector&lt; [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) &gt; ansys::dpf::ScopingsContainer::getScopingsIndices  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *lab\_space*)  const

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") indices for scopings given by [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) Parameters \[in\]lab\_space[LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) defining scopings for which to get indices. 



<a id="a840c89a1ed4500527461ed55d4e323e4" name="a840c89a1ed4500527461ed55d4e323e4"></a>## [◆ ](#a840c89a1ed4500527461ed55d4e323e4)getSizeFor()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ScopingsContainer::getSizeFor  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*)  const

ReturnsNumber of scopings for given label space. Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get number of scopings. 



<a id="ab0054773938a4a4a05a2eee3b8b11e30" name="ab0054773938a4a4a05a2eee3b8b11e30"></a>## [◆ ](#ab0054773938a4a4a05a2eee3b8b11e30)hasLabel()

 bool ansys::dpf::ScopingsContainer::hasLabel  ( std::string const &amp;  *label*)  const

ReturnsIndication if given label exists withing scoping container. Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for which to check existence. 



<a id="ad3f754bfb43dc2624bdf35314deb9f71" name="ad3f754bfb43dc2624bdf35314deb9f71"></a>## [◆ ](#ad3f754bfb43dc2624bdf35314deb9f71)id()

 [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) ansys::dpf::ScopingsContainer::id  ( )  const

ReturnsId of scopings container. 



<a id="ae6c61d5f0ace59cfdaf1b2ae632bb46f" name="ae6c61d5f0ace59cfdaf1b2ae632bb46f"></a>## [◆ ](#ae6c61d5f0ace59cfdaf1b2ae632bb46f)labels()

 std::vector&lt; std::string &gt; ansys::dpf::ScopingsContainer::labels  ( )  const

ReturnsVector of labels for scoping container. 



<a id="a9b5034eb9b32f5c174bce48ea95fd5d5" name="a9b5034eb9b32f5c174bce48ea95fd5d5"></a>## [◆ ](#a9b5034eb9b32f5c174bce48ea95fd5d5)labelScoping()

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::ScopingsContainer::labelScoping  ( std::string const &amp;  *label*)  const

@ return [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) for given label.

Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for which to get scoping. 



<a id="adce27b49797d1004950fb3015d3d5fee" name="adce27b49797d1004950fb3015d3d5fee"></a>## [◆ ](#adce27b49797d1004950fb3015d3d5fee)name()

 std::string ansys::dpf::ScopingsContainer::name  ( )  const

ReturnsName of scopings container. 



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

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::ScopingsContainer::operator\[\]  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*) 

Returns[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) at given index. Parameters \[in\]indexIndex of scoping. 



<a id="a192faaae07f45e329fb20b49eba6400c" name="a192faaae07f45e329fb20b49eba6400c"></a>## [◆ ](#a192faaae07f45e329fb20b49eba6400c)reserve()

 void ansys::dpf::ScopingsContainer::reserve  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *size*) 

Reserve space for given number of scopings.

Parameters \[in\]sizeNumber of scopings. 



<a id="a50ab61aa111158f682abb92b666b89bf" name="a50ab61aa111158f682abb92b666b89bf"></a>## [◆ ](#a50ab61aa111158f682abb92b666b89bf)resize()

 void ansys::dpf::ScopingsContainer::resize  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *size*) 

Resize container to given number of scopings.

Parameters \[in\]sizeNumber of scopings. 



<a id="a2318b0cfaf7a88b434205b9fe2086b07" name="a2318b0cfaf7a88b434205b9fe2086b07"></a>## [◆ ](#a2318b0cfaf7a88b434205b9fe2086b07)setId()

 void ansys::dpf::ScopingsContainer::setId  ( [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *id*) 

Set Id of scopings container.

Parameters \[in\]idIds for scopings container. 



<a id="a19242b422fe19242ac71e678f84569e7" name="a19242b422fe19242ac71e678f84569e7"></a>## [◆ ](#a19242b422fe19242ac71e678f84569e7)setName()

 void ansys::dpf::ScopingsContainer::setName  ( std::string  *name*) 

Set name of scopings container.

Parameters \[in\]nameName for scopings container. 



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

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ScopingsContainer::size  ( )  const

ReturnsNumber of scopings. Examples[AveragingTest.cpp](AveragingTest_8cpp-example.xhtml#a21).



<a id="a091782e39cd46714cd923cf784d8d30b" name="a091782e39cd46714cd923cf784d8d30b"></a>## [◆ ](#a091782e39cd46714cd923cf784d8d30b)update()

 void ansys::dpf::ScopingsContainer::update  ( [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp;  *f*,    [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*   ) 

Update [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) at given index.

Parameters \[in\]fNew scoping. \[in\]indexIndex of scoping to update.