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

CifFileObj

NAME CifFileObj

PROTOTYPE

#include "CifFileObj.h"

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

EXAMPLE

#include "CifFileObj.h"

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

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

RECEIVES

CifFileObj()
No Arguments  

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