An Information Portal to Biological Macromolecular Structures |
||
PDB Home | Contact Us | Software Tools Home | Dictionary Home | PDBML Home | |
#include "DICFileObj.h"
DICFileObj::DICFileObj();
DICFileObj::DICFileObj(char * objFileName, int openMode,
int maxLineLength = 80,
const char * nulChar = "?", int verbose = 0);
#include "DICFileObj.h"
DICFileObj * fobjR = new DICFileObj("./test/TESTFILE1", WRITE_MODE);
DICFileObj() is the default constructor for the DICFileObj class.
DICFileObj(char * , int, int,const char *, int) is a constructor for the class that opens a file filename in a mode specified by openMode.
No Arguments |
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 |
None
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.