diff options
| author | jhurst <jhurst@cinecert.com> | 2008-10-06 04:40:02 +0000 |
|---|---|---|
| committer | jhurst <> | 2008-10-06 04:40:02 +0000 |
| commit | 34b0ba8aa56c902a013f7ac799e1f64fb31b0a5c (patch) | |
| tree | 06f2b023c86ee0793862d93fd1fac6e692bcd61d /src/MXF.h | |
| parent | 94c656e78912129e3cc1afbb991fe4a2ecf8fdde (diff) | |
new interface for in-memory metadata packets
Diffstat (limited to 'src/MXF.h')
| -rwxr-xr-x | src/MXF.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -133,6 +133,7 @@ namespace ASDCP virtual ~Partition(); virtual void AddChildObject(InterchangeObject*); virtual Result_t InitFromFile(const Kumu::FileReader& Reader); + virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l); virtual Result_t WriteToFile(Kumu::FileWriter& Writer, UL& PartitionLabel); virtual ui32_t ArchiveSize(); // returns the size of the archived structure virtual void Dump(FILE* = 0); @@ -327,6 +328,8 @@ namespace ASDCP OPAtomHeader(); virtual ~OPAtomHeader(); virtual Result_t InitFromFile(const Kumu::FileReader& Reader); + virtual Result_t InitFromPartitionBuffer(const byte_t* p, ui32_t l); + virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l); virtual Result_t WriteToFile(Kumu::FileWriter& Writer, ui32_t HeaderLength = 16384); virtual void Dump(FILE* = 0); virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0); @@ -353,6 +356,8 @@ namespace ASDCP OPAtomIndexFooter(); virtual ~OPAtomIndexFooter(); virtual Result_t InitFromFile(const Kumu::FileReader& Reader); + virtual Result_t InitFromPartitionBuffer(const byte_t* p, ui32_t l); + virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l); virtual Result_t WriteToFile(Kumu::FileWriter& Writer, ui64_t duration); virtual void Dump(FILE* = 0); |
