copasi API  0.1
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
CCopasiSimpleSelectionTree Class Reference

#include <CCopasiSimpleSelectionTree.h>

List of all members.

Public Types

enum  ObjectClass {
  InitialTime = 0x01, Parameters = 0x02, Variables = 0x04, ObservedConstants = 0x08,
  Time = 0x10, ObservedValues = 0x20, Results = 0x40, NumericValues = 0x80,
  AnyObject = 0x100
}
typedef int ObjectClasses

Public Slots

virtual void commitClicked ()

Public Member Functions

 CCopasiSimpleSelectionTree (QWidget *parent, const char *name=0, Qt::WFlags fl=0)
 ~CCopasiSimpleSelectionTree ()
 Destructor.
void populateTree (const CModel *pModel, const ObjectClasses &classes)
void setOutputVector (std::vector< const CCopasiObject * > *outputVector)

Static Public Member Functions

static bool filter (const ObjectClasses &classes, const CCopasiObject *pObject)

Protected Member Functions

bool treeHasSelection ()
bool isMetaboliteNameUnique (const std::string &name, const CCopasiVector< CMetab > &metabolites)
Q3ListViewItem * findListViewItem (const CCopasiObject *object)
void selectObjects (std::vector< const CCopasiObject * > *objects)
std::vector< const
CCopasiObject * > * 
getTreeSelection ()
void removeEmptySubTree (Q3ListViewItem **ppSubTree)

Protected Attributes

Q3ListViewItem * mpTimeSubtree
Q3ListViewItem * mpReactionSubtree
Q3ListViewItem * mpReactionParameterSubtree
Q3ListViewItem * mpReactionFluxConcentrationSubtree
Q3ListViewItem * mpReactionFluxNumberSubtree
Q3ListViewItem * mpMetaboliteSubtree
Q3ListViewItem * mpMetaboliteTransientConcentrationSubtree
Q3ListViewItem * mpMetaboliteTransientNumberSubtree
Q3ListViewItem * mpMetaboliteInitialConcentrationSubtree
Q3ListViewItem * mpMetaboliteInitialNumberSubtree
Q3ListViewItem * mpMetaboliteRateConcentrationSubtree
Q3ListViewItem * mpMetaboliteRateNumberSubtree
Q3ListViewItem * mpModelQuantitySubtree
Q3ListViewItem * mpModelQuantityTransientValueSubtree
Q3ListViewItem * mpModelQuantityInitialValueSubtree
Q3ListViewItem * mpModelQuantityRateSubtree
Q3ListViewItem * mpCompartmentSubtree
Q3ListViewItem * mpCompartmentTransientVolumeSubtree
Q3ListViewItem * mpCompartmentInitialVolumeSubtree
Q3ListViewItem * mpCompartmentRateSubtree
Q3ListViewItem * mpExpertSubtree
Q3ListViewItem * mpModelMatrixSubtree
Q3ListViewItem * mpResultMatrixSubtree
Q3ListViewItem * mpResultSteadyStateSubtree
Q3ListViewItem * mpResultSensitivitySubtree
Q3ListViewItem * mpResultMCASubtree
std::map< Q3ListViewItem
*, const CCopasiObject * > 
treeItems
std::vector< const
CCopasiObject * > * 
mpOutputVector

Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
InitialTime 
Parameters 
Variables 
ObservedConstants 
Time 
ObservedValues 
Results 
NumericValues 
AnyObject 

Constructor & Destructor Documentation

CCopasiSimpleSelectionTree::CCopasiSimpleSelectionTree ( QWidget *  parent,
const char *  name = 0,
Qt::WFlags  fl = 0 
)
CCopasiSimpleSelectionTree::~CCopasiSimpleSelectionTree ( )

Destructor.


Member Function Documentation

void CCopasiSimpleSelectionTree::commitClicked ( ) [virtual, slot]
bool CCopasiSimpleSelectionTree::filter ( const ObjectClasses classes,
const CCopasiObject pObject 
) [static]
Q3ListViewItem * CCopasiSimpleSelectionTree::findListViewItem ( const CCopasiObject object) [protected]
std::vector< const CCopasiObject * > * CCopasiSimpleSelectionTree::getTreeSelection ( ) [protected]
bool CCopasiSimpleSelectionTree::isMetaboliteNameUnique ( const std::string &  name,
const CCopasiVector< CMetab > &  metabolites 
) [protected]
void CCopasiSimpleSelectionTree::populateTree ( const CModel pModel,
const ObjectClasses classes 
)
void CCopasiSimpleSelectionTree::removeEmptySubTree ( Q3ListViewItem **  ppSubTree) [protected]
void CCopasiSimpleSelectionTree::selectObjects ( std::vector< const CCopasiObject * > *  objects) [protected]
void CCopasiSimpleSelectionTree::setOutputVector ( std::vector< const CCopasiObject * > *  outputVector)
bool CCopasiSimpleSelectionTree::treeHasSelection ( ) [protected]

Member Data Documentation

Q3ListViewItem* CCopasiSimpleSelectionTree::mpExpertSubtree [protected]
std::vector< const CCopasiObject * >* CCopasiSimpleSelectionTree::mpOutputVector [protected]
Q3ListViewItem* CCopasiSimpleSelectionTree::mpReactionSubtree [protected]
Q3ListViewItem* CCopasiSimpleSelectionTree::mpTimeSubtree [protected]
std::map< Q3ListViewItem *, const CCopasiObject * > CCopasiSimpleSelectionTree::treeItems [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines