RCSB PDB Protein Data Bank A Member of the wwPDB
An Information Portal to Biological Macromolecular Structures
PDB Home | Contact Us
next up previous contents
Next: Methods Up: Constructors Previous: Constructors

DDLFileObj

NAME DDLFileObj

PROTOTYPE

#include "DDLFileObj.h"

DDLFileObj::DDLFileObj();
DDLFileObj::DDLFileObj(char * objFileName, int openMode,
                       int maxLineLength = 80,
                       const char * nulChar = "?", int verbose = 0);

EXAMPLE

#include "DDLFileObj.h"

DDLFileObj * fobjR = new DDLFileObj("./test/TESTFILE1", WRITE_MODE);
PURPOSE

DDLFileObj() is the default constructor for the DDLFileObj class.
DDLFileObj(char * , int, int,const char *, int) is a constructor for the class that opens a file filename in a mode specified by openMode.

RECEIVES

DDLFileObj()
No Arguments  

DDLFileObj(char * , int, int,const char *, int)
objfilename The name of binary file
openMode Mode in which file is opened
maxLineLength Maximal length of a line in a cif file (used when we want to write data in a cif file)
nulChar If there is no value for an item, then nullChar will be put as a value
verbose a non-zero value activates verbose output of diagnostic and informational messages from all library functions

RETURN VALUE

None

REMARKS

WRITE_MODE - in this mode read method reads mmCIF file and writes data into binary file.

READ_MODE - in this mode read method reads binary file.

APPEND_MODE - in this mode read method reads binary file and data can be appended to the file.


next up previous contents
Next: Methods Up: Constructors Previous: Constructors
Olivera Tosic
6/12/2002

 

© RCSB PDB