Skip to main content
Contains a group of custom type fields. The CustomTypeFieldsContainer is designed as a set of custom type fields ordered through labels and ids. Labels identify how the fields are filtered. See also: CustomTypeField Inherits from:
  • ansys::dpf::CollectionBase

Members

Friends

Public functions

Function CustomTypeFieldsContainer

Return type:

Function ~CustomTypeFieldsContainer

Return type:

Function CustomTypeFieldsContainer

Parameters:
  • CustomTypeFieldsContainer const &
Return type:

Function CustomTypeFieldsContainer

Parameters:
  • CustomTypeFieldsContainer &&
Return type:

Function CustomTypeFieldsContainer

Create container for a group of CustomTypeFields with the given labels. Parameters:
  • std::vector< std::string > const & labels: [in] Labels for group of CustomTypeFields.
Return type:

Function operator=

Parameters:
  • CustomTypeFieldsContainer const &
Return type: CustomTypeFieldsContainer &

Function operator=

Parameters:
  • CustomTypeFieldsContainer &&
Return type: CustomTypeFieldsContainer &

Function operator[]

Returns: CustomTypeField for given index. Parameters:
  • dp_int index: [in] Index of CustomTypeFields within container.
Return type: CustomTypeField

Function at

Returns: CustomTypeFields for given index. Parameters: Return type: CustomTypeField

Function at

Returns: CustomTypeFields for given index. Parameters: Return type: const CustomTypeField

Function update

Update a CustomTypeField at index. Parameters: Return type: void

Function add

Add CustomTypeField with given label space. Parameters: Return type: void

Function getSizeFor

Returns: Number of CustomTypeFields for given label space. Parameters:
  • LabelSpace const & label_space: [in] Label space for which to get number of entities.
Return type: dp_int

Function getCustomTypeFields

Returns: Vector of CustomTypeFields for given label space. Parameters:
  • LabelSpace const & label_space: [in] Label space for which to get CustomTypeFields.
Return type: std::vector< CustomTypeField >

Function getCustomTypeField

Returns: First CustomTypeField for given label space. Parameters: Return type: CustomTypeField

Function getCustomTypeFieldsIndices

Parameters: Return type: std::vector< int >

Function getMatchingCustomTypeField

Returns: First matching CustomTypeField for given label space. Parameters: Return type: CustomTypeField

Function getMatchingCustomTypeFieldIndices

Returns: Vector of matching CustomTypeField to the given label space. Parameters:
  • LabelSpace const & label_space: [in] Label space for which to get entries.
Return type: DpfVector< dp_index >

Function createSubCustomTypeFieldsContainer

create a CustomTypeFieldsContainer with all the CustomTypeFields corresponding to the label space in input Parameters: Return type: CustomTypeFieldsContainer

Public static functions

Function emptyCustomTypeFieldsContainer

Create an empty container. Returns: Empty container. Return type: CustomTypeFieldsContainer