COPASI API  4.16.103
Functions
CRDFSubject.cpp File Reference
#include "copasi.h"
#include "CRDFSubject.h"
Include dependency graph for CRDFSubject.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CRDFSubject &subject)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CRDFSubject subject 
)

Definition at line 102 of file CRDFSubject.cpp.

References CRDFSubject::BLANK_NODE, CRDFSubject::getBlankNodeID(), CRDFSubject::getResource(), CRDFSubject::getType(), and CRDFSubject::RESOURCE.

103 {
104  switch (subject.getType())
105  {
107  os << subject.getBlankNodeID();
108  break;
110  os << subject.getResource();
111  break;
112  }
113 
114  return os;
115 }
const std::string & getResource() const
Definition: CRDFSubject.cpp:82
const std::string & getBlankNodeID() const
Definition: CRDFSubject.cpp:91
const eSubjectType & getType() const
Definition: CRDFSubject.cpp:73