Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

void TagLib::Asf::HeaderExtensionObject::AddUniqueObject ( Object  obj  )  [inline]

Adds a child unique child object to the current instance, replacing and existing child if present.

Parameters:
obj A Object object to add to the current instance.

Definition at line 163 of file HeaderExtensionObject.cs.

References TagLib::Asf::Object::Guid.

Referenced by TagLib::Asf::File::Save().

            {
                  for (int i = 0; i < children.Count; i ++)
                        if (((Object) children [i]).Guid == obj.Guid) {
                              children [i] = obj;
                              return;
                        }
                  
                  children.Add (obj);
            }


Generated by  Doxygen 1.6.0   Back to index