| 
       An Information Portal to Biological Macromolecular Structures  | 
    ||
| 
      PDB Home | 
      Contact Us  | 
     Software Tools Home | Dictionary Home | PDBML Home | |
#include "DDLFileObj.h"
int DDLFileObj::Write(const char * ddlFileName,ISTable * format);
#include "DDLFileObj.h"
char * diags;
ISTable *format;
format = new ISTable("format");
DDLFileObj * fobjR = new DDLFileObj("./test/TESTFILE1", WRITE_MODE);
fobj->Read("./test/Test1.cif",format,diags);
cout<<"diags = "<<diags<<endl;
fobj->Write("./test/Test1.ocif",format);
Write(char *, ISTable *) writes DDLFileObj object into a ddl file, i.e. save frame formated file, specified by ddlFileName. Format is read from table format.
| ddlFileName | The name of output DDL file | 
| format | Pointer ISTable that keep information of save frame format | 
Returns 1 upon success, otherwise 0.
None