44 printf(
"[%6zu] ",
__PATH->size());
56 int main(
int argc,
char *argv[]) {
59 error =
GBS_global_string(
"Missing arguments\n Usage %s <input database name>", argv[0]);
62 const char *input_DB_name = argv[1];
63 printf(
"Loading probe-group-database '%s'..\n", input_DB_name);
70 if (!group_tree) error =
"no 'group_tree' in database";
73 if (!first_level_node) error =
"no 'node' found in group_tree";
75 printf(
"dumping probes... (starting with first toplevel nodes)\n");
81 while (first_level_node);
88 fprintf(stderr,
"Error in %s: %s\n", argv[0], error);
GBDATA * GB_open(const char *path, const char *opent)
IDVector::const_iterator IDVectorCIter
const char * GBS_global_string(const char *templat,...)
char buffer[MESSAGE_BUFFERSIZE]
GB_ERROR GB_await_error()
GBDATA * PS_get_first_node(GBDATA *pb_nodecontainer)
static void error(const char *msg)
GBDATA * PS_get_next_node(GBDATA *pb_node)
int main(int argc, char *argv[])
std::vector< SpeciesID > IDVector
GB_transaction ta(gb_var)
GB_CSTR GB_read_char_pntr(GBDATA *gbd)
static void PS_print_paths(GBDATA *_pb_node)
GBDATA * GB_entry(GBDATA *father, const char *key)