Skip to content

get_operator_nameGetOperatorNameGetOperatorNameget_operator_nameT_get_operator_name🔗

Short description🔗

get_operator_nameGetOperatorNameGetOperatorNameget_operator_nameT_get_operator_name — Get operators with the given string as a substring of their name.

Signature🔗

get_operator_name( string Pattern, out string OperatorNames )void GetOperatorName( const HTuple& Pattern, HTuple* OperatorNames )static void HOperatorSet.GetOperatorName( HTuple pattern, out HTuple operatorNames )def get_operator_name( pattern: str ) -> Sequence[str]

Herror T_get_operator_name( const Htuple Pattern, Htuple* OperatorNames )

static HTuple HInfo::GetOperatorName( const HString& Pattern )

static HTuple HInfo::GetOperatorName( const char* Pattern )

static HTuple HInfo::GetOperatorName( const wchar_t* Pattern ) (Windows only)

static HTuple HInfo.GetOperatorName( string pattern )

Description🔗

The operator get_operator_nameGetOperatorName takes a string (Patternpatternpattern) as input and searches all HALCON-operators having this string as a substring in their name. If an empty string is entered, the names of all operators available will be returned.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Patternpatternpattern (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Substring of the sought names (empty \(<=>\) all names).

Default: 'info'"info"

OperatorNamesoperatorNamesoperator_names (output_control) string-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

Detected operator names.

Result🔗

The operator get_operator_nameGetOperatorName returns the value 2 (H_MSG_TRUE) if the helpfiles are available. Otherwise an exception is raised.

Combinations with other operators🔗

Combinations

Possible successors

get_operator_infoGetOperatorInfo, get_param_namesGetParamNames, get_param_numGetParamNum, get_param_typesGetParamTypes

Alternatives

search_operatorSearchOperator

See also

get_operator_infoGetOperatorInfo, get_param_namesGetParamNames, get_param_numGetParamNum, get_param_typesGetParamTypes

Module🔗

Foundation