diff options
| author | John Hurst <jhurst@cinecert.com> | 2023-07-31 07:59:31 -0700 |
|---|---|---|
| committer | John Hurst <jhurst@cinecert.com> | 2023-07-31 07:59:31 -0700 |
| commit | 017b179b97e034981f803591070b886f3a9e70bb (patch) | |
| tree | 59b2d2ebb4e4af1275fe784c6c08d9427839ba9f /src/MXF.h | |
| parent | 765ff525559eb6f7dd0d9e7a899be313775e7b2e (diff) | |
feat: added DeleteMDObjectByID() to MXF header and footer classes
Diffstat (limited to 'src/MXF.h')
| -rwxr-xr-x | src/MXF.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -Copyright (c) 2005-2021, John Hurst +Copyright (c) 2005-2022, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -130,6 +130,7 @@ namespace ASDCP ~PacketList(); void AddPacket(InterchangeObject* ThePacket); // takes ownership Result_t GetMDObjectByID(const UUID& ObjectID, InterchangeObject** Object); + Result_t DeleteMDObjectByID(const UUID& ObjectID); Result_t GetMDObjectByType(const byte_t* ObjectID, InterchangeObject** Object); Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); }; @@ -449,6 +450,7 @@ namespace ASDCP virtual Result_t WriteToFile(Kumu::FileWriter& Writer, ui32_t HeaderLength = 16384); virtual void Dump(FILE* = 0); virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0); + virtual Result_t DeleteMDObjectByID(const UUID& ObjectID); virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0); virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); Identification* GetIdentification(); @@ -485,6 +487,7 @@ namespace ASDCP virtual void Dump(FILE* = 0); virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0); + virtual Result_t DeleteMDObjectByID(const UUID& ObjectID); virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0); virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); |
