source: tags/arb-6.0-rc3/AWT/awt_attributes.hxx

Last change on this file was 6490, checked in by westram, 14 years ago
  • moved a few types to arbdb_base.h
  • only use arbdb_base.h or arbdb.h where possible
  • global included cleanup
  • added MBI headers to many files
  • moved SQ_ambiguities.SQ_count_ambiguities() to separate object
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1//  ==================================================================== //
2//                                                                       //
3//    File      : awt_attributes.hxx                                     //
4//    Purpose   : get attribute colors for species/genes                 //
5//                                                                       //
6//                                                                       //
7//  Coded by Ralf Westram (coder@reallysoft.de) in July 2004             //
8//  Copyright Department of Microbiology (Technical University Munich)   //
9//                                                                       //
10//  Visit our web site at: http://www.arb-home.de/                       //
11//                                                                       //
12//  ==================================================================== //
13
14#ifndef AWT_ATTRIBUTES_HXX
15#define AWT_ATTRIBUTES_HXX
16
17#ifndef ARBDB_BASE_H
18#include <arbdb_base.h>
19#endif
20
21// find the color of the most dominant attribute of a gene/species
22// returns 0 if no such color exists (or if display of attributes is disabled)
23// returns 1..n otherwise
24
25int AWT_gene_get_dominant_color(GBDATA *gb_gene);
26int AWT_species_get_dominant_color(GBDATA *gb_species);
27
28
29// check whether a gene/species matches the requirement of an attribute
30
31bool AWT_gene_has_attribute(GBDATA *gb_gene, int attribute_nr);
32bool AWT_species_has_attribute(GBDATA *gb_gene, int attribute_nr);
33
34#else
35#error awt_attributes.hxx included twice
36#endif // AWT_ATTRIBUTES_HXX
37
Note: See TracBrowser for help on using the repository browser.