summaryrefslogtreecommitdiff
path: root/src/MXFTypes.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2011-05-13 01:50:36 +0000
committerjhurst <>2011-05-13 01:50:36 +0000
commit50fab55d36abf7f01c733d2f80833408dbe0f761 (patch)
treed4f8c7be9b104debe87f560b6ed892786f3a0741 /src/MXFTypes.cpp
parent6a19e4f305c6936ea3a09e2f96a622372e1f4ab2 (diff)
the story so far
Diffstat (limited to 'src/MXFTypes.cpp')
-rwxr-xr-xsrc/MXFTypes.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/MXFTypes.cpp b/src/MXFTypes.cpp
index b9b2bd9..a76957f 100755
--- a/src/MXFTypes.cpp
+++ b/src/MXFTypes.cpp
@@ -38,6 +38,32 @@ using Kumu::DefaultLogSink;
//------------------------------------------------------------------------------------------
//
+bool
+ASDCP::UL::operator==(const UL& rhs) const
+{
+ if ( m_Value[0] == rhs.m_Value[0] &&
+ m_Value[1] == rhs.m_Value[1] &&
+ m_Value[2] == rhs.m_Value[2] &&
+ m_Value[3] == rhs.m_Value[3] &&
+ m_Value[4] == rhs.m_Value[4] &&
+ m_Value[5] == rhs.m_Value[5] &&
+ m_Value[6] == rhs.m_Value[6] &&
+ // m_Value[7] == rhs.m_Value[7] && version is ignored when performing lookups
+ m_Value[8] == rhs.m_Value[8] &&
+ m_Value[9] == rhs.m_Value[9] &&
+ m_Value[10] == rhs.m_Value[10] &&
+ m_Value[11] == rhs.m_Value[11] &&
+ m_Value[12] == rhs.m_Value[12] &&
+ m_Value[13] == rhs.m_Value[13] &&
+ m_Value[14] == rhs.m_Value[14] &&
+ m_Value[15] == rhs.m_Value[15]
+ )
+ return true;
+
+ return false;
+}
+
+
const char*
ASDCP::UL::EncodeString(char* str_buf, ui32_t buf_len) const
{