Difference between revisions of "Core.Terms.ByteFieldGetSize"

From emotive
Jump to navigation Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | ByteFieldGetSize | Number of bytes in the ByteField | Term | OTX Core library | ByteField oper...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''ByteFieldGetSize'''}}[[Category:Core]]
 
== Classification ==
 
== Classification ==
 
{{ClassificationActivity | ByteFieldGetSize | Number of bytes in the ByteField | [[Term]] | [[Core|OTX Core library]] | [[ByteField operations]] | - | - }}
 
{{ClassificationActivity | ByteFieldGetSize | Number of bytes in the ByteField | [[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 = ByteFieldGetSize(ByteFieldTerm)
+
IntegerTerm = ByteField.ByteFieldGetSize(ByteFieldTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
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| [[Integer]] | Return of the number of bytes of the operand}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Return of the number of bytes 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 ==
 
== Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Integer result = ByteFieldGetSize(&12)
+
Integer result;
 +
result = ByteField.ByteFieldGetSize(&12);
 
//Returns result = 1
 
//Returns result = 1
 
</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/>
[[BitwiseNot]] <br/>
+
[[Core.Terms.BitwiseNot|BitwiseNot]] <br/>
[[SubByteField]] <br/>
+
[[Core.Terms.SubByteField|SubByteField]] <br/>
[[GetBit]]
+
[[Core.Terms.GetBit|GetBit]]

Latest revision as of 08:49, 16 February 2016

Classification

Name ByteFieldGetSize
Short Description Number of bytes in the ByteField
Class Term
Extension OTX Core library
Group ByteField operations
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

IntegerTerm = ByteField.ByteFieldGetSize(ByteFieldTerm);

Description

ByteFieldGetSize is a term, which returns the number of bytes in the ByteField 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
Integer Return of the number of bytes of the operand

Properties

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

Examples

Integer result;
result = ByteField.ByteFieldGetSize(&12);
//Returns result = 1

See also

BitwiseAnd
BitwiseOr
BitwiseXor
BitwiseNot
SubByteField
GetBit