COPASI API  4.16.103
Functions
CChemEq.cpp File Reference
#include <cmath>
#include "copasi.h"
#include "CChemEq.h"
#include "utilities/CReadConfig.h"
#include "utilities/CCopasiVector.h"
#include "CMetabNameInterface.h"
#include "CCompartment.h"
Include dependency graph for CChemEq.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

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

Friend declaration for ostream operator

Parameters
std::ostream& os
constCChemEq & d
Returns
std::ostream & os

Definition at line 242 of file CChemEq.cpp.

References CChemEq::mBalances, CChemEq::mProducts, and CChemEq::mSubstrates.

243 {
244  os << "CChemEq:" << std::endl;
245  //os << " mChemicalEquation: " << d.getChemicalEquation() << std::endl;
246  //os << " mChemicalEquationConverted: " << d.getChemicalEquationConverted() << std::endl;
247 
248  os << " mSubstrates:" << std::endl;
249  os << d.mSubstrates;
250  os << " mProducts:" << std::endl;
251  os << d.mProducts;
252  os << " mBalances:" << std::endl;
253  os << d.mBalances;
254 
255  os << "----CChemEq" << std::endl;
256  return os;
257 }
CCopasiVector< CChemEqElement > mProducts
Definition: CChemEq.h:204
CCopasiVector< CChemEqElement > mSubstrates
Definition: CChemEq.h:197
CCopasiVector< CChemEqElement > mBalances
Definition: CChemEq.h:216