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
protocols
scoring
methods
pcs2
PcsInputLine.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
//////////////////////////////////////////////
11
/// @begin
12
///
13
/// @file protocols/scoring/methods/pcs2/PcsInputLine.hh
14
///
15
/// @brief Class that hold a line data of the input file
16
///
17
/// @detailed This class hold the information of a pcs value:
18
/// atom name, residue name, PCS value, PCS experimental
19
///
20
/// @param
21
///
22
/// @return
23
///
24
/// @remarks
25
///
26
/// @references
27
///
28
/// @authorsv Christophe Schmitz
29
///
30
/// @last_modified February 2010
31
////////////////////////////////////////////////
32
33
#ifndef INCLUDED_protocols_scoring_methods_pcs2_PcsInputLine_hh
34
#define INCLUDED_protocols_scoring_methods_pcs2_PcsInputLine_hh
35
36
// Package headers
37
38
// Project headers
39
#include <
core/types.hh
>
40
41
// Utility headers
42
43
// Numeric headers
44
45
// Objexx headers
46
47
// C++ headers
48
#include <string>
49
50
namespace
protocols{
51
namespace
scoring{
52
namespace
methods{
53
namespace
pcs2
{
54
55
///////////////////////////////////////////////////////////////////////////
56
/// @brief PcsInputLine class: hold a line of the input file information (.npc format)
57
/// One PcsInputLine per line in the input file
58
class
PcsInputLine
{
59
60
public
:
61
PcsInputLine
();
//Construc
62
63
~PcsInputLine
();
//Destruct
64
65
PcsInputLine
(
PcsInputLine
const
& other);
//Copy
66
67
PcsInputLine
&
68
operator=
(
PcsInputLine
const
& other );
//=
69
70
PcsInputLine
(
core::Size
const
residue_num,
71
std::string
const
atom_name,
72
core::Real
const
PCS_experimental,
73
core::Real
const
PCS_tolerance
74
);
75
76
/// @brief Give me the residue number of this PcsInputLine
77
core::Size
78
get_residue_num
()
const
;
79
80
/// @brief Give me the atom name of this PcsInputLine
81
std::string
82
get_atom_name
()
const
;
83
84
/// @brief Give me the experimental PCS of this PcsInputLine
85
core::Real
86
get_PCS_experimental
()
const
;
87
88
/// @brief Give me the tolerance for the PCS of this PcsInputLine
89
core::Real
90
get_PCS_tolerance
()
const
;
91
92
/// @brief Output myself on the stream
93
friend
std::ostream &
94
operator<<
(std::ostream& out,
const
PcsInputLine
&me);
95
96
private
:
97
core::Size
const
residue_num_
;
98
std::string
const
atom_name_
;
99
core::Real
const
PCS_experimental_
;
100
core::Real
const
PCS_tolerance_
;
101
};
102
103
}
//namespace pcs2
104
}
//namespace methods
105
}
//namespace scoring
106
}
//namespace protocols
107
108
#endif
Generated on Sat Jun 1 2013 12:11:37 for Rosetta 3.5 by
1.8.4