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

CifFileObjBase

NAME CifFileObjBase

PROTOTYPE

#include "CifFileObjBase.h"

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

EXAMPLE

#include "CifFileObjBase.h"

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

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

RECEIVES

CifFileObjBase()
No Arguments  

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