COPASI API  4.16.103
Functions
CCopasiProblem.cpp File Reference
#include "copasi.h"
#include "CCopasiProblem.h"
#include "model/CMetab.h"
#include "model/CModel.h"
#include "CopasiDataModel/CCopasiDataModel.h"
#include "CCopasiVector.h"
Include dependency graph for CCopasiProblem.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CCopasiProblem &o)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCopasiProblem o 
)

Output stream operator

Parameters
ostream& os
constCCopasiProblem & A
Returns
ostream & os

Definition at line 90 of file CCopasiProblem.cpp.

References CCopasiProblem::print().

91 {
92  os << "Problem Description:" << std::endl;
93 
94  CCopasiParameterGroup::parameterGroup::const_iterator it =
95  o.CCopasiParameter::getValue().pGROUP->begin();
96  CCopasiParameterGroup::parameterGroup::const_iterator end =
97  o.CCopasiParameter::getValue().pGROUP->end();
98 
99  for (; it != end; ++it)
100  {
101  (*it)->print(&os);
102  os << std::endl;
103  }
104 
105  return os;
106 }
virtual void print(std::ostream *ostream) const