Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
protocols::sparta::GDB Class Reference

#include <GDB.hh>

Public Types

typedef boost::unordered_map
< std::string, std::string > 
typedef std::map< int,
std::string > 
typedef utility::vector0
< std::string > 
typedef std::map< int,
std::string > 
typedef std::map< int,
std::string > 
typedef std::map< int, GDB_EntryEntryList

Public Member Functions

 GDB ()
 GDB (const std::string &fileName)
void loadGDB (const std::string &fileName)
void saveGDB (const std::string &fileName)
void showGDB (std::ostream &os)
void addVAR (const std::string &VAR_Name, const std::string &FORMAT_Name)
void setVAR (int index, const std::string &VAR_Name, const std::string &FORMAT_Name)
void setData (const std::string &DataName, const std::string &DataVal)
std::string getData (const std::string &DataName)
GDB_Entry getEntry (int number)
GDB_Entry getEntry (const std::string &VName, const std::string &VVal, int index)
GDB_Entry getEntry (const std::string &VName1, const std::string &VVal1, const std::string &VName2, const std::string &VVal2, int index)
void setEntry (int index, const std::string &VarName, const std::string &VarVal)
void addEntry (const std::string &VarName, const std::string &VarVal)
void addRemark (const std::string &str)
std::string getResidName (int rNum)
int getEntryCount ()
void presetClass (const std::string &ClassName)
bool checkFormat (const std::string &f)
bool isVarFloat (int index)
bool isVarInt (int index)
bool isVarString (int index)
bool isVarFloat (const std::string &VarName)
bool isVarInt (const std::string &VarName)
bool isVarString (const std::string &VarName)
void VARS_str_parser (const std::string &str)
void FORMAT_str_parser (const std::string &str)
void set_plaintext ()

Public Attributes

std::string GDBfileName
std::string FORMAT_str
std::string VARS_str
int VarsNumber
int firstResID
ResidueList residList
StringList REMARKS
StringList DATA
VarList VARS
FormatList FORMAT
EntryList Entries

Private Attributes

std::string ClassType
bool plain_text
char buf [5000]

Member Typedef Documentation

typedef std::map< int, GDB_Entry > protocols::sparta::GDB::EntryList
typedef std::map<int, std::string> protocols::sparta::GDB::FormatList
typedef boost::unordered_map< std::string, std::string > protocols::sparta::GDB::GDB_Entry
typedef std::map<int, std::string> protocols::sparta::GDB::ResidueList
typedef utility::vector0< std::string > protocols::sparta::GDB::StringList
typedef std::map<int, std::string> protocols::sparta::GDB::VarList

Constructor & Destructor Documentation

protocols::sparta::GDB::GDB ( )
protocols::sparta::GDB::GDB ( const std::string &  fileName)

Member Function Documentation

void protocols::sparta::GDB::addEntry ( const std::string &  VarName,
const std::string &  VarVal 
void protocols::sparta::GDB::addRemark ( const std::string &  str)
void protocols::sparta::GDB::addVAR ( const std::string &  VAR_Name,
const std::string &  FORMAT_Name 
bool protocols::sparta::GDB::checkFormat ( const std::string &  f)
void protocols::sparta::GDB::FORMAT_str_parser ( const std::string &  str)
string protocols::sparta::GDB::getData ( const std::string &  DataName)
GDB::GDB_Entry protocols::sparta::GDB::getEntry ( int  number)
GDB::GDB_Entry protocols::sparta::GDB::getEntry ( const std::string &  VName,
const std::string &  VVal,
int  index 

References core::sequence::end.

GDB::GDB_Entry protocols::sparta::GDB::getEntry ( const std::string &  VName1,
const std::string &  VVal1,
const std::string &  VName2,
const std::string &  VVal2,
int  index 

References core::sequence::end.

int protocols::sparta::GDB::getEntryCount ( )
string protocols::sparta::GDB::getResidName ( int  rNum)
bool protocols::sparta::GDB::isVarFloat ( int  index)
bool protocols::sparta::GDB::isVarFloat ( const std::string &  VarName)

References core::sequence::end.

bool protocols::sparta::GDB::isVarInt ( int  index)
bool protocols::sparta::GDB::isVarInt ( const std::string &  VarName)

References core::sequence::end.

bool protocols::sparta::GDB::isVarString ( int  index)
bool protocols::sparta::GDB::isVarString ( const std::string &  VarName)

References core::sequence::end.

void protocols::sparta::GDB::loadGDB ( const std::string &  fileName)
void protocols::sparta::GDB::presetClass ( const std::string &  ClassName)
void protocols::sparta::GDB::saveGDB ( const std::string &  fileName)
void protocols::sparta::GDB::set_plaintext ( )
void protocols::sparta::GDB::setData ( const std::string &  DataName,
const std::string &  DataVal 
void protocols::sparta::GDB::setEntry ( int  index,
const std::string &  VarName,
const std::string &  VarVal 
void protocols::sparta::GDB::setVAR ( int  index,
const std::string &  VAR_Name,
const std::string &  FORMAT_Name 
void protocols::sparta::GDB::showGDB ( std::ostream &  os)
void protocols::sparta::GDB::VARS_str_parser ( const std::string &  str)

Member Data Documentation

char protocols::sparta::GDB::buf[5000]
std::string protocols::sparta::GDB::ClassType
StringList protocols::sparta::GDB::DATA
GDB_Entry protocols::sparta::GDB::EMPTY
EntryList protocols::sparta::GDB::Entries
int protocols::sparta::GDB::firstResID
FormatList protocols::sparta::GDB::FORMAT
std::string protocols::sparta::GDB::FORMAT_str
std::string protocols::sparta::GDB::GDBfileName
bool protocols::sparta::GDB::plain_text
StringList protocols::sparta::GDB::REMARKS
ResidueList protocols::sparta::GDB::residList
VarList protocols::sparta::GDB::VARS
std::string protocols::sparta::GDB::VARS_str
int protocols::sparta::GDB::VarsNumber

The documentation for this class was generated from the following files: