PStringVector (FB) ¶ FUNCTION_BLOCK PStringVector EXTENDS BaseVector Properties: Capacity , inherited from BaseVector Count , inherited from BaseVector Methods: AddString GetString Clear , inherited from BaseVector InitMemory , inherited from BaseVector RemoveLast , inherited from BaseVector ReserveSpace , inherited from BaseVector proAfterAlloc , inherited from BaseVector proRemove , inherited from BaseVector Structure: AddString (Method) GetString (Method)
PStringVector.AddString (METH) ¶ METHOD AddString : UDINT InOut: Scope Name Type Return AddString UDINT Input pstring POINTER TO STRING
PStringVector.GetString (METH) ¶ METHOD GetString : POINTER TO STRING InOut: Scope Name Type Return GetString POINTER TO STRING Input udiIndex UDINT Output udiResult UDINT
Pair_DintDint (STRUCT) ¶ TYPE Pair_DintDint : STRUCT InOut: Name Type diKey DINT diValue DINT
Pair_PStringDint (STRUCT) ¶ TYPE Pair_PStringDint : STRUCT InOut: Name Type pstr POINTER TO STRING di DINT
BaseVector.Count (PROP) ¶ PROPERTY Count : DINT
BaseVector.InitMemory (METH) ¶ METHOD InitMemory : UDINT InOut: Scope Name Type Return InitMemory UDINT Input buffer StaticMemBuffer
BaseVector.RemoveLast (METH) ¶ METHOD RemoveLast : UDINT InOut: Scope Name Type Return RemoveLast UDINT
BaseVector.ReserveSpace (METH) ¶ METHOD ReserveSpace : UDINT InOut: Scope Name Type Return ReserveSpace UDINT Input iItemCount UDINT
BaseVector.proAfterAlloc (METH) ¶ METHOD proAfterAlloc This method can be optionally overridden by derived function blocks, if some kind of processing is necessary after the vector’s memory was allocated successfully. InOut: Scope Name Type Comment Input diPrevAllocSize DINT The previous maximum number of items, that can be stored in the vector diCurrAllocSize DINT The new maximum number of items, that can be stored in the vector