COPASI API  4.16.103
Macros | Functions
CMetab.cpp File Reference
#include <iostream>
#include <string>
#include <vector>
#include <limits>
#include "copasi.h"
#include "CopasiDataModel/CCopasiDataModel.h"
#include "utilities/utility.h"
#include "report/CKeyFactory.h"
#include "CCompartment.h"
#include "CModel.h"
#include "CMetab.h"
#include "CMetabNameInterface.h"
#include "function/CExpression.h"
#include "report/CCopasiRootContainer.h"
Include dependency graph for CMetab.cpp:

Go to the source code of this file.

Macros

#define METAB_MOIETY   7
 

Functions

std::ostream & operator<< (std::ostream &os, const CMetab &d)
 

Macro Definition Documentation

#define METAB_MOIETY   7

Definition at line 32 of file CMetab.cpp.

Referenced by CMetab::load(), and CMetabOld::load().

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CMetab d 
)

ostream operator

Definition at line 900 of file CMetab.cpp.

References CCopasiObject::getObjectName(), CModelEntity::getStatus(), CMetab::mConc, CMetab::mIConc, CMetab::mpCompartment, CModelEntity::mpIValue, CModelEntity::mpModel, CModelEntity::mpValue, CModelEntity::mRate, and CMetab::mTT.

901 {
902  os << " ++++CMetab: " << d.getObjectName() << std::endl;
903  os << " mConc " << d.mConc << " mIConc " << d.mIConc << std::endl;
904  os << " mValue (particle number) " << *d.mpValue << " mIValue " << *d.mpIValue << std::endl;
905  os << " mRate " << d.mRate << " mTT " << d.mTT << " mStatus " << d.getStatus() << std::endl;
906 
907  if (d.mpCompartment)
908  os << " mpCompartment == " << d.mpCompartment << std::endl;
909  else
910  os << " mpCompartment == 0 " << std::endl;
911 
912  if (d.mpModel)
913  os << " mpModel == " << d.mpModel << std::endl;
914  else
915  os << " mpModel == 0 " << std::endl;
916 
917  os << " ----CMetab " << std::endl;
918 
919  return os;
920 }
const std::string & getObjectName() const
C_FLOAT64 mTT
Definition: CMetab.h:226
C_FLOAT64 mRate
Definition: CModelValue.h:331
C_FLOAT64 * mpValue
Definition: CModelValue.h:321
C_FLOAT64 mConc
Definition: CMetab.h:211
C_FLOAT64 * mpIValue
Definition: CModelValue.h:326
const CCompartment * mpCompartment
Definition: CMetab.h:232
C_FLOAT64 mIConc
Definition: CMetab.h:216
const CModelEntity::Status & getStatus() const
CModel * mpModel
Definition: CModelValue.h:359