the EbmlBinary GetSize() is the same as the parent class (EbmlElement) one

+ add an internal Accessor API

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@12 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-03-15 16:00:29 +00:00
parent eea805cb01
commit 289a1c2e86

View File

@ -84,7 +84,6 @@ class EBML_DLL_API EbmlBinary : public EbmlElement {
bValueIsSet = true;
}
uint64 GetSize() const {return Size;}
operator const binary &() const {return *Data;}
bool IsDefaultValue() const {
@ -94,6 +93,8 @@ class EBML_DLL_API EbmlBinary : public EbmlElement {
bool operator==(const EbmlBinary & ElementToCompare) const;
protected:
binary *GetData() const {return Data;}
binary *Data; // the binary data inside the element
};