COPASI API  4.16.103
Functions
CFunctionParameters.cpp File Reference
#include "copasi.h"
#include "CFunctionParameters.h"
#include "utilities/CCopasiException.h"
Include dependency graph for CFunctionParameters.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

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

insert operator

Definition at line 198 of file CFunctionParameters.cpp.

References CFunctionParameters::mParameters, and CCopasiVector< T >::size().

199 {
200  //os << "++++CFunctionParameters: " << std::endl;
201  //os << " CFunctionParameters.mParameters " << std::endl << d.mParameters;
202  //os << "----CFunctionParameters " << std::endl;
203 
204  size_t i, imax = d.mParameters.size();
205 
206  for (i = 0; i < imax; ++i)
207  {
208  if (0 == i)
209  os << " (";
210  else
211  os << " ";
212 
213  os << *d.mParameters[i];
214 
215  if (imax - 1 == i)
216  os << ")\n";
217  else
218  os << ",\n";
219  }
220 
221  return os;
222 }
virtual size_t size() const
CCopasiVectorNS< CFunctionParameter > mParameters