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

Go to the source code of this file.

Classes

class  CRDFObject
 

Functions

std::ostream & operator<< (std::ostream &os, const CRDFObject &object)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CRDFObject object 
)

Definition at line 137 of file CRDFObject.cpp.

References CRDFObject::BLANK_NODE, CRDFObject::LITERAL, and CRDFObject::RESOURCE.

138 {
139  switch (object.getType())
140  {
142  os << object.getBlankNodeID();
143  break;
144 
146  os << object.getResource();
147  break;
148 
149  case CRDFObject::LITERAL:
150  os << object.getLiteral();
151  break;
152  }
153 
154  return os;
155 }