Rosetta  3.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::conformation::carbohydrates::GlycanTree Class Reference

Class to store info a glycan tree. More...

#include <GlycanTree.hh>

Inheritance diagram for core::conformation::carbohydrates::GlycanTree:
Inheritance graph
[legend]

Public Member Functions

 GlycanTree ()
 
virtual ~GlycanTree ()
 
 GlycanTree (GlycanTree const &src)
 
GlycanTreeOP clone () const
 
 GlycanTree (conformation::Conformation const &conf, Size const start_pos)
 
 GlycanTree (Size const start_pos)
 
bool is_connected () const
 Is this tree connected to a [protein] or is it free-standing? More...
 
bool has_glycan_residue (core::Size resnum) const
 Does this Tree have a particular residue? More...
 
core::Size get_size () const
 Get the length of this tree. More...
 
core::Size size () const
 Get the length of this tree. More...
 
core::Size get_start () const
 Get the first glycan residue number of this tree. This is also used to identify the tree. This is different than the root! More...
 
core::Size get_root () const
 Get the root of this tree. The connecting residue. If it is zero, it means this tree is a free-glycan and not connected! More...
 
GlycanNodeCOP get_node (core::Size resnum) const
 Get the GlycanNode of a particular glycan residue GlycanNode has lots of information on the particular residue as part of this glycan tree. More...
 
utility::vector1< core::Size >
const & 
get_tips () const
 Get the tips (ending residues) of each foliage end. More...
 
utility::vector1< core::Sizeget_residues () const
 Get all the residues of this glycan. More...
 
void setup_glycan_nodes (conformation::Conformation const &conf, core::Size const start_pos)
 Populate the glycan nodes of this GlycanTree. More...
 
void update_on_length_change (core::conformation::signals::LengthEvent const &event)
 Update the nodes connectivity and the tree root after a length-change event. More...
 
void update_start_position (core::Size const start_pos)
 Update the starting position if the start has been deleted. More...
 

Private Attributes

std::map< Size, GlycanNodeOPtree_
 
utility::vector1< Sizebranch_tips_
 
core::Size start_pos_
 
Size root_
 

Detailed Description

Class to store info a glycan tree.

Constructor & Destructor Documentation

core::conformation::carbohydrates::GlycanTree::GlycanTree ( )

Referenced by clone().

core::conformation::carbohydrates::GlycanTree::~GlycanTree ( )
virtual
core::conformation::carbohydrates::GlycanTree::GlycanTree ( GlycanTree const &  src)

References tree_.

core::conformation::carbohydrates::GlycanTree::GlycanTree ( conformation::Conformation const &  conf,
Size const  start_pos 
)

References setup_glycan_nodes().

core::conformation::carbohydrates::GlycanTree::GlycanTree ( Size const  start_pos)

Member Function Documentation

GlycanTreeOP core::conformation::carbohydrates::GlycanTree::clone ( ) const

References GlycanTree().

GlycanNodeCOP core::conformation::carbohydrates::GlycanTree::get_node ( core::Size  resnum) const

Get the GlycanNode of a particular glycan residue GlycanNode has lots of information on the particular residue as part of this glycan tree.

References tree_.

utility::vector1< Size > core::conformation::carbohydrates::GlycanTree::get_residues ( ) const

Get all the residues of this glycan.

References tree_.

core::Size core::conformation::carbohydrates::GlycanTree::get_root ( ) const

Get the root of this tree. The connecting residue. If it is zero, it means this tree is a free-glycan and not connected!

References root_.

core::Size core::conformation::carbohydrates::GlycanTree::get_size ( ) const

Get the length of this tree.

References tree_.

core::Size core::conformation::carbohydrates::GlycanTree::get_start ( ) const

Get the first glycan residue number of this tree. This is also used to identify the tree. This is different than the root!

References start_pos_.

utility::vector1< Size > const & core::conformation::carbohydrates::GlycanTree::get_tips ( ) const

Get the tips (ending residues) of each foliage end.

References branch_tips_.

bool core::conformation::carbohydrates::GlycanTree::has_glycan_residue ( core::Size  resnum) const

Does this Tree have a particular residue?

References tree_.

bool core::conformation::carbohydrates::GlycanTree::is_connected ( ) const

Is this tree connected to a [protein] or is it free-standing?

References root_.

void core::conformation::carbohydrates::GlycanTree::setup_glycan_nodes ( conformation::Conformation const &  conf,
core::Size const  start_pos 
)
core::Size core::conformation::carbohydrates::GlycanTree::size ( ) const

Get the length of this tree.

References tree_.

void core::conformation::carbohydrates::GlycanTree::update_on_length_change ( core::conformation::signals::LengthEvent const &  event)
void core::conformation::carbohydrates::GlycanTree::update_start_position ( core::Size const  start_pos)

Update the starting position if the start has been deleted.

References start_pos_.

Member Data Documentation

utility::vector1< Size > core::conformation::carbohydrates::GlycanTree::branch_tips_
private
Size core::conformation::carbohydrates::GlycanTree::root_
private
core::Size core::conformation::carbohydrates::GlycanTree::start_pos_
private
std::map< Size, GlycanNodeOP > core::conformation::carbohydrates::GlycanTree::tree_
private

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