Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
core::io::pdb::PDB_DReader Class Reference

PDB Reader it self, D - for dynamic approch of type handling. More...

#include <pdb_dynamic_reader.hh>

Static Public Member Functions

static Record mapStringToRecord (const String &s)
 creating record from given string. Also, read Field values from string. More...
 
static String createPDBString (const Record &R)
 Reverse opearation - create PDB string from given Record. More...
 
static std::vector< Recordparse (const String &)
 Parse whole PDB string and return vector of records in order they was in PDB. More...
 
static FileData createFileData (std::vector< Record > &)
 create File data sturcture from array of Records. More...
 
static FileData createFileData (std::vector< Record > &, PDB_DReaderOptions const &options)
 create File data sturcture from array of Records and a set of options. More...
 
static FileData createFileData (const String &data)
 create File data sturcture from string containing PDB information. More...
 
static FileData createFileData (const String &data, PDB_DReaderOptions const &options)
 create File data sturcture from string containing PDB information and a set of options. More...
 
static String createPDBData (FileData const &fd)
 create PDB-like string to represent given FileData object More...
 
static utility::vector1
< std::string > 
createPDBData_vector (FileData const &fd)
 create PDB-like vector of string to represent given FileData object. More...
 
static std::vector< RecordcreateRecords (FileData const &fd)
 create vector of records for given FileData object. More...
 

Detailed Description

PDB Reader it self, D - for dynamic approch of type handling.

Member Function Documentation

FileData core::io::pdb::PDB_DReader::createFileData ( std::vector< Record > &  VR)
static
FileData core::io::pdb::PDB_DReader::createFileData ( std::vector< Record > &  VR,
PDB_DReaderOptions const &  options 
)
static
FileData core::io::pdb::PDB_DReader::createFileData ( const String data)
static

create File data sturcture from string containing PDB information.

Create FileData from a given PDB data (represented as a string).

References createFileData().

FileData core::io::pdb::PDB_DReader::createFileData ( const String data,
PDB_DReaderOptions const &  options 
)
static

create File data sturcture from string containing PDB information and a set of options.

References createFileData(), and parse().

String core::io::pdb::PDB_DReader::createPDBData ( FileData const &  fd)
static

create PDB-like string to represent given FileData object

create PDB file (represented as a string) from FileData object.

References createPDBString(), and createRecords().

Referenced by core::io::pdb::FileData::dump_pdb(), and core::import_pose::PDBSilentStruct::print_conformation().

utility::vector1< std::string > core::io::pdb::PDB_DReader::createPDBData_vector ( FileData const &  fd)
static

create PDB-like vector of string to represent given FileData object.

References createPDBString(), and createRecords().

String core::io::pdb::PDB_DReader::createPDBString ( const Record R)
static

Reverse opearation - create PDB string from given Record.

create PDB string from Record data.

Referenced by createPDBData(), and createPDBData_vector().

std::vector< Record > core::io::pdb::PDB_DReader::createRecords ( FileData const &  fd)
static
Record core::io::pdb::PDB_DReader::mapStringToRecord ( const String _s)
static

creating record from given string. Also, read Field values from string.

create Record Object with field collection (depending of the type information in _s), and read fields values.

References core::io::pdb::Field::getRecordCollection(), core::io::pdb::Field::getValueFrom(), core::pack::interaction_graph::T(), and core::io::pdb::Field::value.

Referenced by parse(), and core::import_pose::atom_tree_diffs::pose_from_atom_tree_diff().

std::vector< Record > core::io::pdb::PDB_DReader::parse ( const String pdb)
static

Parse whole PDB string and return vector of records in order they was in PDB.

Parse given PDB data (represented as a string) into vector of Records.

References mapStringToRecord(), and core::io::pdb::split().

Referenced by createFileData().


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