CifFileUtil.h
Go to the documentation of this file.
//$$FILE$$
//$$VERSION$$
//$$DATE$$
//$$LICENSE$$
#ifndef CIFFILEUTIL_H
#define CIFFILEUTIL_H
#include <string>
#include <rcsb/DicFile.h>
#include <rcsb/CifFile.h>
DicFile* GetDictFile(DicFile* ddlFileP, const std::string& dictFileName,
const std::string& dictSdbFileName = std::string(), const bool verbose =
false, const eFileMode fileMode = READ_MODE);
void CheckDict(DicFile* dictFileP, DicFile* ddlFileP,
const string& dictFileName, const bool extraDictChecks = false);
void CheckCif(CifFile* cifFileP, DicFile* dictFileP,
const string& cifFileName, const bool extraCifChecks = false);
DicFile* ParseDict(const std::string& dictFileName, DicFile* ddlFileP = NULL,
const bool verbose = false);
CifFile* ParseCif(const std::string& fileName, const bool verbose = false,
const Char::eCompareType caseSense = Char::eCASE_SENSITIVE,
const unsigned int maxLineLength = CifFile::STD_CIF_LINE_LENGTH,
const std::string& nullValue = CifString::UnknownValue,
const std::string& parseLogFileName = std::string());
CifFile* ParseCifString(const std::string& cifString,
const bool verbose = false,
const Char::eCompareType caseSense = Char::eCASE_SENSITIVE,
const unsigned int maxLineLength = CifFile::STD_CIF_LINE_LENGTH,
const std::string& nullValue = CifString::UnknownValue);
void DataCorrection(CifFile& cifFile, DicFile& dicRef);
#endif
ParseDict
DicFile * ParseDict(const std::string &dictFileName, DicFile *ddlFileP=NULL, const bool verbose=false)
CifFile::STD_CIF_LINE_LENGTH
static const unsigned int STD_CIF_LINE_LENGTH
Definition: CifFile.h:53
ParseCif
CifFile * ParseCif(const std::string &fileName, const bool verbose=false, const Char::eCompareType caseSense=Char::eCASE_SENSITIVE, const unsigned int maxLineLength=CifFile::STD_CIF_LINE_LENGTH, const std::string &nullValue=CifString::UnknownValue, const std::string &parseLogFileName=std::string())
GetDictFile
DicFile * GetDictFile(DicFile *ddlFileP, const std::string &dictFileName, const std::string &dictSdbFileName=std::string(), const bool verbose=false, const eFileMode fileMode=READ_MODE)
Char::eCASE_SENSITIVE
Definition: GenString.h:28
eFileMode
eFileMode
Definition: Serializer.h:33
CifFile.h
Header file for CifFile class.
ParseCifString
CifFile * ParseCifString(const std::string &cifString, const bool verbose=false, const Char::eCompareType caseSense=Char::eCASE_SENSITIVE, const unsigned int maxLineLength=CifFile::STD_CIF_LINE_LENGTH, const std::string &nullValue=CifString::UnknownValue)
DicFile.h
Header file for DicFile class.
CheckDict
void CheckDict(DicFile *dictFileP, DicFile *ddlFileP, const string &dictFileName, const bool extraDictChecks=false)
CifFile
Public class that represents a CIF file, composed of blocks with tables.
Definition: CifFile.h:47
CheckCif
void CheckCif(CifFile *cifFileP, DicFile *dictFileP, const string &cifFileName, const bool extraCifChecks=false)
DataCorrection
void DataCorrection(CifFile &cifFile, DicFile &dicRef)
DicFile
Public class that represents a dictionary file, composed of blocks with tables.
Definition: DicFile.h:36
CifString::UnknownValue
static const std::string UnknownValue
Definition: CifString.h:128
Char::eCompareType
eCompareType
Definition: GenString.h:26
READ_MODE
Definition: Serializer.h:36