summaryrefslogtreecommitdiff
path: root/src/MXF.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2012-02-03 19:49:57 +0000
committerjhurst <>2012-02-03 19:49:57 +0000
commite0f46a5384974afa6f0be8a738e4989853323fbe (patch)
treef241bfa4eddad47143afa6164aa18735e7b1de90 /src/MXF.h
parent99f3c9bd7e314ed2342598ad0e2357c68c79e732 (diff)
megachanges
Diffstat (limited to 'src/MXF.h')
-rwxr-xr-xsrc/MXF.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/MXF.h b/src/MXF.h
index fbae834..d62732e 100755
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -206,17 +206,16 @@ namespace ASDCP
{
InterchangeObject();
- protected:
- const MDDEntry* m_Typeinfo;
-
public:
const Dictionary*& m_Dict;
IPrimerLookup* m_Lookup;
UUID InstanceUID;
UUID GenerationUID;
- InterchangeObject(const Dictionary*& d) : m_Typeinfo(0), m_Dict(d), m_Lookup(0) {}
+ InterchangeObject(const Dictionary*& d) : m_Dict(d), m_Lookup(0) {}
virtual ~InterchangeObject() {}
+
+ virtual void Copy(const InterchangeObject& rhs);
virtual Result_t InitFromTLVSet(TLVReader& TLVSet);
virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l);
virtual Result_t WriteToTLVSet(TLVWriter& TLVSet);
@@ -234,7 +233,7 @@ namespace ASDCP
public:
const Dictionary*& m_Dict;
- UUID GenerationUID;
+ //// UUID GenerationUID;
Timestamp LastModifiedDate;
ui16_t Version;
ui32_t ObjectModelVersion;
@@ -245,8 +244,10 @@ namespace ASDCP
Batch<UL> EssenceContainers;
Batch<UL> DMSchemes;
- Preface(const Dictionary*& d) : InterchangeObject(d), m_Dict(d), Version(258), ObjectModelVersion(0) {}
+ Preface(const Dictionary*& d);
virtual ~Preface() {}
+
+ virtual void Copy(const Preface& rhs);
virtual Result_t InitFromTLVSet(TLVReader& TLVSet);
virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l);
virtual Result_t WriteToTLVSet(TLVWriter& TLVSet);
@@ -315,6 +316,8 @@ namespace ASDCP
IndexTableSegment(const Dictionary*&);
virtual ~IndexTableSegment();
+
+ virtual void Copy(const IndexTableSegment& rhs);
virtual Result_t InitFromTLVSet(TLVReader& TLVSet);
virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l);
virtual Result_t WriteToTLVSet(TLVWriter& TLVSet);