COPASI API  4.16.103
Functions
CCopasiMethod.cpp File Reference
#include "copasi/copasi.h"
#include "copasi/utilities//CCopasiMethod.h"
#include "copasi/utilities/CCopasiMessage.h"
#include "copasi/utilities/CCopasiProblem.h"
#include "copasi/model/CModel.h"
Include dependency graph for CCopasiMethod.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

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

Output stream operator

Parameters
ostream& os
constCCopasiMethod & A
Returns
ostream & os

Definition at line 227 of file CCopasiMethod.cpp.

References CCopasiObject::getObjectName(), and CCopasiMethod::print().

228 {
229  os << "Method: " << o.getObjectName() << std::endl;
230 
231  CCopasiParameterGroup::parameterGroup::const_iterator it =
232  o.CCopasiParameter::getValue().pGROUP->begin();
233  CCopasiParameterGroup::parameterGroup::const_iterator end =
234  o.CCopasiParameter::getValue().pGROUP->end();
235 
236  for (; it != end; ++it)
237  {
238  (*it)->print(&os);
239  os << std::endl;
240  }
241 
242  return os;
243 }
const std::string & getObjectName() const
virtual void print(std::ostream *ostream) const