TypeDesc_UAProperties.FindChild (METH) ¶ METHOD FindChild : ITreeWalker InOut: Scope Name Type Comment Return FindChild ITreeWalker Input pstPath POINTER TO STRING varInfo REFERENCE TO VariableInformation pResult POINTER TO UDINT Inout iOffsetInPath __XWORD Not used anymore. Have to stay for compatibility reasons.
ForwaredImplementations ¶ Execute_internal (Method) GetAddress (Method) GetAttributeByIndex_internal (Method) GetBaseType_internal (Method) GetEnumMemberAttributeList_internal (Method) GetEnumValues_internal (Method) GetName_internal (Method) GetNativeSize2_internal (Method) GetNativeSize_internal (Method) GetNumOfAttributes_internal (Method) GetRange_internal (Method) GetReferenceBaseType_internal (Method) GetSize2_internal (Method) GetSize_internal (Method) GetSwapSize_internal (Method) GetTypeClass2_internal (Method) GetTypeClass_internal (Method) GetTypeDescVarLenArray_Internal (Method) GetTypeDesc_internal (Method) GetTypeNode_internal (Method) GetUABuiltinType_internal (Method) MethodCallTypeIndex_internal (Property) Swap_internal (Method)
TypeDesc_UAProperties.GetFirstChildByBrowseName (METH) ¶ METHOD GetFirstChildByBrowseName : ITreeWalker This function searches the first occurent of a defined name within a sorted list. The name may occur multiple times. InOut: Scope Name Type Return GetFirstChildByBrowseName ITreeWalker Input pBrowseName POINTER TO OpcUa_QualifiedName varInfo REFERENCE TO VariableInformation Output result RTS_IEC_RESULT
TypeDesc_UAProperties.GetNextChildByBrowseName (METH) ¶ METHOD GetNextChildByBrowseName : ITreeWalker This function searches the first occurent of a defined name within a sorted list. The name may occur multiple times. InOut: Scope Name Type Return GetNextChildByBrowseName ITreeWalker Input pBrowseName POINTER TO OpcUa_QualifiedName varInfo REFERENCE TO VariableInformation pBrowseInfo POINTER TO RtsBrowseInfo Output result RTS_IEC_RESULT
UtilTokenizer.EndOfStrReached (PROP) ¶ PROPERTY EndOfStrReached : BOOL
UtilTokenizer.Initialize (METH) ¶ METHOD Initialize : BOOL InOut: Scope Name Type Return Initialize BOOL Input pstr POINTER TO STRING strDelims STRING
UtilTokenizer.NextToken (METH) ¶ METHOD NextToken : BOOL InOut: Scope Name Type Return NextToken BOOL Output bEnd BOOL iTokenStartOffset __XWORD iTokenLen __XWORD
VariableInformation (FB) ¶ FUNCTION_BLOCK VariableInformation IMPLEMENTS __SYSTEM.IQueryInterface InOut: Scope Name Type Initial Comment Input MonitoringOffset __XWORD MonitoringSize __XWORD BitOffset BYTE MethodCallIndex WORD _AccessRights AccessRights SymbolicName POINTER TO STRING VariableType REFERENCE TO TypeDesc _wFlags DWORD OriginalVariableInformationStruct POINTER TO VariableInformationStruct3 0 NestingPathInfo POINTER TO NestingPathInformation 0 CurrentNestingDepth __XWORD PropertyInformation POINTER TO PropertyInfo ReferenceInformation POINTER TO BYTE CallingVariableNode ILeafTreeNode nextTypeForFindChild POINTER TO TypeDesc Used by array resolution to resolve correclty within the next element. This is because an array does not change the leave node. User RTS_IEC_HANDLE RTS_INVALID_HANDLE _UserAccessRights DWORD _hVariableInstance ILeafTreeNode SymbolsSetMask DWORD SymbolSetsActivated BOOL HandleBrowseInfo BOOL InformationModel BOOL UserAccessRights BYTE ANY_TO_BYTE(-1) ResolveNodeAfterBrowse BOOL CurrentBrowseNameIndex DINT UseVariableTypeForInitialResolution BOOL Special value signalling that the typedesc VariableType should be used for resolving the initial node. This is probably only relevant when using GetSymbolicSubNode. One usecase of this is the resolution of nested arrays eg. …structCmp[0][1] as then the last node is the one of the structCmp but we need to resolve starting from the left hand array. Properties: AccessRights ArrayOfArrayNesting BitAccess ClientAddressResolution CompleteAccess DontModifyOffset ExecutableMember Offset SplitHugeVariables VariableInstance Methods: AddBrowseInfo AddNestingPathInfo BackupOffset CopyVariableInformation CopyVariableInformationBack DecrementOffset GetBrowseInfo GetNextBrowseInfo GetOrAllocNestingPathInfo IncrementOffset OverwriteOffset RemoveBrowseInfo RemoveNestingPathInfo RestoreOffset Structure: AccessRights (Property) AddBrowseInfo (Method) AddNestingPathInfo (Method) ArrayOfArrayNesting (Property) BackupOffset (Method) BitAccess (Property) ClientAddressResolution (Property) CompleteAccess (Property) CopyVariableInformation (Method) CopyVariableInformationBack (Method) DecrementOffset (Method) DontModifyOffset (Property) ExecutableMember (Property) GetBrowseInfo (Method) GetNextBrowseInfo (Method) GetOrAllocNestingPathInfo (Method) IncrementOffset (Method) Offset (Property) OverwriteOffset (Method) RemoveBrowseInfo (Method) RemoveNestingPathInfo (Method) RestoreOffset (Method) SplitHugeVariables (Property) VariableInstance (Property)
TypeDesc_VarLenArray.Swap_internal (METH) ¶ METHOD Swap_internal : __XWORD InOut: Scope Name Type Return Swap_internal __XWORD Input pData POINTER TO BYTE varInfo REFERENCE TO VariableInformation bMotorola BOOL pResult POINTER TO UDINT
TypeHasCompleteBlittableLayout (FUN) ¶ FUNCTION TypeHasCompleteBlittableLayout : BOOL Checks whether a type is blittable (the compiler and network layout are identical, ignoring byte order). Currently, this function is rather conservative and only considers primitive types and their aliases to be blittable. It might be extended in the future to cover some more cases, but for technical reasons, it will should never cover structs with unexported members, or FBs (VTable pointer etc.) !! Warning !!: If this function is extended to cover structured types (structs, arrays etc.), the TypeDesc_Property.Set method needs to be reworked thoroughly to allow access beyound VIF_COMPLETE_ACCESS, and handle array nesting correctly. InOut: Scope Name Type Return TypeHasCompleteBlittableLayout BOOL Input typeDesc REFERENCE TO TypeDesc