ARB
Public Member Functions | Public Attributes | List of all members
Node Class Reference

#include <PRD_Node.hxx>

Inheritance diagram for Node:
Inheritance graph
[legend]
Collaboration diagram for Node:
Collaboration graph
[legend]

Public Member Functions

 Node (Node *parent_, char base_, PRD_Sequence_Pos last_index_, PRD_Sequence_Pos offset_)
 
 Node (Node *parent_, char base_, PRD_Sequence_Pos last_index_)
 
 Node (Node *parent_, char base_)
 
 Node ()
 
 ~Node ()
 
NodechildByBase (unsigned char base_)
 
bool isValidPrimer ()
 
bool isPrimer ()
 
bool isLeaf ()
 
void print ()
 

Public Attributes

Nodeparent
 
Nodechild [4]
 
unsigned char base
 
unsigned int child_bits: 4
 
PRD_Sequence_Pos offset
 
PRD_Sequence_Pos last_base_index
 

Detailed Description

Definition at line 9 of file PRD_Node.hxx.

Constructor & Destructor Documentation

Node::Node ( Node parent_,
char  base_,
PRD_Sequence_Pos  last_index_,
PRD_Sequence_Pos  offset_ 
)

Definition at line 20 of file PRD_Node.cxx.

References init.

Node::Node ( Node parent_,
char  base_,
PRD_Sequence_Pos  last_index_ 
)

Definition at line 24 of file PRD_Node.cxx.

References init.

Node::Node ( Node parent_,
char  base_ 
)

Definition at line 28 of file PRD_Node.cxx.

References init.

Node::Node ( )

Definition at line 32 of file PRD_Node.cxx.

References init, and NULp.

Node::~Node ( )

Definition at line 40 of file PRD_Node.cxx.

Member Function Documentation

Node* Node::childByBase ( unsigned char  base_)
inline

Definition at line 26 of file PRD_Node.hxx.

References CHAR2CHILD, and ChildLookupTable::INDEX.

Referenced by SearchFIFO::iterateWith().

bool Node::isValidPrimer ( )
inline

Definition at line 27 of file PRD_Node.hxx.

Referenced by PrimerDesign::convertTreesToLists(), and SearchFIFO::iterateWith().

bool Node::isPrimer ( )
inline

Definition at line 28 of file PRD_Node.hxx.

bool Node::isLeaf ( )
inline

Definition at line 29 of file PRD_Node.hxx.

References child_bits.

Referenced by SearchFIFO::iterateWith().

void Node::print ( )

Definition at line 53 of file PRD_Node.cxx.

References offset.

Member Data Documentation

Node* Node::parent

Definition at line 13 of file PRD_Node.hxx.

Referenced by SearchFIFO::iterateWith().

Node* Node::child[4]
unsigned char Node::base

Definition at line 15 of file PRD_Node.hxx.

Referenced by SearchFIFO::print().

unsigned int Node::child_bits

Definition at line 16 of file PRD_Node.hxx.

Referenced by isLeaf(), and SearchFIFO::iterateWith().

PRD_Sequence_Pos Node::offset

Definition at line 17 of file PRD_Node.hxx.

Referenced by PrimerDesign::convertTreesToLists().

PRD_Sequence_Pos Node::last_base_index

Definition at line 18 of file PRD_Node.hxx.

Referenced by PrimerDesign::convertTreesToLists(), and SearchFIFO::iterateWith().


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