TypeDesc_Property.GetTypeClass2_internal (METH) ¶ METHOD GetTypeClass2_internal : TypeClass InOut: Scope Name Type Return GetTypeClass2_internal TypeClass Input dwFlags DWORD
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.Set_internal (METH) ¶ METHOD Set_internal : __XWORD InOut: Scope Name Type Return Set_internal __XWORD Input pSrc POINTER TO BYTE pDest POINTER TO BYTE varInfo REFERENCE TO VariableInformation dwSize __XWORD pResult POINTER TO UDINT
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
VariableInformation.AccessRights (PROP) ¶ PROPERTY AccessRights : AccessRights
VariableInformation.AddBrowseInfo (METH) ¶ METHOD AddBrowseInfo : RTS_IEC_RESULT InOut: Scope Name Type Return AddBrowseInfo RTS_IEC_RESULT Input pNode IBaseTreeNode pType REFERENCE TO TypeDesc nArrayIndex DINT nStructIndex DINT
VariableInformation.AddNestingPathInfo (METH) ¶ METHOD AddNestingPathInfo : RTS_IEC_RESULT InOut: Scope Name Type Return AddNestingPathInfo RTS_IEC_RESULT Input typeNode REFERENCE TO TypeDesc maxDepth UINT