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

a class for collection of fragments for a single residue position More...

#include <TorsionFragment.hh>

Inheritance diagram for protocols::frags::SingleResidueTorsionFragmentLibrary:
Inheritance graph
[legend]

Public Types

typedef core::Real Real
 
typedef core::Size Size
 

Public Member Functions

 ~SingleResidueTorsionFragmentLibrary () override
 
void insert_fragment (TorsionFragmentOP fragment)
 insert one piece of fragment in the front More...
 
void append_fragment (TorsionFragmentOP fragment)
 append one piece of fragment at the end More...
 
void copy_fragments (SingleResidueTorsionFragmentLibrary const &src)
 
core::Size size () const
 number of available fragment pieces for this position More...
 
TorsionFragment const & operator[] (core::Size const index) const
 overloaded [] operator to get single piece of fragment (actual object, not owning pointers) More...
 
void erase (core::Size const index)
 erase a single fragment More...
 
void clear ()
 

Private Attributes

utility::vector1
< TorsionFragmentOP
fragments_
 a collection of TorsionFragments (by owning pointers) More...
 

Detailed Description

a class for collection of fragments for a single residue position

essentially a vector of TorsionFragment (owning pointers)

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::frags::SingleResidueTorsionFragmentLibrary::~SingleResidueTorsionFragmentLibrary ( )
overridedefault

Code duplication alert: TorsionFragment is going to be phased out Please avoid writing any new code using these classes: look in core/fragment/ instead look in /protocols/abinitio/FragmentMover for usage examples


Member Function Documentation

void protocols::frags::SingleResidueTorsionFragmentLibrary::append_fragment ( TorsionFragmentOP  fragment)
inline

append one piece of fragment at the end

References fragments_.

Referenced by copy_fragments(), protocols::frags::operator>>(), and protocols::frags::TorsionFragmentLibrary::read_file().

void protocols::frags::SingleResidueTorsionFragmentLibrary::clear ( )
inline

References fragments_.

Referenced by protocols::frags::operator>>().

void protocols::frags::SingleResidueTorsionFragmentLibrary::copy_fragments ( SingleResidueTorsionFragmentLibrary const &  src)

References append_fragment(), and size().

void protocols::frags::SingleResidueTorsionFragmentLibrary::erase ( core::Size const  index)
inline

erase a single fragment

References fragments_, and size().

void protocols::frags::SingleResidueTorsionFragmentLibrary::insert_fragment ( TorsionFragmentOP  fragment)
inline

insert one piece of fragment in the front

References fragments_.

Referenced by protocols::frags::VallData::get_cheating_frags(), and protocols::frags::VallData::get_frags().

TorsionFragment const& protocols::frags::SingleResidueTorsionFragmentLibrary::operator[] ( core::Size const  index) const
inline

overloaded [] operator to get single piece of fragment (actual object, not owning pointers)

References fragments_.

core::Size protocols::frags::SingleResidueTorsionFragmentLibrary::size ( ) const
inline

number of available fragment pieces for this position

References fragments_.

Referenced by copy_fragments(), protocols::frags::TorsionFragmentLibrary::derive_from_src_lib(), erase(), and protocols::frags::operator<<().

Member Data Documentation

utility::vector1< TorsionFragmentOP > protocols::frags::SingleResidueTorsionFragmentLibrary::fragments_
private

a collection of TorsionFragments (by owning pointers)

Referenced by append_fragment(), clear(), erase(), insert_fragment(), operator[](), and size().


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