COPASI API  4.16.103
Classes | Functions
CCopasiVector.h File Reference
#include <vector>
#include <string>
#include <iostream>
#include "utilities/CCopasiMessage.h"
#include "utilities/utility.h"
#include "report/CCopasiObjectName.h"
#include "report/CCopasiContainer.h"
Include dependency graph for CCopasiVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CCopasiVector< T >
 
class  CCopasiVector< T >
 
class  CCopasiVectorN< CType >
 
class  CCopasiVectorNS< CType >
 
class  CCopasiVectorS< CType >
 

Functions

template<class CType >
std::ostream & operator<< (std::ostream &os, const CCopasiVector< CType > &d)
 

Function Documentation

template<class CType >
std::ostream & operator<< ( std::ostream &  os,
const CCopasiVector< CType > &  d 
)

ostream operator

Parameters
std::ostream& os
constCCopasiVector<CType> & d
Returns
std::ostream & os

Definition at line 870 of file CCopasiVector.h.

871 {
872  os << " +++Vektor; size: " << d.size() << std::endl;
873 
874  unsigned int i;
875 
876  for (i = 0; i < d.size(); i++)
877  os << " " << *(d[i]);
878 
879  if (d.size() == 0)
880  os << " empty" << std::endl;
881 
882  os << " ---Vektor" << std::endl;
883 
884  return os;
885 }
virtual size_t size() const