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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CRDFPredicate &p)
 
std::ostream & operator<< (std::ostream &os, const CRDFPredicate::Path &path)
 
std::ostream & operator<< (std::ostream &os, const CRDFPredicate::sAllowedLocation &location)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CRDFPredicate p 
)

Friend declaration of ostream operator

Parameters
std::ostream& os
constCRDFPredicate & p
Returns
std::ostream & os

Definition at line 611 of file CRDFPredicate.cpp.

References CRDFPredicate::mType.

612 {
613  os << p.mType;
614  return os;
615 }
ePredicateType mType
std::ostream& operator<< ( std::ostream &  os,
const CRDFPredicate::Path path 
)

Definition at line 714 of file CRDFPredicate.cpp.

715 {
716  os << "Path: ";
717  std::vector< CRDFPredicate::ePredicateType >::const_iterator it = path.begin();
718  std::vector< CRDFPredicate::ePredicateType >::const_iterator end = path.end();
719 
720  for (; it != end; ++it)
721  os << *it << " ";
722 
723  return os << std::endl;
724 }
std::ostream& operator<< ( std::ostream &  os,
const CRDFPredicate::sAllowedLocation location 
)

Definition at line 726 of file CRDFPredicate.cpp.

References CRDFPredicate::sAllowedLocation::Location, CRDFPredicate::sAllowedLocation::MaxOccurance, CRDFPredicate::sAllowedLocation::ReadOnly, and CRDFPredicate::sAllowedLocation::Type.

727 {
728  os << "MaxOccurance: " << location.MaxOccurance << std::endl;
729  os << "ReadOnly: " << location.ReadOnly << std::endl;
730  os << "Type: " << location.Type << std::endl;
731  os << location.Location << std::endl;
732 
733  return os;
734 }
CRDFObject::eObjectType Type
Definition: CRDFPredicate.h:98