Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CompositeFragment Class Reference

#include <CompositeFragment.h>

List of all members.

Public Methods

virtual ~CompositeFragment ()
 CompositeFragment (void)
void addFragment (Fragment *p_NewFragment)
void clear (void)
const std::vector< Fragment * > & getFragments (void) const
void getProperties (std::vector< double > &p_properties) const
unsigned int getNbrProperties (void) const
void updateOccurenceCount (void)
void updateGoodness (float p_goodness)

Detailed Description

This class agregates the Fragment objects forming a product (combinaison of Fragment).

Constructor & Destructor Documentation

virtual CompositeFragment::~CompositeFragment   [inline, virtual]

Default empty destructor.

CompositeFragment::CompositeFragment void    [inline]

Default empty constructor.

Member Function Documentation

void CompositeFragment::addFragment Fragment   p_NewFragment [inline]

Add a Fragment component in the aggregate (product)

void CompositeFragment::clear void    [inline]

Reset all the member data of this class. Clear the Fragment list.

const std::vector<Fragment*>& CompositeFragment::getFragments void    const [inline]

Return the list of Fragment forming this CompositeFragment object.

unsigned int CompositeFragment::getNbrProperties void    const [inline]

Return the number of properties in this CompositeFragment object.

void CompositeFragment::getProperties std::vector< double > &    p_properties const [inline]

Return a list of properties trough the argument.

p_properties  A vector pre-sized ( with getNbrProperties() elements ) in which the sum of properties of the Fragments is stored.

void CompositeFragment::updateGoodness float    p_goodness [inline]

Add the goodness to all Fragments part of this CompositeFragment object.

void CompositeFragment::updateOccurenceCount void    [inline]

Increment by one the occurence count of each Fragment of the internal list.

The documentation for this class was generated from the following file:
Generated on Sat Nov 4 15:58:59 2006 for GLARE by doxygen1.2.18