SyFi  0.3
Ptv.cpp File Reference
#include "Ptv.h"
#include <iostream>
#include <math.h>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const Ptv &p)

Function Documentation

ostream& operator<< ( ostream &  os,
const Ptv p 
)

Definition at line 215 of file Ptv.cpp.

References Ptv::size().

{
        if (p.size() >= 1)
        {
                os <<"[";
                for (unsigned int i=0; i< p.size()-1; i++)
                {
                        os <<p[i]<<",";
                }
                os <<p[p.size()-1]<<"]";
        }
        else
        {
                os <<"Ptv not created properly"<<endl;
        }
        return os;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator