internal FPAttributeCollection(FPTag t)
 {
     for (int i = 0; i < t.NumAttributes; i++)
     {
         Add(t.GetAttributeByIndex(i));
     }
 }
Пример #2
0
 /// <summary>
 ///Create a new Tag. See API Guide: FPTag_Create
 ///
 ///@param inParent  The parent Tag for the new Tag.
 ///@param inName  The name of the new Tag.
 /// </summary>
 public FPTag(FPTag inParent, string inName)
 {
     this.theTag = Native.Tag.Create(inParent, inName);
     this.AddObject(this.theTag, this);
 }
Пример #3
0
 /// <summary>
 ///Create a copy of this Tag with under a new parent Tag. See API Guide: FPTag_Copy
 ///
 ///@param inNewParent The parent tag to use for the new (copy) Tag.
 ///@param inOptions   Options for creating the copy Tag.
 ///@return The new Tag.
 /// </summary>
 public FPTag Copy(FPTag inNewParent, int inOptions) => new FPTag(Native.Tag.Copy(this, inNewParent, (FPInt)inOptions));