Ejemplo n.º 1
0
 /// <summary>
 /// Starts writing a new structure.
 /// </summary>
 /// <param name="name">
 /// Name of the written structure. The structure can be accessed by this name when the storage is read.
 /// </param>
 /// <param name="structFlags">Operation flags associated with the written structure.</param>
 /// <param name="typeName">
 /// Optional parameter, the object type name. In case of XML it is written as a type_id attribute of the
 /// structure opening tag. In the case of YAML it is written after a colon following the structure name.
 /// </param>
 /// <param name="attributes">Not used in the current implementation.</param>
 public void StartWriteStruct(string name, StructStorageFlags structFlags, string typeName = null, AttrList attributes = default(AttrList))
 {
     NativeMethods.cvStartWriteStruct(this, name, structFlags, typeName, attributes);
 }
Ejemplo n.º 2
0
 internal static extern void cvStartWriteStruct(
     FileStorage fs,
     string name,
     StructStorageFlags struct_flags,
     string type_name,
     AttrList attributes);