Difference between revisions of "Core.Actions.ReplaceSubByteField"

From emotive
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''ReplaceSubByteField'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | ReplaceSubByteField | Replace parts of a ByteFields with an other ByteField | [[Action]] | [[Core|OTX Core library]] | [[ByteFieldModifiers related actions]] | [[OutOfBoundsException]] | - }}
+
{{ClassificationActivity | ReplaceSubByteField | Replace parts of a ByteFields with an other ByteField | [[Action]] | [[Core|OTX Core library]] | [[Core.Actions.Throw.Exception.OutOfBoundsException|ByteFieldModifiers related actions]] | [[Core.Actions.Throw.Exception.OutOfBoundsException|OutOfBoundsException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
The OTX '''ReplaceSubByteField''' activity replaces parts a [[ByteField]]s with an other [[ByteField]].
+
The OTX '''ReplaceSubByteField''' activity replaces parts a [[Core.DataTypes.ComplexDataType.ByteField|ByteField]]s with an other [[Core.DataTypes.ComplexDataType.ByteField|ByteField]].
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ByteField | [[ByteField]] | [[Variable]] | - | [1] | Variable of type ByteField in which a part should be replaced}}
+
{{TableRowPropertie1| ByteField | [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Variable]] | - | [1] | Variable of type ByteField in which a part should be replaced}}
 
{{TableRowPropertie2| NewByteField | [[Term]] | [[Variable]] | - | [1] | The new ByteField, overwriting the old ByteField starting at the position (index)}}
 
{{TableRowPropertie2| NewByteField | [[Term]] | [[Variable]] | - | [1] | The new ByteField, overwriting the old ByteField starting at the position (index)}}
{{TableRowPropertie1| Index | [[Integer]] | [[Term]] | - | [1] | Index in the ByteField starting the new ByteField to override.}}
+
{{TableRowPropertie1| Index | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1] | Index in the ByteField starting the new ByteField to override.}}
 
|}
 
|}
  
Line 29: Line 29:
  
 
== See also ==
 
== See also ==
[[Assignment]] <br/>
+
[[Core.Actions.Assignment|Assignment]] <br/>
[[ProcedureCall]] <br/>
+
[[Core.Actions.ProcedureCall|ProcedureCall]] <br/>
[[ShiftRight]] <br/>
+
[[Core.Actions.ShiftRight|ShiftRight]] <br/>
[[ShiftLeft]] <br/>
+
[[Core.Actions.ShiftLeft|ShiftLeft]] <br/>
[[SetBit]] <br/>
+
[[Core.Actions.SetBit|SetBit]] <br/>
[[AppendByteField]] <br/>
+
[[Core.Actions.AppendByteField|AppendByteField]] <br/>
[[ListConcatenate]] <br/>
+
[[Core.Actions.ListConcatenate|ListConcatenate]] <br/>
[[ListAppendItems]] <br/>
+
[[Core.Actions.ListAppendItems|ListAppendItems]] <br/>
[[ListInsertItems]] <br/>
+
[[Core.Actions.ListInsertItems|ListInsertItems]] <br/>
[[ListRemoveItems]] <br/>
+
[[Core.Actions.ListRemoveItems|ListRemoveItems]] <br/>
[[ListClear]] <br/>
+
[[Core.Actions.ListClear|ListClear]] <br/>
[[MapUnion]] <br/>
+
[[Core.Actions.MapUnion|MapUnion]] <br/>
[[MapPutItems]] <br/>
+
[[Core.Actions.MapPutItems|MapPutItems]] <br/>
[[MapRemoveItems]] <br/>
+
[[Core.Actions.MapRemoveItems|MapRemoveItems]] <br/>
[[MapClear]]
+
[[Core.Actions.MapClear|MapClear]]

Latest revision as of 04:31, 17 February 2016

Classification

Name ReplaceSubByteField
Short Description Replace parts of a ByteFields with an other ByteField
Class Action
Extension OTX Core library
Group ByteFieldModifiers related actions
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ByteField.ReplaceSubByteField(ByteFieldVariable, ByteFieldVariable, IntegerTerm);

Description

The OTX ReplaceSubByteField activity replaces parts a ByteFields with an other ByteField.

Properties

Name Data Type Class Default Cardinality Description
ByteField ByteField Variable - [1] Variable of type ByteField in which a part should be replaced
NewByteField Term Variable - [1] The new ByteField, overwriting the old ByteField starting at the position (index)
Index Integer Term - [1] Index in the ByteField starting the new ByteField to override.

OTL Examples

Integer Index1 = 0;
ByteField ByteField1 = &00FF;
ByteField NewByteField1;

ByteField.ReplaceSubByteField(ByteField1, NewByteField1, Index1);

See also

Assignment
ProcedureCall
ShiftRight
ShiftLeft
SetBit
AppendByteField
ListConcatenate
ListAppendItems
ListInsertItems
ListRemoveItems
ListClear
MapUnion
MapPutItems
MapRemoveItems
MapClear