|
static void | ParametersToObjectsContainer (const gd::Project &project, const std::vector< gd::ParameterMetadata > ¶meters, gd::ObjectsContainer &outputObjectsContainer) |
|
static void | ForEachParameterMatchingSearch (const std::vector< const std::vector< gd::ParameterMetadata > * > ¶metersVectorsList, const gd::String &search, std::function< void(const gd::ParameterMetadata &)> cb) |
|
static bool | Has (const std::vector< const std::vector< gd::ParameterMetadata > * > ¶metersVectorsList, const gd::String ¶meterName) |
|
static const gd::ParameterMetadata & | Get (const std::vector< const std::vector< gd::ParameterMetadata > * > ¶metersVectorsList, const gd::String ¶meterName) |
|
static void | IterateOverParameters (const std::vector< gd::Expression > ¶meters, const std::vector< gd::ParameterMetadata > ¶metersMetadata, std::function< void(const gd::ParameterMetadata ¶meterMetadata, const gd::Expression ¶meterValue, const gd::String &lastObjectName)> fn) |
|
static void | IterateOverParametersWithIndex (const std::vector< gd::Expression > ¶meters, const std::vector< gd::ParameterMetadata > ¶metersMetadata, std::function< void(const gd::ParameterMetadata ¶meterMetadata, const gd::Expression ¶meterValue, size_t parameterIndex, const gd::String &lastObjectName)> fn) |
|
static void | IterateOverParametersWithIndex (const gd::Platform &platform, const gd::ObjectsContainersList &objectsContainersList, FunctionCallNode &node, std::function< void(const gd::ParameterMetadata ¶meterMetadata, std::unique_ptr< gd::ExpressionNode > ¶meterNode, size_t parameterIndex, const gd::String &lastObjectName)> fn) |
|
static size_t | GetObjectParameterIndexFor (const std::vector< gd::ParameterMetadata > ¶metersMetadata, size_t parameterIndex) |
|
◆ GetObjectParameterIndexFor()
size_t gd::ParameterMetadataTools::GetObjectParameterIndexFor |
( |
const std::vector< gd::ParameterMetadata > & |
parametersMetadata, |
|
|
size_t |
parameterIndex |
|
) |
| |
|
static |
Given a parameter, return, if applicable, the index of the object parameter it's linked to.
◆ IterateOverParameters()
Iterate over a list of parameters and their values. Callback function is called with the parameter metadata, its value and if applicable the name of the object it's linked to.
◆ IterateOverParametersWithIndex() [1/2]
Iterate over the parameters of a FunctionCallNode. Callback function is called with the parameter metadata, its value and if applicable the name of the object it's linked to.
◆ IterateOverParametersWithIndex() [2/2]
Iterate over a list of parameters and their values. Callback function is called with the parameter metadata, its value and if applicable the name of the object it's linked to.
The documentation for this class was generated from the following files: