summaryrefslogtreecommitdiff
path: root/src/KLV.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2010-11-15 17:04:13 +0000
committerjhurst <>2010-11-15 17:04:13 +0000
commit87d8df7af62597f68645cbb7b07cb130ab2a1adb (patch)
tree497d70ef10e1f222537eecf9a7c36794dc4a5724 /src/KLV.h
parentb6fd53ca44570ef077932b468402dc6797e71f95 (diff)
release!
Diffstat (limited to 'src/KLV.h')
-rwxr-xr-xsrc/KLV.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/KLV.h b/src/KLV.h
index 68d5a3c..a79ea91 100755
--- a/src/KLV.h
+++ b/src/KLV.h
@@ -150,7 +150,7 @@ inline const char* ui64sz(ui64_t i, char* buf)
Dictionary();
~Dictionary();
- bool operator==(const Dictionary& rhs) const { return this == &rhs; }
+ // bool operator==(const Dictionary& rhs) const { return this == &rhs; }
void Init();
bool AddEntry(const MDDEntry& Entry, ui32_t index);
@@ -201,6 +201,15 @@ inline const char* ui64sz(ui64_t i, char* buf)
return m_KLLength + m_ValueLength;
}
+ ui32_t ValueLength() {
+ return m_ValueLength;
+ }
+
+ ui32_t KLLength() {
+ return m_KLLength;
+ }
+
+ virtual UL GetUL();
virtual bool HasUL(const byte_t*);
virtual Result_t InitFromBuffer(const byte_t*, ui32_t);
virtual Result_t InitFromBuffer(const byte_t*, ui32_t, const UL& label);