freeMXF.org
http://freemxf.org/forum/

Get the correspondent UL of a std::string
http://freemxf.org/forum/viewtopic.php?f=2&t=127
Page 1 of 1

Author:  MarcoBiagi [ Thu Dec 20, 2007 8:34 am ]
Post subject:  Get the correspondent UL of a std::string

I want to use the dict file to find the correspondent UL of a std::string:

Example:
i have a string like this "MXF OP3b EditItems GangedPackages"
i need this: 0x06 0x0E 0x2B 0x34 0x04 0x01 0x01 0x01 0x0D 0x01 0x02 0x01 0x02 0x02 0x01 0x00

so i need to use the dict.xml file...
i had the dict loaded with the appropriate mxflib function
LoadDictionary("dict.xml");

now there is some way to make this conversion?

i need the UL value to create an UL like this:

UInt8 OP_Data[16] = { 0x06 0x0E 0x2B 0x34 0x04 0x01 0x01 0x01 0x0D 0x01 0x02 0x01 0x02 0x02 0x01 0x00};

ULPtr OPUL = new UL(OP_Data);

thx in advance for your answer
Marco

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/