diff options
| author | tmccolm <tmccolm@cinecert.com> | 2011-06-24 22:12:24 +0000 |
|---|---|---|
| committer | tmccolm <> | 2011-06-24 22:12:24 +0000 |
| commit | 0a815c035a2cc3742507aebd059d5c042a111527 (patch) | |
| tree | d25ea9e6217b7146ab79af5be9ce10b44e5a9f4e /src/MXFTypes.cpp | |
| parent | cec23b082065ae551621a577dcb0ccd1f687ccd0 (diff) | |
added
Diffstat (limited to 'src/MXFTypes.cpp')
| -rwxr-xr-x | src/MXFTypes.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/MXFTypes.cpp b/src/MXFTypes.cpp index a1b0f8b..e2741d3 100755 --- a/src/MXFTypes.cpp +++ b/src/MXFTypes.cpp @@ -64,6 +64,31 @@ ASDCP::UL::operator==(const UL& rhs) const } +bool +ASDCP::UL::ExactMatch(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] && + 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 { |
