    

 ## On this page

  

 

 # ansys::dpf::Scoping Class Reference

 Last update: 16.07.2025 

Define a set of entities by [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). [More...](classansys_1_1dpf_1_1Scoping.xhtml#details)

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::Scoping:

 ![](/sites/default/files/migrate-content/dpf_cpp_client_library_2024_r1/classansys_1_1dpf_1_1Scoping.png)



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

 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml#a6d0e48f879e9e6647f659a0010de361f) ()  [Scoping](classansys_1_1dpf_1_1Scoping.xhtml#a3f86c065a82a7ae05cbf16fc424fab39) (std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;[ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b), [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) [location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9))  [Scoping](classansys_1_1dpf_1_1Scoping.xhtml#a9e087ca8b1a487f2afc83b848746fba2) (std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;[ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b), [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) [location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9), [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [Scoping](classansys_1_1dpf_1_1Scoping.xhtml#a11202e16776f413ef89146f6a528a1b1) ([Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client)  [Scoping](classansys_1_1dpf_1_1Scoping.xhtml#ae1d319d0e8a3704e26556a8b11da2273) (int id, [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client) <a id="a95d3c08798fc15fb9daf34de74972518" name="a95d3c08798fc15fb9daf34de74972518"></a> **Scoping** ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;) <a id="aa120c3cad4e1648796cfd5dabeff99a9" name="aa120c3cad4e1648796cfd5dabeff99a9"></a> **Scoping** ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp;&amp;) <a id="af6234c489fca21ae452862aa318bc725" name="af6234c489fca21ae452862aa318bc725"></a>[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp; **operator=** ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;) <a id="a94eb795baff362d95410258771e94221" name="a94eb795baff362d95410258771e94221"></a>[Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp; **operator=** ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) &amp;&amp;) [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) [location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9) () const void [setLocation](classansys_1_1dpf_1_1Scoping.xhtml#abfc7b7b2376db292a67d05e9b7828367) ([ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) [location](classansys_1_1dpf_1_1Scoping.xhtml#a516b4489a94ff02ecc880f170b8f93a9)) void [setIds](classansys_1_1dpf_1_1Scoping.xhtml#a021a022f87287b786ff9b3c92deb0e69) (std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;[ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b)) void [setIds](classansys_1_1dpf_1_1Scoping.xhtml#aad7349f7505d953324c71900cf3d020c) ([dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) \*[ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b), [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)) bool [identicalPointers](classansys_1_1dpf_1_1Scoping.xhtml#a5666c29a9074bd286801882ed3105de1) ([Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;f) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a) () const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [idByIndex](classansys_1_1dpf_1_1Scoping.xhtml#ae35e47f2cceccf7ad9ed4590bd10ff89) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) const [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) [indexById](classansys_1_1dpf_1_1Scoping.xhtml#ab80b20d56d63ce48c08ce6b7428e06c2) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) id) const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [at](classansys_1_1dpf_1_1Scoping.xhtml#a0fc75ac65a5b13727b77e2c155828ccd) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) const const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) \* [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &amp;[size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)) const [DpfVector](classansys_1_1dpf_1_1DpfVector.xhtml)&lt; int &gt; [ids](classansys_1_1dpf_1_1Scoping.xhtml#a14dbd1c25bbfc1c3a3dc3ab9b5762d8c) () const void [getIds](classansys_1_1dpf_1_1Scoping.xhtml#a7377823a48ee69e439a8589627c5e6c0) (std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; &amp;ids\_to\_fill) const void [emplace](classansys_1_1dpf_1_1Scoping.xhtml#a94f0dd35d07efdc472ef072b42f9cfda) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index, [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) id) <a id="a0b2cb58e52e98cd3e3a97c5fd8889e8b" name="a0b2cb58e52e98cd3e3a97c5fd8889e8b"></a>std::string **hashIds** () const void [reserve](classansys_1_1dpf_1_1Scoping.xhtml#a6b57f31ddd1d7f0b33451cb374ff3fb1) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)) void [resize](classansys_1_1dpf_1_1Scoping.xhtml#a82964b0127f36300908474a507cdd01a) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1Scoping.xhtml#aeae5e27bd752bdf0da3cc2d64fbe118a)) [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [deep\_copy](classansys_1_1dpf_1_1Scoping.xhtml#a462ea63161ca7f6796cc6ccf976942b4) ([ansys::dpf::Client](classansys_1_1dpf_1_1Client.xhtml) const \*const client=nullptr) const ![-](/sites/default/files/migrate-content/dpf_cpp_client_library_2024_r1/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 bool [hasInternalObject](classansys_1_1dpf_1_1DpfTypes.xhtml#ae198f89868d85c7db6dc1a934a1d3c15) () 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 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [emptyScoping](classansys_1_1dpf_1_1Scoping.xhtml#a5c2fcf31c8714d27cec3455a94552650) () <a id="details" name="details"></a>## Detailed Description

Define a set of entities by [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b).

The scoping is entities ids representing a subset of the model's support. Typically, scoping can represent node ids, element ids, time steps, frequencies, joints... Its location indicates what kind of entity the scoping is referring to. Scopings are used to identify the entities where a field is scoped or to choose (through an input pin) a subset on which an operator should compute its result.

Examples[CompleteRST.cpp](CompleteRST_8cpp-example.xhtml#_a16), [DataApis.cpp](DataApis_8cpp-example.xhtml#_a0), [ModelTest.cpp](ModelTest_8cpp-example.xhtml#_a36), [OperatorsApis.cpp](OperatorsApis_8cpp-example.xhtml#_a8), and [ResultTest.cpp](ResultTest_8cpp-example.xhtml#_a19).

## Constructor &amp; Destructor Documentation

<a id="a6d0e48f879e9e6647f659a0010de361f" name="a6d0e48f879e9e6647f659a0010de361f"></a>## [◆ ](#a6d0e48f879e9e6647f659a0010de361f)Scoping() \[1/5\]

 ansys::dpf::Scoping::Scoping  ( ) 

Create a new scoping.





<a id="a3f86c065a82a7ae05cbf16fc424fab39" name="a3f86c065a82a7ae05cbf16fc424fab39"></a>## [◆ ](#a3f86c065a82a7ae05cbf16fc424fab39)Scoping() \[2/5\]

 ansys::dpf::Scoping::Scoping  ( std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;  *ids*,    [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml)  *location*   ) 

Create a scoping of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b) at a location.

Parameters \[in\]idsVector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). \[in\]location[Location](structansys_1_1dpf_1_1Location.xhtml "User defined location quantity.") of scoping. 



<a id="a9e087ca8b1a487f2afc83b848746fba2" name="a9e087ca8b1a487f2afc83b848746fba2"></a>## [◆ ](#a9e087ca8b1a487f2afc83b848746fba2)Scoping() \[3/5\]

 ansys::dpf::Scoping::Scoping  ( std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;  *ids*,    [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml)  *location*,    [Client](classansys_1_1dpf_1_1Client.xhtml) const \*const  *client*   ) 

Create a scoping of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b) at a location.

Parameters \[in\]idsVector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). \[in\]location[Location](structansys_1_1dpf_1_1Location.xhtml "User defined location quantity.") of scoping. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



<a id="a11202e16776f413ef89146f6a528a1b1" name="a11202e16776f413ef89146f6a528a1b1"></a>## [◆ ](#a11202e16776f413ef89146f6a528a1b1)Scoping() \[4/5\]

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

Create a new scoping on a server.

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



<a id="ae1d319d0e8a3704e26556a8b11da2273" name="ae1d319d0e8a3704e26556a8b11da2273"></a>## [◆ ](#ae1d319d0e8a3704e26556a8b11da2273)Scoping() \[5/5\]

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

Retrieve an existing instance of [Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") on a server.

Parameters \[in\]idId of the [Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") object on the server's database. \[in\]client[Client](classansys_1_1dpf_1_1Client.xhtml) instance designating the IP, port and protocol to use. 



## Member Function Documentation

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

 [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) ansys::dpf::Scoping::at  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*)  const

ReturnsId at index offset into vector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). 



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

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

Create a new [Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") on a server by copying all the data of this [Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.").

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



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

 void ansys::dpf::Scoping::emplace  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*,    [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *id*   ) 

Set offset index into scoping to new id.

Parameters \[in\]index[Location](structansys_1_1dpf_1_1Location.xhtml "User defined location quantity.") for new id. \[in\]idNew id. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a3).



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

 static [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) ansys::dpf::Scoping::emptyScoping  ( )   static 

Create an empty scoping.

ReturnsEmpty [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) 



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

 void ansys::dpf::Scoping::getIds  ( std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; &amp;  *ids\_to\_fill*)  const

Update ids\_to\_fill with scoping [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b).

Parameters \[out\]ids\_to\_fillvector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a7).



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

 [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) ansys::dpf::Scoping::idByIndex  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*)  const

ReturnsId at index offset into vector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Parameters \[in\]indexindex into vector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a9).



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

 bool ansys::dpf::Scoping::identicalPointers  ( [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) const &amp;  *f*)  const

Compare scoping with input scoping f.

Parameters \[in\]f[Scoping](classansys_1_1dpf_1_1Scoping.xhtml "Define a set of entities by ids.") with which to compare. 



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

 [DpfVector](classansys_1_1dpf_1_1DpfVector.xhtml)&lt; int &gt; ansys::dpf::Scoping::ids  ( )  const

Returns[DpfVector](classansys_1_1dpf_1_1DpfVector.xhtml) of ids array. 



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

 const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) \* ansys::dpf::Scoping::ids  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &amp;  *size*)  const

ReturnsPointer to list of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Parameters \[out\]sizeLength of list. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a8).



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

 [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) ansys::dpf::Scoping::indexById  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *id*)  const

ReturnsIndex of id within vector of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). -1 if id not found. Parameters \[in\]idid. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a10).



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

 [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml) ansys::dpf::Scoping::location  ( )  const

Returns[Location](structansys_1_1dpf_1_1Location.xhtml "User defined location quantity.") of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a6), [ModelTest.cpp](ModelTest_8cpp-example.xhtml#a38), and [ResultTest.cpp](ResultTest_8cpp-example.xhtml#a20).



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

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

Reserve the container of ids.





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

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

Resize the container of ids.





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

 void ansys::dpf::Scoping::setIds  ( [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) \*  *ids*,    [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *size*   ) 

Update scoping to list of new [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b).

Parameters \[in\]idsList of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). \[in\]sizeNumber of [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). 



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

 void ansys::dpf::Scoping::setIds  ( std::vector&lt; [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) &gt; const &amp;  *ids*) 

Update scoping to vector of new [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b).

Parameters \[in\]idsNew [ids](classansys_1_1dpf_1_1Scoping.xhtml#acf26749e29d9f23de6c70806ccfaea6b). Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a4), and [DataExport.cpp](DataExport_8cpp-example.xhtml#a21).



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

 void ansys::dpf::Scoping::setLocation  ( [ansys::dpf::Location](structansys_1_1dpf_1_1Location.xhtml)  *location*) 

Set location of scoping.

Parameters \[in\]locationNew location for scoping. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a1).



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

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

ReturnsNumber of entries in scoping. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a49), [DataExport.cpp](DataExport_8cpp-example.xhtml#a16), and [ModelTest.cpp](ModelTest_8cpp-example.xhtml#a40).