Biorithm  1.1
Public Member Functions
MySetOfPointSets Class Reference

#include <point.h>

List of all members.

Public Member Functions

void insert (MyPointSet &p)
 Insert a point set, without an associated class.
void insert (MyPointSet &p, string condition)
 Insert a point set, with an associated class.
void assignClass (unsigned int index, string condition)
bool getPointSet (string condition, MyPointSet *pointSet)
const MyPointSetgetPointSet (string condition) const

Detailed Description

Stores a set of point sets. This class is typically useful for storing multiple gene expression datasets, each corresponding to a unique condition (aka class or clinical annotation).

Note:
This class only supports the insertion of point sets. It does not support the deletion of a point set. The mapping between conditions and point sets is one-to-one.

Member Function Documentation

void MySetOfPointSets::assignClass ( unsigned int  index,
string  condition 
) [inline]

Assign a class to a point set at a known index.

Note:
The point set must already be stored at this index.
Warning:
The method erases any previously stored condition for the point set at this index.
bool MySetOfPointSets::getPointSet ( string  condition,
MyPointSet pointSet 
) [inline]

Return the point set with the given class.

Parameters:
[in]class,thedesired class.
[out]pointSet,apointer to the desired point set.
Returns:
True iff there is a point set corresponding to class.
const MyPointSet* MySetOfPointSets::getPointSet ( string  condition) const [inline]

Return the point set with the given class.

Parameters:
[in]class,thedesired class.
Returns:
A pointer to the desired point set.

The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Friends