ODB to Gerber Web page header

ODB++2GBR Data Structures

Introduction

The ODB++2GBR data structures are listed below.


ODB_SymbolInfo

struct ODB_SymbolInfo{ 
  char Name[MAX_NAME_CHAR];
  
  int Dcode_start;
  int Dcode_count;
};



ODB_InputParam

struct ODB_InputParam{
  char ExecPath[MAX_NAME_CHAR];
  int argc;
  char ** argv;
};



ODB_StepInfo

struct ODB_StepInfo{
  char Name[MAX_NAME_CHAR];
  int Step_index;

  double ProfileExtent[4];
  
  int Dcode_start;
  int Dcode_count;

  struct ODB_LayerInfo * Layer_list;
  int Layer_index; //number of layers

  char ** Dep_list;
  int Dep_index;
};



ODB_LayerInfo

struct ODB_LayerInfo{
  char Name[MAX_NAME_CHAR];
  int Layer_index; // or ROW

  int Context;
  int Type;
  int Polarity; 

  char OldName[MAX_NAME_CHAR];
  char StartName[MAX_NAME_CHAR];
  char EndName[MAX_NAME_CHAR];
  char AddType[MAX_NAME_CHAR];
  
  int Dcode_start;
  int Dcode_count;

  char Color[64];
};



ODB_JobInfo

struct ODB_JobInfo{
  char Name[MAX_NAME_CHAR];

  int VersionMajor;
  int VersionMinor;
  
  char Source[MAX_PATH];
  char CreationDate[MAX_PATH];
  char SaveDate[MAX_PATH];
  char SaveApp[MAX_PATH];
  char SaveUser[MAX_PATH];
};