    

 ## On this page

  

 

 # ansys::dpf::CustomTypeFieldsContainer Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::CustomTypeFieldsContainer:

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



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

<a id="a43cc23b4378cbda69c2df6b40351e20c" name="a43cc23b4378cbda69c2df6b40351e20c"></a> **CustomTypeFieldsContainer** ([CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) const &amp;) <a id="ae2e67ab6a6d1b87384d88291c70ca53a" name="ae2e67ab6a6d1b87384d88291c70ca53a"></a> **CustomTypeFieldsContainer** ([CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) &amp;&amp;)  [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a6549470b067faacff7505e4304d80da5) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) <a id="aab7913584ae5fbd3ad88e74d1ce9ca10" name="aab7913584ae5fbd3ad88e74d1ce9ca10"></a>[CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) &amp; **operator=** ([CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) const &amp;) <a id="aa0d0a644dddae6b5e3a4c37ed76d64d2" name="aa0d0a644dddae6b5e3a4c37ed76d64d2"></a>[CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) &amp; **operator=** ([CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) &amp;&amp;) [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [operator\[\]](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a78e5486305d5d2330143a82e3ab1cd64) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ada112c98419bedbc1e90473d2e2641cf) () const [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [at](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a2bb825ef745028ae124723664d1721f0) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [at](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a0d85df941eb94304aa713f31c203f6cb) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const void [update](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ad6cd99e2c5c073ff3709c17657e59f0f) ([CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) &amp;f, [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) void [reserve](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a991022c5004fbf2a07ca5a84743cc4a3) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ada112c98419bedbc1e90473d2e2641cf)) void [resize](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a68ab46044453a5fc0e584a85af7a1071) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ada112c98419bedbc1e90473d2e2641cf)) void [addLabel](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ae5e7fb3e846b8ff68305e4b4002109ef) (std::string const &amp;label) void [addLabel](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a80881656e1917d0e8a9952c82d38ab56) (std::string const &amp;label, [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) default\_value) void [addLabels](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a3292df06870c4bbcc0b1b6b0353aaffa) (std::vector&lt; std::string &gt; const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml)) void [add](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a898f0092958c0adb4b1fed0256293fa6) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;[labels](structansys_1_1dpf_1_1labels.xhtml), [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) const &amp;f) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [getSizeFor](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a0c526ddb5e50c14c564b2c68ece091e4) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const std::vector&lt; [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) &gt; [getCustomTypeFields](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a43329515b1faf96f24540fb28876d9c9) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [getCustomTypeField](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#afbb394c6a1124f023188c0fde3f77d3c) ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;label\_space) const std::vector&lt; std::string &gt; [labels](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ac207b387ee9116aae7c292cd3c151ec6) () const [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) [getLabelSpace](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#aa506a598467e7751a750db63a50b6251) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) index) const bool [hasLabel](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a19d76dab4d7b005e03da56c9465ead71) (std::string const &amp;label) const @ return Indication that given label exists within container. [More...](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a19d76dab4d7b005e03da56c9465ead71)  
 [Scoping](classansys_1_1dpf_1_1Scoping.xhtml) [labelScoping](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ade4e2f50157c2872f223e0988f378043) (std::string const &amp;label) const <a id="a163d49e339c1df1dea9271f591f52ade" name="a163d49e339c1df1dea9271f591f52ade"></a>[CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) **createSubCustomTypeFieldsContainer** ([LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;lab\_space) const create a [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) with all the CustomTypeFields corresponding to the label space in input   
 std::string [name](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a53e2fe6ed9029bda5d7ed9e7b05e5772) () const void [setName](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a9126afc642657a92c6f5e90f2c58322c) (std::string [name](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a53e2fe6ed9029bda5d7ed9e7b05e5772)) <a id="a8d54cd98a074c96f784e2f0b3b536951" name="a8d54cd98a074c96f784e2f0b3b536951"></a>[dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) **id** () const @ return Id of container.   
 void [setId](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#ae42966afeb3033b254750a700420f804) ([dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a8d54cd98a074c96f784e2f0b3b536951)) ![-](/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 [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) [emptyCustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml#a0c1698f9c74ae209656e11454723670d) () <a id="details" name="details"></a>## Detailed Description

Contains a group of custom type fields. The [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) is designed as a set of custom type fields ordered through labels and ids. Labels identify how the fields are filtered.

See also[CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) [Using collections and labels](group__group__12.xhtml)

## Constructor &amp; Destructor Documentation

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

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

Create container for a group of CustomTypeFields with the given labels.

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



## Member Function Documentation

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

 void ansys::dpf::CustomTypeFieldsContainer::add  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *labels*,    [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) const &amp;  *f*   ) 

Add [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) with given label space.

Parameters \[in\]labels[Label](structansys_1_1dpf_1_1Label.xhtml) space for [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml). \[in\]f[CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) to add. 



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

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

Add label.

Parameters \[in\]labelNew group label. 



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

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

Add label with default value for all already entered entities in the container.

Parameters \[in\]labelNew label. \[in\]default\_valueDefault value for label. 



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

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

Add labels.

Parameters \[in\]labelsNew labels. 



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

 [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) ansys::dpf::CustomTypeFieldsContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*) 

ReturnsCustomTypeFields for given index. Parameters \[in\]indexIndex of [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) to get. 



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

 const [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) ansys::dpf::CustomTypeFieldsContainer::at  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *index*)  const

ReturnsCustomTypeFields for given index. Parameters \[in\]indexIndex of [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) to get. 



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

 static [CustomTypeFieldsContainer](classansys_1_1dpf_1_1CustomTypeFieldsContainer.xhtml) ansys::dpf::CustomTypeFieldsContainer::emptyCustomTypeFieldsContainer  ( )   static 

Create an empty container.

ReturnsEmpty container. 



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

 [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) ansys::dpf::CustomTypeFieldsContainer::getCustomTypeField  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *label\_space*)  const

ReturnsFirst [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) for given label space. Parameters \[in\]label\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml). 



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

 std::vector&lt; [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) &gt; ansys::dpf::CustomTypeFieldsContainer::getCustomTypeFields  ( [LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) const &amp;  *label\_space*)  const

ReturnsVector of CustomTypeFields for given label space. Parameters \[in\]label\_space[Label](structansys_1_1dpf_1_1Label.xhtml) space for which to get CustomTypeFields. 



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

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

Returns[LabelSpace](classansys_1_1dpf_1_1LabelSpace.xhtml) for given index in container. Parameters \[in\]indexIndex of the [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) in container for which to get label space. 



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

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

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



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

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

@ return Indication that given label exists within container.

Parameters \[in\]label[Label](structansys_1_1dpf_1_1Label.xhtml) for which to check existence. 



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

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

ReturnsVector of labels. 



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

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

Returnsa scoping of the available ids in the container for a given label Parameters \[in\]labelName of label. 



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

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

ReturnsName of CustomTypeFields container. 



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

 [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) ansys::dpf::CustomTypeFieldsContainer::operator\[\]  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*) 

Returns[CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) for given index. Parameters \[in\]indexIndex of CustomTypeFields within container. 



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

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

Reserve space for given number of CustomTypeFields.

Parameters \[in\]sizeExpected number of CustomTypeFields. 



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

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

Resize CustomTypeFieldsCotnainer to given number of CustomTypeFields.

Parameters \[in\]sizeNumber of CustomTypeFields in container. 



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

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

Set Id of container.

Parameters \[in\]idId for container. 



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

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

Set name of container.

Parameters \[in\]nameName of container. 



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

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

ReturnsNumber of CustomTypeFields in container. 



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

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

Update a [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) at index.

Parameters \[in\]fNew [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml). \[in\]indexIndex of [CustomTypeField](classansys_1_1dpf_1_1CustomTypeField.xhtml) to update.