Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

path.C File Reference

#include "path.h"

Go to the source code of this file.

Functions

ostream& operator<< (ostream &os, const Path &path)


Function Documentation

ostream & operator<< ( ostream & os,
const Path & path )
 

Definition at line 50 of file path.C.

00050                                          {
00051 // E.g. <"","a","b"> is printed as "/a/b".
00052 for (unsigned int j=0; j<path.size() ; ++j) {
00053   if ((j>0)||(path.size()==1))
00054     os << "/";
00055   os << path[j];
00056   }
00057 return os;
00058 }


httpstats-stage02a [ 7 April, 2001]