COPASI API  4.16.103
Functions
CState.cpp File Reference
#include <string.h>
#include <cmath>
#include "copasi.h"
#include "CState.h"
#include "CModelValue.h"
#include "CModel.h"
Include dependency graph for CState.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CState &s)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CState s 
)

Definition at line 398 of file CState.cpp.

References C_FLOAT64, CState::mpEnd, and CState::mpValues.

399 {
400  os << "(";
401 
402  const C_FLOAT64 * pValue = s.mpValues;
403 
404  for (; pValue != s.mpEnd; ++pValue)
405  {
406  os << "\t" << *pValue;
407  }
408 
409  os << "\t)";
410 
411  return os;
412 }
C_FLOAT64 * mpEnd
Definition: CState.h:495
#define C_FLOAT64
Definition: copasi.h:92
C_FLOAT64 * mpValues
Definition: CState.h:470