ansys::dpf::PinDefinition Struct Reference
Last update: 10.07.2023
ansys::dpf::PinDefinition Struct Reference
#include <dpf_api.h>
Public Member Functions | |
PinDefinition (int pin_position) | |
PinDefinition & | setName (std::string const &n) |
PinDefinition & | setPosition (int n) |
PinDefinition & | setDoc (std::string const &n) |
PinDefinition & | setOptional (bool n) |
PinDefinition & | setEllipsis (bool n) |
PinDefinition & | setAcceptedTypes (std::vector< TypeDescriptor > const &n) |
Data Fields | |
std::string | name |
int | position |
std::string | documentation |
bool | is_optional |
bool | is_ellipsis |
std::vector< TypeDescriptor > | accepted_types |
Detailed Description
Definition of an Operator pin.
Constructor & Destructor Documentation
◆ PinDefinition()
|
inline |
Create pin definition for given pin.
- Parameters
-
[in] pin_position Pin for which to create definition.
Member Function Documentation
◆ setAcceptedTypes()
|
inline |
- Returns
- Pin definition.
◆ setDoc()
|
inline |
Set description of pin.
- Returns
- Pin definition.
- Parameters
-
[in] n Pin description.
◆ setEllipsis()
|
inline |
- Returns
- Pin definition.
◆ setName()
|
inline |
Set name of pin.
- Returns
- Pin definition.
- Parameters
-
[in] n Name of pin.
◆ setOptional()
|
inline |
Set indication that pin is optional.
- Returns
- Pin definition.
- Parameters
-
[in] n Flag indicating if pin is optional.
◆ setPosition()
|
inline |
Set input pin position.
- Returns
- Pin definition.
- Parameters
-
[in] n Postion of pin.
Field Documentation
◆ documentation
std::string ansys::dpf::PinDefinition::documentation |
Description of pin.
◆ name
std::string ansys::dpf::PinDefinition::name |
Name of pin.
◆ position
int ansys::dpf::PinDefinition::position |
Pin position number.