diff options
| author | jhurst <jhurst@cinecert.com> | 2005-12-21 09:16:32 +0000 |
|---|---|---|
| committer | jhurst <> | 2005-12-21 09:16:32 +0000 |
| commit | a526fabf937848823b02d5486a6ec38f8442bb1c (patch) | |
| tree | 7babb27134c92535691d2aba06a7d0b6a542152b /src/MXF.cpp | |
| parent | c6900386fb66832781456838804ed7e28c535d63 (diff) | |
code-generated metadata!
Diffstat (limited to 'src/MXF.cpp')
| -rwxr-xr-x | src/MXF.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/MXF.cpp b/src/MXF.cpp index a04cfe2..faed567 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -929,6 +929,15 @@ ASDCP::MXF::OPAtomIndexFooter::Lookup(ui32_t frame_num, IndexTableSegment::Index // ASDCP::Result_t +ASDCP::MXF::InterchangeObject::InitFromTLVSet(TLVReader& TLVSet) +{ + Result_t result = TLVSet.ReadObject(OBJ_READ_ARGS(InterchangeObject, InstanceUID)); + if ( ASDCP_SUCCESS(result) ) result = TLVSet.ReadObject(OBJ_READ_ARGS(GenerationInterchangeObject, GenerationUID)); + return result; +} + +// +ASDCP::Result_t ASDCP::MXF::InterchangeObject::WriteToBuffer(ASDCP::FrameBuffer& Buffer) { if ( Buffer.Capacity() < (Buffer.Size() + m_KLLength + m_ValueLength) ) |
