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

DICFileObj

NAME DICFileObj

PROTOTYPE

#include "DICFileObj.h"

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

EXAMPLE

#include "DICFileObj.h"

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

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.

RECEIVES

DICFileObj()
No Arguments  

DICFileObj(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