Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
core::fragment::picking_old::vall::gen::SecStructGen Class Reference

Generator that requires fragments to have a specific secondary structure string. More...

#include <SecStructGen.hh>

Inheritance diagram for core::fragment::picking_old::vall::gen::SecStructGen:
Inheritance graph
[legend]
Collaboration diagram for core::fragment::picking_old::vall::gen::SecStructGen:
Collaboration graph
[legend]

Public Types

typedef Super::Size Size
 
typedef std::string String
 
typedef Super::Extent Extent
 typedef for ExtentGenerator concept More...
 
typedef Super::PageIterator PageIterator
 typedef for ExtentGenerator concept More...
 
typedef PageIterator VallResidueIterator
 
- Public Types inherited from core::fragment::picking_old::vall::gen::VallFragmentGen
typedef core::Size Size
 
typedef
core::fragment::picking_old::concepts::Extent
< VallSection::PageConstIterator
Extent
 typedef for ExtentGenerator concept More...
 
typedef Extent::PageIterator PageIterator
 typedef for ExtentGenerator concept More...
 
typedef PageIterator VallResidueIterator
 

Public Member Functions

 SecStructGen ()
 default constructor More...
 
 SecStructGen (String const &ss)
 secondary structure string constructor More...
 
 SecStructGen (SecStructGen const &rval)
 copy constructor More...
 
virtual ~SecStructGen ()
 default destructor More...
 
SecStructGenoperator= (SecStructGen const &rval)
 copy assignment More...
 
virtual VallFragmentGenOP clone () const
 clone this object More...
 
virtual Extent operator() (VallResidueIterator extent_begin, VallResidueIterator section_end) const
 return the desired fragment extent w/ length equal to the secondary structure string More...
 
- Public Member Functions inherited from core::fragment::picking_old::vall::gen::VallFragmentGen
 VallFragmentGen ()
 default constructor More...
 
 VallFragmentGen (VallFragmentGen const &rval)
 copy constructor More...
 
virtual ~VallFragmentGen ()
 default destructor More...
 
VallFragmentGenoperator= (VallFragmentGen const &rval)
 copy assignment More...
 

Private Types

typedef VallFragmentGen Super
 

Private Attributes

String ss_
 the required secondary structure of desired fragment More...
 

Detailed Description

Generator that requires fragments to have a specific secondary structure string.

Remarks
assumes that Pages in the Book are stored in a container capable of returning a RandomAccessIterator, such as std::vector

Definition at line 39 of file SecStructGen.hh.

Member Typedef Documentation

typedef for ExtentGenerator concept

Definition at line 59 of file SecStructGen.hh.

typedef for ExtentGenerator concept

Definition at line 63 of file SecStructGen.hh.

Definition at line 51 of file SecStructGen.hh.

Definition at line 52 of file SecStructGen.hh.

Definition at line 45 of file SecStructGen.hh.

Definition at line 69 of file SecStructGen.hh.

Constructor & Destructor Documentation

core::fragment::picking_old::vall::gen::SecStructGen::SecStructGen ( )

default constructor

Definition at line 29 of file SecStructGen.cc.

Referenced by clone().

core::fragment::picking_old::vall::gen::SecStructGen::SecStructGen ( String const &  ss)

secondary structure string constructor

fragment size constructor

Parameters
[in]ssthe required secondary structure string of the fragment

Definition at line 36 of file SecStructGen.cc.

core::fragment::picking_old::vall::gen::SecStructGen::SecStructGen ( SecStructGen const &  rval)

copy constructor

Definition at line 43 of file SecStructGen.cc.

core::fragment::picking_old::vall::gen::SecStructGen::~SecStructGen ( )
virtual

default destructor

Definition at line 50 of file SecStructGen.cc.

Member Function Documentation

VallFragmentGenOP core::fragment::picking_old::vall::gen::SecStructGen::clone ( ) const
virtual

clone this object

Implements core::fragment::picking_old::vall::gen::VallFragmentGen.

Definition at line 65 of file SecStructGen.cc.

References SecStructGen().

SecStructGen::Extent core::fragment::picking_old::vall::gen::SecStructGen::operator() ( VallResidueIterator  extent_begin,
VallResidueIterator  section_end 
) const
virtual

return the desired fragment extent w/ length equal to the secondary structure string

Returns
Valid (true) extent if the extent has exactly the required secondary structure string and the end of the extent does not go past section_end. Invalid (false) extent otherwise.
Remarks
we assume VallResidueIterator is a type of RandomAccessIterator, such as those used in std::vector

Implements core::fragment::picking_old::vall::gen::VallFragmentGen.

Definition at line 77 of file SecStructGen.cc.

References core::fragment::picking_old::concepts::Extent< PageIterator >::begin, core::fragment::picking_old::concepts::Extent< PageIterator >::end, ss_, and core::fragment::picking_old::concepts::Extent< PageIterator >::valid.

SecStructGen & core::fragment::picking_old::vall::gen::SecStructGen::operator= ( SecStructGen const &  rval)

copy assignment

Definition at line 55 of file SecStructGen.cc.

References core::fragment::picking_old::vall::gen::VallFragmentGen::operator=(), and ss_.

Member Data Documentation

String core::fragment::picking_old::vall::gen::SecStructGen::ss_
private

the required secondary structure of desired fragment

Definition at line 126 of file SecStructGen.hh.

Referenced by operator()(), and operator=().


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