Rosetta 3.4
Public Member Functions
core::sequence::CompositeSequence Class Reference

#include <CompositeSequence.hh>

Inheritance diagram for core::sequence::CompositeSequence:
Inheritance graph
[legend]
Collaboration diagram for core::sequence::CompositeSequence:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CompositeSequence ()
 ctors
 CompositeSequence (CompositeSequence const &src)
 copy ctor
core::Size n_seqs () const
utility::vector1< SequenceOPseqs () const
void add_sequence (SequenceOP seq)
virtual Size length () const
 Returns the number of characters in this object.
virtual void delete_position (core::Size pos)
 Deletes the given position from the Sequence and shifts everything else back by one.
virtual void insert_char (core::Size pos, char new_char)
 Inserts a character at the given position.
SequenceOP seq (core::Size idx) const
CompositeSequenceoperator= (CompositeSequence const &rhs)
 assignment operator.
virtual ~CompositeSequence ()
 dtor
virtual SequenceOP clone () const
 Returns an owning pointer to a new CompositeSequence object, with data that is a deep copy of the information in this object.
virtual std::string to_string () const
virtual std::string type () const

Constructor & Destructor Documentation

core::sequence::CompositeSequence::CompositeSequence ( ) [inline]

ctors

Referenced by clone().

core::sequence::CompositeSequence::CompositeSequence ( CompositeSequence const &  src) [inline]

copy ctor

core::sequence::CompositeSequence::~CompositeSequence ( ) [virtual]

dtor


Member Function Documentation

void core::sequence::CompositeSequence::add_sequence ( SequenceOP  seq)
SequenceOP core::sequence::CompositeSequence::clone ( ) const [virtual]

Returns an owning pointer to a new CompositeSequence object, with data that is a deep copy of the information in this object.

Reimplemented from core::sequence::Sequence.

References CompositeSequence().

void core::sequence::CompositeSequence::delete_position ( core::Size  pos) [virtual]

Deletes the given position from the Sequence and shifts everything else back by one.

Reimplemented from core::sequence::Sequence.

References n_seqs().

void core::sequence::CompositeSequence::insert_char ( core::Size  pos,
char  new_char 
) [virtual]

Inserts a character at the given position.

Reimplemented from core::sequence::Sequence.

References n_seqs().

Size core::sequence::CompositeSequence::length ( ) const [virtual]

Returns the number of characters in this object.

Reimplemented from core::sequence::Sequence.

Referenced by add_sequence().

core::Size core::sequence::CompositeSequence::n_seqs ( ) const

Referenced by delete_position(), and insert_char().

CompositeSequence& core::sequence::CompositeSequence::operator= ( CompositeSequence const &  rhs) [inline]
SequenceOP core::sequence::CompositeSequence::seq ( core::Size  idx) const

Referenced by operator=().

utility::vector1< SequenceOP > core::sequence::CompositeSequence::seqs ( ) const

Referenced by operator=().

std::string core::sequence::CompositeSequence::to_string ( ) const [virtual]

Reimplemented from core::sequence::Sequence.

Referenced by core::sequence::operator<<().

std::string core::sequence::CompositeSequence::type ( ) const [virtual]

Reimplemented from core::sequence::Sequence.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines