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

#include <NT_species_set.h>

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

Public Member Functions

bool is_leaf_set () const
 
int get_known_members () const
 

Public Attributes

unsigned charbitstring
 
AP_treeset_node
 

Protected Member Functions

void init (AP_tree *nodei, const SpecSetRegistry &ssr)
 
 SpecSet (AP_tree *nodei, const SpecSetRegistry &ssr, const char *species_name)
 
 SpecSet (AP_tree *nodei, const SpecSetRegistry &ssr, const SpecSet *l, const SpecSet *r)
 
 ~SpecSet ()
 

Protected Attributes

int known_members
 

Detailed Description

Definition at line 80 of file NT_species_set.h.

Constructor & Destructor Documentation

SpecSet::SpecSet ( AP_tree nodei,
const SpecSetRegistry ssr,
const char species_name 
)
protected
SpecSet::SpecSet ( AP_tree nodei,
const SpecSetRegistry ssr,
const SpecSet l,
const SpecSet r 
)
protected

Definition at line 281 of file NT_tree_cmp.cxx.

References bitstring, SpecSetRegistry::bitstring_longs(), init(), and known_members.

SpecSet::~SpecSet ( )
protected

Definition at line 294 of file NT_tree_cmp.cxx.

References bitstring.

Member Function Documentation

void SpecSet::init ( AP_tree nodei,
const SpecSetRegistry ssr 
)
protected

Definition at line 262 of file NT_tree_cmp.cxx.

References SpecSetRegistry::allocate_bitstring(), bitstring, known_members, and set_node.

Referenced by SpecSet().

bool SpecSet::is_leaf_set ( ) const
inline

Definition at line 97 of file NT_species_set.h.

References TreeNode::is_leaf().

Referenced by SpecSetRegistry::registerTree().

int SpecSet::get_known_members ( ) const
inline

Definition at line 98 of file NT_species_set.h.

References known_members.

Referenced by GroupMatchScorer::matchGroups().

Member Data Documentation

int SpecSet::known_members
protected

Definition at line 84 of file NT_species_set.h.

Referenced by get_known_members(), init(), RSpecSet::size(), TSpecSet::size(), and SpecSet().

unsigned char* SpecSet::bitstring

Definition at line 94 of file NT_species_set.h.

Referenced by init(), SpecSetRegistry::search_best_match(), SpecSet(), and ~SpecSet().

AP_tree* SpecSet::set_node

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