#include <time.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | mxflib |
Functions | |
std::string | Int2String (int Num, int Digits=0) |
Make a string containing a number. | |
std::string | UInt2String (int Num, int Digits=0) |
Make a string containing an unsigned number. | |
std::string | Uint2String (int Num, int Digits=0) |
std::string | Int2HexString (int Num, int Digits=0) |
Make a hex string containing a number. | |
std::string | Time2String (full_time Time, bool StrictISO=false) |
Convert a time to an ISO 8601 string. | |
std::string | Now2String (bool StrictISO=false) |
Get the current time as an ISO 8601 string. | |
UInt32 | MakeBER (UInt8 *Data, int MaxSize, UInt64 Length, UInt32 Size) |
Build a BER length. | |
DataChunkPtr | MakeBER (UInt64 Length, UInt32 Size=0) |
Build a BER length. | |
Length | ReadBER (UInt8 **Data, int MaxSize) |
Read a BER length. | |
int | EncodeOID (UInt8 *presult, UInt64 subid, int length) |
UMIDPtr | MakeUMID (int Type, const UUIDPtr AssetID) |
Build a new UMID. | |
DataChunkPtr | FileReadChunk (FileHandle InFile, UInt64 Size) |
Read a "Chunk" from a non-MXF file. | |
U32Pair | ReadIFFHeader (FileHandle InFile, bool BigEndian) |
Read an IFF chunk header (from an open file). | |
U32Pair | ReadRIFFHeader (FileHandle InFile) |
Read a RIFF chunk header (from an open file). | |
U32Pair | ReadAIFFHeader (FileHandle InFile) |
Read a AIFF chunk header (from an open file). | |
std::pair< UInt32, Length > | ReadAtomHeader (FileHandle InFile, bool SkipWide) |
Read a QuickTime Atom header (from an open file). | |
DataChunkPtr | Hex2DataChunk (std::string Hex) |
Set a data chunk from a hex string. | |
void | SetDictionaryPath (std::string NewPath) |
Set the search path to be used for dictionary files. | |
void | SetDictionaryPath (const char *NewPath) |
Set the search path to be used for dictionary files. | |
std::string | LookupDictionaryPath (const char *Filename) |
Search for a file of a specified name in the current dictionary search path. | |
std::string | LookupDictionaryPath (std::string Filename) |
Search for a file of a specified name in the current dictionary search path. | |
std::string | SearchPath (const char *Path, const char *Filename) |
Search a path list for a specified file. | |
std::string | SearchPath (std::string Path, std::string Filename) |
Search a path list for a specified file. | |
UInt8 | ReadU8 (FileHandle Handle) |
Read 8-bit unsigned integer. | |
UInt16 | ReadU16 (FileHandle Handle) |
Read 16-bit unsigned integer. | |
UInt32 | ReadU32 (FileHandle Handle) |
Read 32-bit unsigned integer. | |
UInt64 | ReadU64 (FileHandle Handle) |
Read 64-bit unsigned integer. | |
Int8 | ReadI8 (FileHandle Handle) |
Read 8-bit signed integer (casts from unsigned version). | |
Int16 | ReadI16 (FileHandle Handle) |
Read 16-bit signed integer (casts from unsigned version). | |
Int32 | ReadI32 (FileHandle Handle) |
Read 32-bit signed integer (casts from unsigned version). | |
Int64 | ReadI64 (FileHandle Handle) |
Read 64-bit signed integer (casts from unsigned version). | |
UInt8 | ReadU8_LE (FileHandle Handle) |
Read 8-bit unsigned integer Little-Endian. | |
UInt16 | ReadU16_LE (FileHandle Handle) |
Read 16-bit unsigned integer Little-Endian. | |
UInt32 | ReadU32_LE (FileHandle Handle) |
Read 32-bit unsigned integer Little-Endian. | |
UInt64 | ReadU64_LE (FileHandle Handle) |
Read 64-bit unsigned integer Little-Endian. | |
Int8 | ReadI8_LE (FileHandle Handle) |
Read 8-bit signed integer Little-Endian (casts from unsigned version). | |
Int16 | ReadI16_LE (FileHandle Handle) |
Read 16-bit signed integer Little-Endian (casts from unsigned version). | |
Int32 | ReadI32_LE (FileHandle Handle) |
Read 32-bit signed integer Little-Endian (casts from unsigned version). | |
Int64 | ReadI64_LE (FileHandle Handle) |
Read 64-bit signed integer Little-Endian (casts from unsigned version). | |
bool | IsPartitionKey (const UInt8 *Key) |
Is a given sequence of bytes a partition pack key? | |
bool | IsWideString (std::string &String) |
Does a given std::string contain a "wide" string in UTF8? | |
int | ReadHexString (const char **Source, int Max, UInt8 *Dest, const char *Sep) |
Read hex values separated by any of 'Sep'. | |
int | ReadHexString (const char *Source, int Max, UInt8 *Dest, const char *Sep) |
Read hex values separated by any of 'Sep'. | |
bool | StringToUL (UInt8 *Data, std::string Val) |
Build a UL from a character string, writing the bytes into a 16-byte buffer. | |
ULPtr | StringToUL (std::string Val) |
Build a UL from a character string, returning a smart pointer to it. | |
Variables | |
const UL | Null_UL |