[matroska] r939 - trunk/libebml/ebml
| 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();