Difference between revisions of "Core.Terms.BitwiseNot"

From emotive
Jump to navigation Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | BitwiseNot | Bitwise NOT operation two ByteFields | Term | OTX Core library | ByteField operat...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''BitwiseNot'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
 
{{ClassificationActivity | BitwiseNot | Bitwise NOT operation two ByteFields | [[Term]] | [[Core|OTX Core library]] | [[ByteField operations]] | - | - }}
 
{{ClassificationActivity | BitwiseNot | Bitwise NOT operation two ByteFields | [[Term]] | [[Core|OTX Core library]] | [[ByteField operations]] | - | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
Value = ~ByteFieldTerm
 
Value = ~ByteFieldTerm
Line 13: Line 13:
 
{{Important|Please keep in mind that this [[TermActivity]] in the form of an activity exists and no text can be entered. According to the respective [[ActionNode]] can further properties are added.}}
 
{{Important|Please keep in mind that this [[TermActivity]] in the form of an activity exists and no text can be entered. According to the respective [[ActionNode]] can further properties are added.}}
  
{{TermReturnValue| [[ByteField]] | Return of the bitwise negation of the operand}}
+
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | Return of the bitwise negation of the operand}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ByteFieldTerm | [[ByteField]] | [[Term]] | - | [1] | Operand}}
+
{{TableRowPropertie1| ByteFieldTerm | [[Core.DataTypes.ComplexDataType.ByteField|ByteField]] | [[Term]] | - | [1] | Operand}}
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
ByteField result = BitwiseNot(&12)
+
ByteField result;
 +
result = ~&12;
 
//Returns result = &ED
 
//Returns result = &ED
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
[[BitwiseAnd]] <br/>
+
[[Core.Terms.BitwiseAnd|BitwiseAnd]] <br/>
[[BitwiseOr]] <br/>
+
[[Core.Terms.BitwiseOr|BitwiseOr]] <br/>
[[BitwiseXor]] <br/>
+
[[Core.Terms.BitwiseXor|BitwiseXor]] <br/>
[[ByteFieldGetSize]] <br/>
+
[[Core.Terms.ByteFieldGetSize|ByteFieldGetSize]] <br/>
[[SubByteField]] <br/>
+
[[Core.Terms.SubByteField|SubByteField]] <br/>
[[GetBit]]
+
[[Core.Terms.GetBit|GetBit]]

Latest revision as of 08:49, 16 February 2016

Classification

Name BitwiseNot
Short Description Bitwise NOT operation two ByteFields
Class Term
Extension OTX Core library
Group ByteField operations
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

Value = ~ByteFieldTerm

Description

BitwiseNot is a term, which returns the bitwise negation of ByteFields as a result.

Exclamation.png Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
ByteField Return of the bitwise negation of the operand

Properties

Name Data Type Class Default Cardinality Description
ByteFieldTerm ByteField Term - [1] Operand

OTL Examples

ByteField result;
result = ~&12;
//Returns result = &ED

See also

BitwiseAnd
BitwiseOr
BitwiseXor
ByteFieldGetSize
SubByteField
GetBit