Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::pose::MiniPose Class Reference

lightweight version of the pose with stuff I need. More...

#include <MiniPose.hh>

Inheritance diagram for core::pose::MiniPose:
Inheritance graph
[legend]

Public Member Functions

 MiniPose (core::pose::Pose const &pose)
 
 MiniPose (utility::vector1< utility::vector1< PointPosition > > const &coords, core::kinematics::FoldTree const &fold_tree, std::string const &sequence)
 
 ~MiniPose () override
 
core::kinematics::FoldTree const & fold_tree () const
 
utility::vector1
< utility::vector1
< PointPosition > > const & 
coords () const
 
utility::vector1
< utility::vector1
< std::string > > const & 
atom_names_list () const
 
utility::vector1
< utility::vector1
< std::string > > const & 
variant_types_list () const
 
Size size () const
 
std::string const & sequence () const
 
PointPosition const & xyz (core::id::AtomID atom_id) const
 
std::string const & atom_name (core::id::AtomID atom_id) const
 
utility::vector1< std::string >
const & 
variant_types (Size const seq_num) const
 

Private Attributes

utility::vector1
< utility::vector1
< PointPosition > > 
coords_
 
core::kinematics::FoldTree fold_tree_
 
std::string sequence_
 
utility::vector1
< utility::vector1
< std::string > > 
atom_names_list_
 
utility::vector1
< utility::vector1
< std::string > > 
variant_types_list_
 

Detailed Description

lightweight version of the pose with stuff I need.

not quite (silent_structs don't necessarily have xyz). Kind of like a Conformation but without the overtree of an atom_tree.

Remarks
Should save memory compared to keeping the full pose (which includes atom_tree, energies etc.) This is a bit like the SilentStruct – although that class has gotten a bit complicated – easier to start from scratch.

Constructor & Destructor Documentation

core::pose::MiniPose::MiniPose ( core::pose::Pose const &  pose)
core::pose::MiniPose::MiniPose ( utility::vector1< utility::vector1< PointPosition > > const &  coords,
core::kinematics::FoldTree const &  fold_tree,
std::string const &  sequence 
)
core::pose::MiniPose::~MiniPose ( )
overridedefault

Member Function Documentation

std::string const & core::pose::MiniPose::atom_name ( core::id::AtomID  atom_id) const
utility::vector1< utility::vector1< std::string > > const & core::pose::MiniPose::atom_names_list ( ) const
utility::vector1< utility::vector1< PointPosition > > const & core::pose::MiniPose::coords ( ) const

References coords_.

core::kinematics::FoldTree const & core::pose::MiniPose::fold_tree ( ) const

References fold_tree_.

std::string const & core::pose::MiniPose::sequence ( ) const
Size core::pose::MiniPose::size ( ) const

References coords_.

utility::vector1< std::string > const & core::pose::MiniPose::variant_types ( Size const  seq_num) const
utility::vector1< utility::vector1< std::string > > const & core::pose::MiniPose::variant_types_list ( ) const

References variant_types_list_.

PointPosition const & core::pose::MiniPose::xyz ( core::id::AtomID  atom_id) const

Member Data Documentation

utility::vector1< utility::vector1< std::string > > core::pose::MiniPose::atom_names_list_
private
utility::vector1< utility::vector1< PointPosition > > core::pose::MiniPose::coords_
private

Referenced by coords(), MiniPose(), size(), and xyz().

core::kinematics::FoldTree core::pose::MiniPose::fold_tree_
private

Referenced by fold_tree(), and MiniPose().

std::string core::pose::MiniPose::sequence_
private

Referenced by MiniPose(), and sequence().

utility::vector1< utility::vector1< std::string > > core::pose::MiniPose::variant_types_list_
private

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