ARB
Main Page
Namespaces
Classes
Files
File List
File Members
PRIMER_DESIGN
PRD_Item.hxx
Go to the documentation of this file.
1
#ifndef PRD_ITEM_HXX
2
#define PRD_ITEM_HXX
3
4
#include <cstdio>
5
#ifndef PRD_GLOBALS_HXX
6
#include "
PRD_Globals.hxx
"
7
#endif
8
9
struct
Item
:
virtual
Noncopyable
{
10
PRD_Sequence_Pos
end_pos
;
11
PRD_Sequence_Pos
start_pos
;
// index in sequence (or -1 if not yet calculated)
12
PRD_Sequence_Pos
offset
;
// index of base in sequence : left = index of first base of primer, right = index of last base of primer
13
int
length
;
// count of bases in primer
14
15
int
GC_ratio
;
// GC-ratio of primer
16
int
temperature
;
// temperature of primer
17
18
Item
*
next
;
19
20
Item
(
PRD_Sequence_Pos
pos_,
PRD_Sequence_Pos
offset_,
int
length_,
int
ratio_,
int
temperature_,
Item
*next_);
21
Item
();
22
~Item
() {};
23
24
void
print
(
const
char
*prefix_,
const
char
*suffix_);
// print Items's values
25
int
sprint
(
char
*buf,
const
char
*prefix_,
const
char
*suffix_,
int
max_primer_length,
int
max_position_length,
int
max_length_length);
26
char
*
getPrimerSequence
(
const
char
*sequence_);
// return the string the Item describes
27
};
28
29
#else
30
#error PRD_Item.hxx included twice
31
#endif // PRD_ITEM_HXX
Item::print
void print(const char *prefix_, const char *suffix_)
Definition:
PRD_Item.cxx:37
Item::end_pos
PRD_Sequence_Pos end_pos
Definition:
PRD_Item.hxx:10
Item
Definition:
PRD_Item.hxx:9
Item::start_pos
PRD_Sequence_Pos start_pos
Definition:
PRD_Item.hxx:11
Item::length
int length
Definition:
PRD_Item.hxx:13
Item::getPrimerSequence
char * getPrimerSequence(const char *sequence_)
Definition:
PRD_Item.cxx:65
Item::~Item
~Item()
Definition:
PRD_Item.hxx:22
Item::temperature
int temperature
Definition:
PRD_Item.hxx:16
Item::sprint
int sprint(char *buf, const char *prefix_, const char *suffix_, int max_primer_length, int max_position_length, int max_length_length)
Definition:
PRD_Item.cxx:45
PRD_Globals.hxx
Item::next
Item * next
Definition:
PRD_Item.hxx:18
Item::Item
Item()
Definition:
PRD_Item.cxx:23
Item::offset
PRD_Sequence_Pos offset
Definition:
PRD_Item.hxx:12
Item::GC_ratio
int GC_ratio
Definition:
PRD_Item.hxx:15
PRD_Sequence_Pos
long int PRD_Sequence_Pos
Definition:
PRD_Globals.hxx:21
Noncopyable
Definition:
arbtools.h:39
Generated by
1.8.8