Public Member Functions | Private Attributes | List of all members
protocols::loophash::BackboneDB Class Reference

#include <BackboneDB.hh>

Public Member Functions

 BackboneDB ()
core::Real angle (core::Size index, core::Size offset) const
void add_pose (const core::pose::Pose &pose, core::Size nres, core::Size &offset, protocols::frag_picker::VallChunkOP chunk=nullptr)
void get_protein (core::Size index, BBData &protein) const
void get_extra_data (core::Size index, BBExtraData &extra) const
void add_protein (BBData new_protein)
void add_extra_data (BBExtraData extra)
void get_backbone_segment (const core::Size index, const core::Size offset, const core::Size len, BackboneSegment &bs) const
core::Size size () const
core::Size extra_size () const
void write_db (std::string filename) const
void read_db (std::string filename, bool load_extra, core::Size num_partitions, core::Size assigned_num, std::pair< core::Size, core::Size > &loop_range, std::map< core::Size, bool > &homolog_index)
void read_db (std::string filename, bool load_extra)
void read_legacydb (std::string filename)
void read_homologs ()
core::Size get_mem_foot_print () const

Private Attributes

std::vector< BBDatadata_
std::vector< BBExtraDataextra_data_
bool extra_
std::map< std::string, bool > homologs_
 Homology map, contains all homologs. More...

Constructor & Destructor Documentation

◆ BackboneDB()

protocols::loophash::BackboneDB::BackboneDB ( )

References extra_.

Member Function Documentation

◆ add_extra_data()

void protocols::loophash::BackboneDB::add_extra_data ( BBExtraData  extra)

◆ add_pose()

void protocols::loophash::BackboneDB::add_pose ( const core::pose::Pose pose,
core::Size  nres,
core::Size offset,
protocols::frag_picker::VallChunkOP  chunk = nullptr 

◆ add_protein()

void protocols::loophash::BackboneDB::add_protein ( BBData  new_protein)

◆ angle()

core::Real protocols::loophash::BackboneDB::angle ( core::Size  index,
core::Size  offset 
) const

◆ extra_size()

core::Size protocols::loophash::BackboneDB::extra_size ( ) const

◆ get_backbone_segment()

void protocols::loophash::BackboneDB::get_backbone_segment ( const core::Size  index,
const core::Size  offset,
const core::Size  len,
BackboneSegment bs 
) const

◆ get_extra_data()

void protocols::loophash::BackboneDB::get_extra_data ( core::Size  index,
BBExtraData extra 
) const

◆ get_mem_foot_print()

core::Size protocols::loophash::BackboneDB::get_mem_foot_print ( ) const

◆ get_protein()

void protocols::loophash::BackboneDB::get_protein ( core::Size  index,
BBData protein 
) const

◆ read_db() [1/2]

void protocols::loophash::BackboneDB::read_db ( std::string  filename,
bool  load_extra 

◆ read_db() [2/2]

void protocols::loophash::BackboneDB::read_db ( std::string  filename,
bool  load_extra,
core::Size  num_partitions,
core::Size  assigned_num,
std::pair< core::Size, core::Size > &  loop_range,
std::map< core::Size, bool > &  homolog_index 

◆ read_homologs()

void protocols::loophash::BackboneDB::read_homologs ( )

◆ read_legacydb()

void protocols::loophash::BackboneDB::read_legacydb ( std::string  filename)

◆ size()

core::Size protocols::loophash::BackboneDB::size ( ) const

◆ write_db()

void protocols::loophash::BackboneDB::write_db ( std::string  filename) const

Member Data Documentation

◆ data_

std::vector< BBData > protocols::loophash::BackboneDB::data_

Referenced by get_mem_foot_print(), and size().

◆ extra_

bool protocols::loophash::BackboneDB::extra_

Referenced by BackboneDB().

◆ extra_data_

std::vector< BBExtraData > protocols::loophash::BackboneDB::extra_data_

Referenced by extra_size().

◆ homologs_

std::map< std::string, bool > protocols::loophash::BackboneDB::homologs_

Homology map, contains all homologs.

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