Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
sequence
DerivedSequenceMapping.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file
11
/// @brief
12
/// @author
13
14
#ifndef INCLUDED_core_sequence_DerivedSequenceMapping_hh
15
#define INCLUDED_core_sequence_DerivedSequenceMapping_hh
16
17
// Unit headers
18
#include <
core/id/SequenceMapping.hh
>
19
#include <
core/id/SequenceMapping.fwd.hh
>
20
21
// Project headers
22
#include <
core/conformation/signals/LengthEvent.fwd.hh
>
23
#include <
core/types.hh
>
24
25
// Utility headers
26
#include <utility/pointer/ReferenceCount.hh>
27
// AUTO-REMOVED #include <utility/vector1.hh>
28
#include <utility/exit.hh>
29
30
// C++ headers
31
// AUTO-REMOVED #include <iostream>
32
#include <string>
33
34
namespace
core {
35
namespace
sequence {
36
37
class
DerivedSequenceMapping
:
public
core::id::SequenceMapping
{
38
39
public
:
40
// constructors, destructors and assignment operator
41
/// @brief ctor
42
DerivedSequenceMapping
() :
43
core::id::
SequenceMapping
(),
44
seq1_
(
""
),
45
seq2_
(
""
),
46
start_seq2_
(0)
47
{}
48
49
/// @brief ctor
50
DerivedSequenceMapping
(
Size
s1,
Size
s2 ) :
51
core::id::
SequenceMapping
(s1,s2)
52
{}
53
54
/// @brief dtor
55
~DerivedSequenceMapping
();
56
57
/// @brief copy constructor
58
DerivedSequenceMapping
(
DerivedSequenceMapping
const
& src );
59
60
DerivedSequenceMapping
&
61
operator=
(
DerivedSequenceMapping
const
& src );
62
63
public
:
64
65
std::string
&
seq1
() {
66
return
seq1_
;
67
}
68
69
std::string
&
seq2
() {
70
return
seq2_
;
71
}
72
73
std::string
const
&
seq1
()
const
{
74
return
seq1_
;
75
}
76
77
std::string
const
&
seq2
()
const
{
78
return
seq2_
;
79
}
80
81
Size
const
&
start_seq2
()
const
{
82
return
start_seq2_
;
83
}
84
85
void
seq1
(
std::string
const
& s ) {
86
seq1_
= s;
87
}
88
89
void
seq2
(
std::string
const
& s ) {
90
seq2_
= s;
91
}
92
93
void
start_seq2
(
Size
s ) {
94
start_seq2_
= s;
95
}
96
97
98
private
:
99
std::string
seq1_
;
//target=query sequence ... might be empty if not available
100
std::string
seq2_
;
//template sequence
101
Size
start_seq2_
;
// which is the first seq_pos of seq2_
102
};
// class SequenceMapping
103
104
}
// sequence
105
}
// core
106
107
#endif
Generated on Sat Jun 1 2013 11:40:22 for Rosetta 3.5 by
1.8.4