COPASI API  4.16.103
Functions
CCopasiObject.cpp File Reference
#include <sstream>
#include <algorithm>
#include "copasi/copasi.h"
#include "copasi/report/CCopasiObjectName.h"
#include "copasi/report/CCopasiObject.h"
#include "copasi/report/CCopasiContainer.h"
#include "copasi/report/CCopasiStaticString.h"
#include "copasi/report/CRenameHandler.h"
#include "copasi/utilities/CCopasiVector.h"
#include "copasi/model/CModelValue.h"
#include "copasi/model/CModel.h"
#include "copasi/CopasiDataModel/CCopasiDataModel.h"
#include "copasi/report/CCopasiRootContainer.h"
#include "copasi/function/CFunctionDB.h"
Include dependency graph for CCopasiObject.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CCopasiObject &o)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCopasiObject o 
)

Definition at line 645 of file CCopasiObject.cpp.

References CCopasiObject::getObjectDisplayName(), CCopasiObject::getObjectType(), CCopasiObject::isContainer(), CCopasiObject::isMatrix(), CCopasiObject::isNameVector(), CCopasiObject::isReference(), CCopasiObject::isValueBool(), CCopasiObject::isValueDbl(), CCopasiObject::isValueInt(), and CCopasiObject::isVector().

646 {
647  os << "Name: " << o.getObjectDisplayName() << std::endl;
648  os << "Type: " << o.getObjectType() << std::endl;
649  os << "Container: " << o.isContainer() << std::endl;
650  os << "Vector: " << o.isVector() << std::endl;
651  os << "VectorN: " << o.isNameVector() << std::endl;
652  os << "Matrix: " << o.isMatrix() << std::endl;
653  os << "Reference: " << o.isReference() << std::endl;
654  os << "Bool: " << o.isValueBool() << std::endl;
655  os << "Int: " << o.isValueInt() << std::endl;
656  os << "Dbl: " << o.isValueDbl() << std::endl;
657 
658  return os;
659 }
bool isContainer() const
bool isValueInt() const
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
bool isNameVector() const
const std::string & getObjectType() const
bool isMatrix() const
bool isReference() const
bool isValueBool() const
bool isVector() const
bool isValueDbl() const