Difference between revisions of "Extensions.DataType.StructureCopy"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''StructureCopy'''}}Category:DataTypes == Classification == {{ClassificationActivity | StructureCopy | Creates a deep copy of a specified structure. |...") |
m (Hb moved page Extensions.DataTypes.StructureCopy to Extensions.DataType.StructureCopy) |
(No difference)
|
Revision as of 10:21, 24 September 2018
Contents
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
DataTypes.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.
![]()
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 DataTypes.DatatypeSignature DatatypeSignature1(Boolean DatatypeElement1 = true, Integer DatatypeElement2 = 12);
public procedure main()
{
DatatypeSignature1 structure1;
DatatypeSignature1 structure2;
structure2 = DataTypes.CopyStructure(structure1);
}
See also
EnumerationContainsName
EnumerationContainsValue
EnumerationGetEntryList
GetEnumerationByName
GetEnumerationByValue