Difference between revisions of "Extensions.DataType.StructureCopy"

From emotive
Jump to navigation Jump to search
Line 16: Line 16:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| OtherStructure | [[Extensions.DataType.Structure|Structure]] | [[Term]] | - | [1] | The structure to be copied.}}
+
{{TableRowPropertie2| OtherStructure | [[Extensions.DataType.Structure|Structure]] | [[Term]] | - | [1] | The structure to be copied.}}
  
 
|}
 
|}

Revision as of 09:27, 23 October 2018

Classification

Name StructureCopy
Short Description Creates a deep copy of a specified structure.
Class Term
Extension OTX DataTypes extension
Group StructureCopy related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

StructureTerm = DataType.StructureCopy(StructureTerm);

Description

StructureCopy is a term that creates a deep copy of a specified structure.

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
Structure Returns the copy of the specified structure.

Properties

Name Data Type Class Default Cardinality Description
OtherStructure Structure Term - [1] The structure to be copied.

OTL Examples

package DataType.DatatypeSignature DatatypeSignature1(Boolean DatatypeElement1 = true, Integer DatatypeElement2 = 12);
public procedure main()
{
   DatatypeSignature1 structure1;
   DatatypeSignature1 structure2;

   structure2 = DataType.CopyStructure(structure1);
}

See also

EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue