COPASI API  4.16.103
Classes | Functions
CMathEnum.h File Reference
#include <map>
#include <vector>
Include dependency graph for CMathEnum.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMath::CAllocationStack::CAllocation
 
class  CMath::CAllocationStack
 
class  CMath
 
class  CMathFlags< Enum >
 
class  CMath::CVariableStack
 
struct  CMath::sPointers
 
class  CMath::Variables< Type >
 

Functions

std::ostream & operator<< (std::ostream &os, const CMath::CVariableStack &s)
 
std::ostream & operator<< (std::ostream &os, const CMath::CAllocationStack::CAllocation &s)
 

Function Documentation

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

Definition at line 81 of file CMathEnum.cpp.

References CMath::CVariableStack::Body, CMath::CVariableStack::mBodyLevel, CMath::CVariableStack::mContext, CMath::CVariableStack::mVariableLevel, and CMath::CVariableStack::Variable.

82 {
83  switch (s.mContext)
84  {
86  os << "Context: variable ";
87  break;
88 
90  os << "Context: body ";
91  break;
92  }
93 
94  os << "Variable Level: " << s.mVariableLevel << " Body Level: " << s.mBodyLevel;
95 
96  return os;
97 }
std::ostream& operator<< ( std::ostream &  os,
const CMath::CAllocationStack::CAllocation s 
)

Definition at line 200 of file CMathEnum.cpp.

References CMath::CAllocationStack::CAllocation::nDiscontinuous.

201 {
202  os << "Discontinuities: " << s.nDiscontinuous;
203  return os;
204 }