ARB
Functions | Variables
ps_convert_db.cxx File Reference
#include "ps_tools.hxx"
#include "ps_database.hxx"
#include "ps_pg_tree_functions.hxx"
#include "ps_pg_specmap.hxx"
#include <sys/times.h>
Include dependency graph for ps_convert_db.cxx:

Go to the source code of this file.

Functions

static void PS_detect_probe_length (GBDATA *_ARB_node)
 
PS_NodePtr PS_assert_inverse_path (const int _max_depth, const int _caller_ID, IDVector *_path)
 
PS_NodePtr PS_assert_path (const int _caller_ID, IDVector *_path)
 
void PS_extract_probe_data (GBDATA *_ARB_node, int _max_depth, int _depth, const int _parent_ID, IDVector *_inverse_path)
 
int main (int _argc, char *_argv[])
 

Variables

static PS_NodePtr __ROOT
 
static int __PROBE_LENGTH
 
static SpeciesID __MIN_ID
 
static SpeciesID __MAX_ID
 

Function Documentation

static void PS_detect_probe_length ( GBDATA _ARB_node)
static

Definition at line 27 of file ps_convert_db.cxx.

References GB_entry(), PG_get_first_probe(), PG_read_probe(), PS_get_first_node(), and PS_get_next_node().

Referenced by main().

PS_NodePtr PS_assert_inverse_path ( const int  _max_depth,
const int  _caller_ID,
IDVector _path 
)

Definition at line 48 of file ps_convert_db.cxx.

References __ROOT, and PS_Node::assertChild().

Referenced by PS_extract_probe_data().

PS_NodePtr PS_assert_path ( const int  _caller_ID,
IDVector _path 
)

Definition at line 70 of file ps_convert_db.cxx.

References __ROOT, and PS_Node::assertChild().

Referenced by PS_extract_probe_data().

void PS_extract_probe_data ( GBDATA _ARB_node,
int  _max_depth,
int  _depth,
const int  _parent_ID,
IDVector _inverse_path 
)
int main ( int  _argc,
char _argv[] 
)

Variable Documentation

PS_NodePtr __ROOT
static

Definition at line 22 of file ps_convert_db.cxx.

Referenced by PS_assert_inverse_path(), and PS_assert_path().

int __PROBE_LENGTH
static

Definition at line 23 of file ps_convert_db.cxx.

Referenced by PS_extract_probe_data().

SpeciesID __MIN_ID
static

Definition at line 24 of file ps_convert_db.cxx.

SpeciesID __MAX_ID
static

Definition at line 25 of file ps_convert_db.cxx.