[matroska] r939 - trunk/libebml/ebml

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2004-11-13 14:17:14 +0300 (Sat, 13 Nov 2004)
New Revision: 939

Modified:
   trunk/libebml/ebml/EbmlMaster.h
Log:
Added a "RemoveAll" function.


Modified: trunk/libebml/ebml/EbmlMaster.h
===================================================================
--- trunk/libebml/ebml/EbmlMaster.h	2004-11-10 20:48:39 UTC (rev 938)
+++ trunk/libebml/ebml/EbmlMaster.h	2004-11-13 11:17:14 UTC (rev 939)
@@ -133,6 +133,11 @@
 		void Remove(size_t Index);
 
 		/*!
+			\brief remove all elements, even the mandatory ones
+		*/
+		void RemoveAll() {ElementList.clear();}
+
+		/*!
 			\brief facility for Master elements to write only the head and force the size later
 			\warning
 		*/
@@ -148,11 +153,6 @@
 		}
 
 		/*!
-			\brief remove all elements, even the mandatory ones
-		*/
-//		void ClearElement() {ElementList.clear();}
-
-		/*!
 			\brief drill down all sub-elements, finding any missing elements
 		*/
 		std::vector<std::string> FindAllMissingElements();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.