COPASI API  4.16.103
Functions
CFunction.cpp File Reference
#include <algorithm>
#include "copasi.h"
#include "CFunction.h"
#include "CFunctionDB.h"
#include "report/CCopasiRootContainer.h"
#include "utilities/copasimathml.h"
#include "CFunctionAnalyzer.h"
Include dependency graph for CFunction.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CFunction &f)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CFunction f 
)

Insert operator

Definition at line 410 of file CFunction.cpp.

References CEvaluationTree::getInfix(), CCopasiObject::getObjectName(), CFunction::mReversible, CFunction::mVariables, TriFalse, and TriUnspecified.

411 {
412  os << "CFunction: " << f.getObjectName() << " ";
413 
414  if (f.mReversible == TriUnspecified)
415  os << "(general)";
416  else if (f.mReversible == TriFalse)
417  os << "(irreversible)";
418  else
419  os << "(reversible)";
420 
421  os << std::endl;
422  os << f.mVariables;
423  os << f.getInfix() << std::endl;
424 
425  return os;
426 }
CFunctionParameters mVariables
Definition: CFunction.h:210
const std::string & getObjectName() const
TriLogic mReversible
Definition: CFunction.h:220
const std::string & getInfix() const