diff options
| author | jhurst <jhurst@cinecert.com> | 2012-03-16 00:28:23 +0000 |
|---|---|---|
| committer | jhurst <> | 2012-03-16 00:28:23 +0000 |
| commit | aac3cfda50b82f7b763b69b9acfcc4d63c81d98b (patch) | |
| tree | 60d819d1c568564e926a34488e69dd574bf11580 /src/MXF.h | |
| parent | e511dc66f4a9c9278964d89a85662fcd9bfb18ac (diff) | |
as-02ooooooooooo!
Diffstat (limited to 'src/MXF.h')
| -rwxr-xr-x | src/MXF.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -40,6 +40,8 @@ namespace ASDCP { class InterchangeObject; + const ui32_t kl_length = ASDCP::SMPTE_UL_LENGTH + ASDCP::MXF_BER_LENGTH; + // typedef ASDCP::MXF::InterchangeObject* (*MXFObjectFactory_t)(const Dictionary*&); @@ -114,8 +116,20 @@ namespace ASDCP Partition(); protected: - class h__PacketList; - mem_ptr<h__PacketList> m_PacketList; + class PacketList + { + public: + std::list<InterchangeObject*> m_List; + std::map<UUID, InterchangeObject*> m_Map; + + ~PacketList(); + void AddPacket(InterchangeObject* ThePacket); // takes ownership + Result_t GetMDObjectByID(const UUID& ObjectID, InterchangeObject** Object); + Result_t GetMDObjectByType(const byte_t* ObjectID, InterchangeObject** Object); + Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); + }; + + mem_ptr<PacketList> m_PacketList; public: const Dictionary*& m_Dict; |
