#include "DotFile.h"
#include <mxflib/mxflib.h>
#include <vector>
#include <cassert>
#include <stdarg.h>
Classes | |
class | OutputContext |
Functions | |
void | warning (const char *format,...) |
void | error (const char *format,...) |
void | mxf2dotDebug (const char *format,...) |
void | mxf2dotWarning (const char *format,...) |
void | mxf2dotError (const char *format,...) |
string | getSourceRefTarget (string packageId, string trackId) |
bool | haveNodeId (string oid, map< string, string > *oidToNodeId) |
string | getNodeId (string oid, map< string, string > *oidToNodeId) |
void | outputProperty (DotFile *dotFile, OutputContext *context) |
void | outputObject (DotFile *dotFile, OutputContext *context) |
void | preprocessObjects (int partitionNum, DotFile *dotFile, MXFFilePtr mxfFile, map< string, string > &oidToNodeId, MDObjectPtr &root) |
int | convert (int partitionNum, MXFFilePtr mxfFile, DotFile *dotFile) |
void | printUsage (const char *cmd) |
int | main (int argc, const char **argv) |
Variables | |
int | Verbose = 0 |
static bool | mxf2dotDebugFlag = false |
static bool | mxfLibDebugFlag = false |
static const char * | FONT_NAME = "Courier" |
static const char * | FONT_SIZE = "12" |
static const float | FONT_FIXED_PITCH = 8.0 |
int convert | ( | int | partitionNum, | |
MXFFilePtr | mxfFile, | |||
DotFile * | dotFile | |||
) |
string getNodeId | ( | string | oid, | |
map< string, string > * | oidToNodeId | |||
) |
string getSourceRefTarget | ( | string | packageId, | |
string | trackId | |||
) |
bool haveNodeId | ( | string | oid, | |
map< string, string > * | oidToNodeId | |||
) |
int main | ( | int | argc, | |
const char ** | argv | |||
) |
void mxf2dotDebug | ( | const char * | format, | |
... | ||||
) |
void mxf2dotError | ( | const char * | format, | |
... | ||||
) |
void mxf2dotWarning | ( | const char * | format, | |
... | ||||
) |
void outputObject | ( | DotFile * | dotFile, | |
OutputContext * | context | |||
) |
void outputProperty | ( | DotFile * | dotFile, | |
OutputContext * | context | |||
) |
void preprocessObjects | ( | int | partitionNum, | |
DotFile * | dotFile, | |||
MXFFilePtr | mxfFile, | |||
map< string, string > & | oidToNodeId, | |||
MDObjectPtr & | root | |||
) |
void printUsage | ( | const char * | cmd | ) |
const float FONT_FIXED_PITCH = 8.0 [static] |
const char* FONT_NAME = "Courier" [static] |
const char* FONT_SIZE = "12" [static] |
bool mxf2dotDebugFlag = false [static] |
bool mxfLibDebugFlag = false [static] |
int Verbose = 0 |