COPASI API  4.40.278
CReactionResult Class Reference

#include <CModelAnalyzer.h>

Public Member Functions

 CReactionResult ()
 
const std::string & getName () const
 
std::string getResultString (bool rt, bool verbose) const
 
bool hasIssue () const
 
bool writeResult (std::ostream &os, bool rt, bool verbose, bool writeToStream=true) const
 
virtual ~CReactionResult ()
 

Protected Attributes

std::vector< std::string > mChemEqMods
 
std::vector< std::string > mChemEqProds
 
std::vector< std::string > mChemEqSubs
 
std::vector< std::string > mFunctionParametersMods
 
std::vector< std::string > mFunctionParametersParams
 
std::vector< std::string > mFunctionParametersProds
 
std::vector< std::string > mFunctionParametersSubs
 
std::vector< std::string > mFunctionParametersTime
 
std::vector< std::string > mFunctionParametersVar
 
std::vector< std::string > mFunctionParametersVol
 
CFunctionAnalyzer::Result mFunctionResult
 
bool mKineticUnspecifiedReversibility
 
std::vector< std::string > mNotMetabolite
 
std::string mReactionName
 
bool mReversibilityMismatch
 

Friends

class CModelAnalyzer
 

Constructor & Destructor Documentation

◆ CReactionResult()

CReactionResult::CReactionResult ( )

◆ ~CReactionResult()

CReactionResult::~CReactionResult ( )
virtual

Member Function Documentation

◆ getName()

const std::string & CReactionResult::getName ( ) const
Returns
the name of the reaction for this result

References mReactionName.

◆ getResultString()

std::string CReactionResult::getResultString ( bool  rt,
bool  verbose 
) const
Parameters
rtuse html wrapping / colors
verboseadd more information
Returns
the string representation of the result

References writeResult().

◆ hasIssue()

bool CReactionResult::hasIssue ( ) const
Returns
true, if the analysis showed there was an issue with the reaction false otherwise

References writeResult().

◆ writeResult()

bool CReactionResult::writeResult ( std::ostream &  os,
bool  rt,
bool  verbose,
bool  writeToStream = true 
) const

writes a text report about the function to the stream. The return value indicates if a problem was reported.

Parameters
rtuse html wrapping / colors
verboseadd more information
writeToStreamboolean indicating whether results should be written to stream (default), or only checked whether there was an issue
Returns
boolean indicating whether there was an issue or not

References mChemEqMods, mChemEqProds, mChemEqSubs, mFunctionParametersMods, mFunctionParametersParams, mFunctionParametersProds, mFunctionParametersSubs, mFunctionParametersTime, mFunctionParametersVar, mFunctionParametersVol, mFunctionResult, mKineticUnspecifiedReversibility, mNotMetabolite, mReactionName, mReversibilityMismatch, CFunctionAnalyzer::write(), and CFunctionAnalyzer::Result::writeResult().

Referenced by getResultString(), and hasIssue().

Friends And Related Function Documentation

◆ CModelAnalyzer

friend class CModelAnalyzer
friend

Member Data Documentation

◆ mChemEqMods

std::vector<std::string> CReactionResult::mChemEqMods
protected

◆ mChemEqProds

std::vector<std::string> CReactionResult::mChemEqProds
protected

◆ mChemEqSubs

std::vector<std::string> CReactionResult::mChemEqSubs
protected

◆ mFunctionParametersMods

std::vector<std::string> CReactionResult::mFunctionParametersMods
protected

◆ mFunctionParametersParams

std::vector<std::string> CReactionResult::mFunctionParametersParams
protected

◆ mFunctionParametersProds

std::vector<std::string> CReactionResult::mFunctionParametersProds
protected

◆ mFunctionParametersSubs

std::vector<std::string> CReactionResult::mFunctionParametersSubs
protected

◆ mFunctionParametersTime

std::vector<std::string> CReactionResult::mFunctionParametersTime
protected

◆ mFunctionParametersVar

std::vector<std::string> CReactionResult::mFunctionParametersVar
protected

◆ mFunctionParametersVol

std::vector<std::string> CReactionResult::mFunctionParametersVol
protected

◆ mFunctionResult

CFunctionAnalyzer::Result CReactionResult::mFunctionResult
protected

◆ mKineticUnspecifiedReversibility

bool CReactionResult::mKineticUnspecifiedReversibility
protected

◆ mNotMetabolite

std::vector<std::string> CReactionResult::mNotMetabolite
protected

◆ mReactionName

std::string CReactionResult::mReactionName
protected

◆ mReversibilityMismatch

bool CReactionResult::mReversibilityMismatch
protected

The documentation for this class was generated from the following files: