v1: favor the use of iterators rather than direct access in the tables (nicer for libebml v2)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@131 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
parent
147c3ac163
commit
6f87f71cae
@ -121,6 +121,8 @@ class EBML_DLL_API EbmlMaster : public EbmlElement {
|
||||
|
||||
inline std::vector<EbmlElement *>::const_iterator begin() {return ElementList.begin();}
|
||||
inline std::vector<EbmlElement *>::const_iterator end() {return ElementList.end();}
|
||||
inline std::vector<EbmlElement *>::const_iterator begin() const {return ElementList.begin();}
|
||||
inline std::vector<EbmlElement *>::const_iterator end() const {return ElementList.end();}
|
||||
|
||||
EbmlElement * operator[](unsigned int position) {return ElementList[position];}
|
||||
const EbmlElement * operator[](unsigned int position) const {return ElementList[position];}
|
||||
|
Loading…
Reference in New Issue
Block a user